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

public class CorporateGroupAccount extends VdmEntity<CorporateGroupAccount>
Group Account Number (Master Data)

Original entity name from the Odata EDM: CorporateGroupAccount

  • Field Details

    • ALL_FIELDS

      public static final CorporateGroupAccountSelectable ALL_FIELDS
      Selector for all available fields of CorporateGroupAccount.
    • CORPORATE_GROUP_ACCOUNT_ID

      public static final CorporateGroupAccountField<String> CORPORATE_GROUP_ACCOUNT_ID
      Use with available fluent helpers to apply the CorporateGroupAccount_ID field to query operations.
    • CORPORATE_GROUP_ACCOUNT_TEXT

      public static final CorporateGroupAccountField<String> CORPORATE_GROUP_ACCOUNT_TEXT
      Use with available fluent helpers to apply the CorporateGroupAccountText field to query operations.
    • CORPORATE_GROUP_CHART_OF_ACCOUNTS

      public static final CorporateGroupAccountField<String> CORPORATE_GROUP_CHART_OF_ACCOUNTS
      Use with available fluent helpers to apply the CorporateGroupChartOfAccounts field to query operations.
  • Constructor Details

    • CorporateGroupAccount

      public CorporateGroupAccount()
    • CorporateGroupAccount

      public CorporateGroupAccount(@Nullable String corporateGroupAccount_ID, @Nullable String corporateGroupAccountText, @Nullable String corporateGroupChartOfAccounts)
  • Method Details

    • getType

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

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

      Original property name from the Odata EDM: CorporateGroupAccount_ID

      Parameters:
      corporateGroupAccount_ID - Group Account Number
    • setCorporateGroupAccountText

      public void setCorporateGroupAccountText(@Nullable String corporateGroupAccountText)
      Constraints: none

      Original property name from the Odata EDM: CorporateGroupAccountText

      Parameters:
      corporateGroupAccountText - Group Account Number (Description)
    • setCorporateGroupChartOfAccounts

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

      Original property name from the Odata EDM: CorporateGroupChartOfAccounts

      Parameters:
      corporateGroupChartOfAccounts - Group Account Number (Group Chart of Accts)
    • getEntityCollection

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

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

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

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

      @Nonnull public static <T> CorporateGroupAccountField<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> CorporateGroupAccountField<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<CorporateGroupAccount>
    • setServicePathForFetch

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

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

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

      @Nonnull public static CorporateGroupAccount.CorporateGroupAccountBuilder builder()
    • getCorporateGroupAccount_ID

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

      Original property name from the Odata EDM: CorporateGroupAccount_ID

      Returns:
      Group Account Number
    • getCorporateGroupAccountText

      @Nullable public String getCorporateGroupAccountText()
      Constraints: none

      Original property name from the Odata EDM: CorporateGroupAccountText

      Returns:
      Group Account Number (Description)
    • getCorporateGroupChartOfAccounts

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

      Original property name from the Odata EDM: CorporateGroupChartOfAccounts

      Returns:
      Group Account Number (Group Chart of Accts)
    • toString

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

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

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

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