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.

public final class VdmEntityUtil<EntityT extends VdmEntity<?>> extends Object
Utility class to manage OData entity deserialization.
  • Constructor Details

    • VdmEntityUtil

      public VdmEntityUtil(Class<EntityT> entityClass)
  • 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.