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

public class GrantCoreHierarchyText extends VdmEntity<GrantCoreHierarchyText>
Grant Hierarchy Text

Original entity name from the Odata EDM: A_GrantCoreHierarchyText_Type

  • Field Details

    • ALL_FIELDS

      public static final GrantCoreHierarchyTextSelectable ALL_FIELDS
      Selector for all available fields of GrantCoreHierarchyText.
    • GRANT_HIERARCHY

      public static final GrantCoreHierarchyTextField<String> GRANT_HIERARCHY
      Use with available fluent helpers to apply the GrantHierarchy field to query operations.
    • VALIDITY_END_DATE

      public static final GrantCoreHierarchyTextField<LocalDateTime> VALIDITY_END_DATE
      Use with available fluent helpers to apply the ValidityEndDate field to query operations.
    • LANGUAGE

      public static final GrantCoreHierarchyTextField<String> LANGUAGE
      Use with available fluent helpers to apply the Language field to query operations.
    • VALIDITY_START_DATE

      public static final GrantCoreHierarchyTextField<LocalDateTime> VALIDITY_START_DATE
      Use with available fluent helpers to apply the ValidityStartDate field to query operations.
    • GRANT_HIERARCHY_NAME

      public static final GrantCoreHierarchyTextField<String> GRANT_HIERARCHY_NAME
      Use with available fluent helpers to apply the GrantHierarchyName field to query operations.
  • Constructor Details

    • GrantCoreHierarchyText

      public GrantCoreHierarchyText()
    • GrantCoreHierarchyText

      public GrantCoreHierarchyText(@Nullable String grantHierarchy, @Nullable LocalDateTime validityEndDate, @Nullable String language, @Nullable LocalDateTime validityStartDate, @Nullable String grantHierarchyName)
  • Method Details

    • getType

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

      public void setGrantHierarchy(@Nullable String grantHierarchy)
      (Key Field) Constraints: Not nullable, Maximum length: 42

      Original property name from the Odata EDM: GrantHierarchy

      Parameters:
      grantHierarchy - Grant Hierarchy
    • setValidityEndDate

      public void setValidityEndDate(@Nullable LocalDateTime validityEndDate)
      (Key Field) Constraints: Not nullable, Precision: 0

      Original property name from the Odata EDM: ValidityEndDate

      Parameters:
      validityEndDate - Validity End Date
    • setLanguage

      public void setLanguage(@Nullable String language)
      (Key Field) Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: Language

      Parameters:
      language - Language Key
    • setValidityStartDate

      public void setValidityStartDate(@Nullable LocalDateTime validityStartDate)
      Constraints: Not nullable, Precision: 0

      Original property name from the Odata EDM: ValidityStartDate

      Parameters:
      validityStartDate - Validity Start Date
    • setGrantHierarchyName

      public void setGrantHierarchyName(@Nullable String grantHierarchyName)
      Constraints: Not nullable, Maximum length: 50

      Original property name from the Odata EDM: GrantHierarchyName

      Parameters:
      grantHierarchyName - Hierarchy description
    • getEntityCollection

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

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

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

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

      @Nonnull public static <T> GrantCoreHierarchyTextField<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> GrantCoreHierarchyTextField<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<GrantCoreHierarchyText>
    • setServicePathForFetch

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

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

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

      @Nonnull public static GrantCoreHierarchyText.GrantCoreHierarchyTextBuilder builder()
    • getGrantHierarchy

      @Nullable public String getGrantHierarchy()
      (Key Field) Constraints: Not nullable, Maximum length: 42

      Original property name from the Odata EDM: GrantHierarchy

      Returns:
      Grant Hierarchy
    • getValidityEndDate

      @Nullable public LocalDateTime getValidityEndDate()
      (Key Field) Constraints: Not nullable, Precision: 0

      Original property name from the Odata EDM: ValidityEndDate

      Returns:
      Validity End Date
    • getLanguage

      @Nullable public String getLanguage()
      (Key Field) Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: Language

      Returns:
      Language Key
    • getValidityStartDate

      @Nullable public LocalDateTime getValidityStartDate()
      Constraints: Not nullable, Precision: 0

      Original property name from the Odata EDM: ValidityStartDate

      Returns:
      Validity Start Date
    • getGrantHierarchyName

      @Nullable public String getGrantHierarchyName()
      Constraints: Not nullable, Maximum length: 50

      Original property name from the Odata EDM: GrantHierarchyName

      Returns:
      Hierarchy description
    • toString

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

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

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

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