java.lang.Object
com.sap.cloud.sdk.datamodel.odata.helper.VdmObject<EntityT>
com.sap.cloud.sdk.datamodel.odata.helper.VdmEntity<GrantID>
com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.trialbalance.GrantID

public class GrantID extends VdmEntity<GrantID>
Grant

Original entity name from the Odata EDM: GrantID

  • Field Details

    • ALL_FIELDS

      public static final GrantIDSelectable ALL_FIELDS
      Selector for all available fields of GrantID.
    • GRANT_ID

      public static final GrantIDField<String> GRANT_ID
      Use with available fluent helpers to apply the GrantID field to query operations.
    • GRANT_ID_TEXT

      public static final GrantIDField<String> GRANT_ID_TEXT
      Use with available fluent helpers to apply the GrantIDText field to query operations.
  • Constructor Details

    • GrantID

      public GrantID()
    • GrantID

      public GrantID(@Nullable String grantID, @Nullable String grantIDText)
  • Method Details

    • getType

      @Nonnull public Class<GrantID> getType()
      Specified by:
      getType in class VdmObject<GrantID>
    • setGrantID

      public void setGrantID(@Nullable String grantID)
      (Key Field) Constraints: Not nullable

      Original property name from the Odata EDM: GrantID

      Parameters:
      grantID - Grant
    • setGrantIDText

      public void setGrantIDText(@Nullable String grantIDText)
      Constraints: Not nullable, Maximum length: 60

      Original property name from the Odata EDM: GrantIDText

      Parameters:
      grantIDText - Grant (Description)
    • getEntityCollection

      protected String getEntityCollection()
      Specified by:
      getEntityCollection in class VdmEntity<GrantID>
    • getKey

      @Nonnull protected Map<String,Object> getKey()
      Overrides:
      getKey in class VdmObject<GrantID>
    • toMapOfFields

      @Nonnull protected Map<String,Object> toMapOfFields()
      Overrides:
      toMapOfFields in class VdmObject<GrantID>
    • fromMap

      protected void fromMap(Map<String,Object> inputValues)
      Overrides:
      fromMap in class VdmObject<GrantID>
    • field

      @Nonnull public static <T> GrantIDField<T> field(@Nonnull String fieldName, @Nonnull Class<T> fieldType)
      Use with available fluent helpers to apply an extension field to query operations.
      Type Parameters:
      T - The type of the extension field when performing value comparisons.
      Parameters:
      fieldName - The name of the extension field as returned by the OData service.
      fieldType - The Java type to use for the extension field when performing value comparisons.
      Returns:
      A representation of an extension field from this entity.
    • field

      @Nonnull public static <T, DomainT> GrantIDField<T> field(@Nonnull String fieldName, @Nonnull TypeConverter<T,DomainT> typeConverter)
      Use with available fluent helpers to apply an extension field to query operations.
      Type Parameters:
      T - The type of the extension field when performing value comparisons.
      DomainT - The type of the extension field as returned by the OData service.
      Parameters:
      typeConverter - A TypeConverter<T, DomainT> instance whose first generic type matches the Java type of the field
      fieldName - The name of the extension field as returned by the OData service.
      Returns:
      A representation of an extension field from this entity, holding a reference to the given TypeConverter.
    • getDestinationForFetch

      @Nullable public HttpDestinationProperties getDestinationForFetch()
      Overrides:
      getDestinationForFetch in class VdmEntity<GrantID>
    • setServicePathForFetch

      protected void setServicePathForFetch(@Nullable String servicePathForFetch)
      Overrides:
      setServicePathForFetch in class VdmEntity<GrantID>
    • attachToService

      public void attachToService(@Nullable String servicePath, @Nonnull HttpDestinationProperties destination)
      Overrides:
      attachToService in class VdmEntity<GrantID>
    • getDefaultServicePath

      protected String getDefaultServicePath()
      Overrides:
      getDefaultServicePath in class VdmEntity<GrantID>
    • builder

      @Nonnull public static GrantID.GrantIDBuilder builder()
    • getGrantID

      @Nullable public String getGrantID()
      (Key Field) Constraints: Not nullable

      Original property name from the Odata EDM: GrantID

      Returns:
      Grant
    • getGrantIDText

      @Nullable public String getGrantIDText()
      Constraints: Not nullable, Maximum length: 60

      Original property name from the Odata EDM: GrantIDText

      Returns:
      Grant (Description)
    • toString

      @Nonnull public String toString()
      Overrides:
      toString in class VdmObject<GrantID>
    • equals

      public boolean equals(@Nullable Object o)
      Overrides:
      equals in class VdmEntity<GrantID>
    • canEqual

      protected boolean canEqual(@Nullable Object other)
      Overrides:
      canEqual in class VdmEntity<GrantID>
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class VdmEntity<GrantID>