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

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

Original entity name from the Odata EDM: AlternativeGLAccount

  • Field Details

    • ALL_FIELDS

      public static final AlternativeGLAccountSelectable ALL_FIELDS
      Selector for all available fields of AlternativeGLAccount.
    • ALTERNATIVE_GL_ACCOUNT_ID

      public static final AlternativeGLAccountField<String> ALTERNATIVE_GL_ACCOUNT_ID
      Use with available fluent helpers to apply the AlternativeGLAccount_ID field to query operations.
    • ALTERNATIVE_GL_ACCOUNT_TEXT

      public static final AlternativeGLAccountField<String> ALTERNATIVE_GL_ACCOUNT_TEXT
      Use with available fluent helpers to apply the AlternativeGLAccountText field to query operations.
    • COUNTRY_CHART_OF_ACCOUNTS

      public static final AlternativeGLAccountField<String> COUNTRY_CHART_OF_ACCOUNTS
      Use with available fluent helpers to apply the CountryChartOfAccounts field to query operations.
  • Constructor Details

    • AlternativeGLAccount

      public AlternativeGLAccount()
    • AlternativeGLAccount

      public AlternativeGLAccount(@Nullable String alternativeGLAccount_ID, @Nullable String alternativeGLAccountText, @Nullable String countryChartOfAccounts)
  • Method Details

    • getType

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

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

      Original property name from the Odata EDM: AlternativeGLAccount_ID

      Parameters:
      alternativeGLAccount_ID - Alternative G/L Account
    • setAlternativeGLAccountText

      public void setAlternativeGLAccountText(@Nullable String alternativeGLAccountText)
      Constraints: none

      Original property name from the Odata EDM: AlternativeGLAccountText

      Parameters:
      alternativeGLAccountText - Alternative G/L Account (Description)
    • setCountryChartOfAccounts

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

      Original property name from the Odata EDM: CountryChartOfAccounts

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

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

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

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

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

      @Nonnull public static <T> AlternativeGLAccountField<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> AlternativeGLAccountField<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<AlternativeGLAccount>
    • setServicePathForFetch

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

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

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

      @Nonnull public static AlternativeGLAccount.AlternativeGLAccountBuilder builder()
    • getAlternativeGLAccount_ID

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

      Original property name from the Odata EDM: AlternativeGLAccount_ID

      Returns:
      Alternative G/L Account
    • getAlternativeGLAccountText

      @Nullable public String getAlternativeGLAccountText()
      Constraints: none

      Original property name from the Odata EDM: AlternativeGLAccountText

      Returns:
      Alternative G/L Account (Description)
    • getCountryChartOfAccounts

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

      Original property name from the Odata EDM: CountryChartOfAccounts

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

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

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

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

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