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

public class GLAccountHierarchy extends VdmEntity<GLAccountHierarchy>
G/L Account (Master Data)

Original entity name from the Odata EDM: GLAccountHierarchy

  • Field Details

    • ALL_FIELDS

      public static final GLAccountHierarchySelectable ALL_FIELDS
      Selector for all available fields of GLAccountHierarchy.
    • GL_ACCOUNT_HIERARCHY_ID

      public static final GLAccountHierarchyField<String> GL_ACCOUNT_HIERARCHY_ID
      Use with available fluent helpers to apply the GLAccountHierarchy_ID field to query operations.
    • GL_ACCOUNT_HIERARCHY_TEXT

      public static final GLAccountHierarchyField<String> GL_ACCOUNT_HIERARCHY_TEXT
      Use with available fluent helpers to apply the GLAccountHierarchyText field to query operations.
    • CHART_OF_ACCOUNTS

      public static final GLAccountHierarchyField<String> CHART_OF_ACCOUNTS
      Use with available fluent helpers to apply the ChartOfAccounts field to query operations.
  • Constructor Details

    • GLAccountHierarchy

      public GLAccountHierarchy()
    • GLAccountHierarchy

      public GLAccountHierarchy(@Nullable String gLAccountHierarchy_ID, @Nullable String gLAccountHierarchyText, @Nullable String chartOfAccounts)
  • Method Details

    • getType

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

      public void setGLAccountHierarchy_ID(@Nullable String gLAccountHierarchy_ID)
      (Key Field) Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: GLAccountHierarchy_ID

      Parameters:
      gLAccountHierarchy_ID - G/L Account
    • setGLAccountHierarchyText

      public void setGLAccountHierarchyText(@Nullable String gLAccountHierarchyText)
      Constraints: none

      Original property name from the Odata EDM: GLAccountHierarchyText

      Parameters:
      gLAccountHierarchyText - G/L Account (Description)
    • setChartOfAccounts

      public void setChartOfAccounts(@Nullable String chartOfAccounts)
      (Key Field) Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: ChartOfAccounts

      Parameters:
      chartOfAccounts - G/L Account (Chart of Accounts)
    • getEntityCollection

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

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

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

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

      @Nonnull public static <T> GLAccountHierarchyField<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> GLAccountHierarchyField<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<GLAccountHierarchy>
    • setServicePathForFetch

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

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

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

      @Nonnull public static GLAccountHierarchy.GLAccountHierarchyBuilder builder()
    • getGLAccountHierarchy_ID

      @Nullable public String getGLAccountHierarchy_ID()
      (Key Field) Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: GLAccountHierarchy_ID

      Returns:
      G/L Account
    • getGLAccountHierarchyText

      @Nullable public String getGLAccountHierarchyText()
      Constraints: none

      Original property name from the Odata EDM: GLAccountHierarchyText

      Returns:
      G/L Account (Description)
    • getChartOfAccounts

      @Nullable public String getChartOfAccounts()
      (Key Field) Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: ChartOfAccounts

      Returns:
      G/L Account (Chart of Accounts)
    • toString

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

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

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

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