Class VdmEntityUtil<EntityT extends VdmEntity<?>>
java.lang.Object
com.sap.cloud.sdk.datamodel.odata.helper.VdmEntityUtil<EntityT>
- Type Parameters:
EntityT
- Entity type to create new instances from.
Utility class to manage OData entity deserialization.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic <EntityT> Class<EntityT>
getEntityClass
(FluentHelperBasic<?, ?, ?> fluentHelper) Helper method to resolve the expected entity type for the provided fluent helper instance.
-
Constructor Details
-
VdmEntityUtil
-
-
Method Details
-
getEntityClass
@Nonnull public static <EntityT> Class<EntityT> getEntityClass(@Nonnull FluentHelperBasic<?, ?, ?> fluentHelper) Helper method to resolve the expected entity type for the provided fluent helper instance. For internal use.- Type Parameters:
EntityT
- The generic entity type.- Parameters:
fluentHelper
- The fluent helper instance to resolve the entity type for.- Returns:
- The entity type.
-