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

public class ChartOfAccounts extends VdmEntity<ChartOfAccounts>
Chart of Accounts (Master Data)

Original entity name from the Odata EDM: ChartOfAccounts

  • Field Details

    • ALL_FIELDS

      public static final ChartOfAccountsSelectable ALL_FIELDS
      Selector for all available fields of ChartOfAccounts.
    • CHART_OF_ACCOUNTS_ID

      public static final ChartOfAccountsField<String> CHART_OF_ACCOUNTS_ID
      Use with available fluent helpers to apply the ChartOfAccounts_ID field to query operations.
    • CHART_OF_ACCOUNTS_TEXT

      public static final ChartOfAccountsField<String> CHART_OF_ACCOUNTS_TEXT
      Use with available fluent helpers to apply the ChartOfAccountsText field to query operations.
  • Constructor Details

    • ChartOfAccounts

      public ChartOfAccounts()
    • ChartOfAccounts

      public ChartOfAccounts(@Nullable String chartOfAccounts_ID, @Nullable String chartOfAccountsText)
  • Method Details

    • getType

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

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

      Original property name from the Odata EDM: ChartOfAccounts_ID

      Parameters:
      chartOfAccounts_ID - Chart of Accounts
    • setChartOfAccountsText

      public void setChartOfAccountsText(@Nullable String chartOfAccountsText)
      Constraints: none

      Original property name from the Odata EDM: ChartOfAccountsText

      Parameters:
      chartOfAccountsText - Chart of Accounts (Description)
    • getEntityCollection

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

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

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

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

      @Nonnull public static <T> ChartOfAccountsField<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> ChartOfAccountsField<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<ChartOfAccounts>
    • setServicePathForFetch

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

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

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

      @Nonnull public static ChartOfAccounts.ChartOfAccountsBuilder builder()
    • getChartOfAccounts_ID

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

      Original property name from the Odata EDM: ChartOfAccounts_ID

      Returns:
      Chart of Accounts
    • getChartOfAccountsText

      @Nullable public String getChartOfAccountsText()
      Constraints: none

      Original property name from the Odata EDM: ChartOfAccountsText

      Returns:
      Chart of Accounts (Description)
    • toString

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

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

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

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