java.lang.Object
com.sap.cloud.sdk.datamodel.odatav4.core.VdmObject<EntityT>
com.sap.cloud.sdk.datamodel.odatav4.core.VdmEntity<CnsldtnGLAccountText>
com.sap.cloud.sdk.s4hana.datamodel.odatav4.namespaces.consolidationgeneralledgeraccount.CnsldtnGLAccountText
All Implemented Interfaces:
VdmEntitySet

public class CnsldtnGLAccountText extends VdmEntity<CnsldtnGLAccountText> implements VdmEntitySet
Consolidation G/L Account - Text

Original entity name from the Odata EDM: CnsldtnGLAccountText_Type

  • Field Details

  • Constructor Details

    • CnsldtnGLAccountText

      public CnsldtnGLAccountText()
    • CnsldtnGLAccountText

      public CnsldtnGLAccountText(@Nullable String language, @Nullable String chartOfAccounts, @Nullable String gLAccount, @Nullable String gLAccountName, @Nullable Boolean cnsldtnIsAdditionalMasterData, @Nullable CnsldtnGLAccount to_GLAccount)
  • Method Details

    • getType

      @Nonnull public Class<CnsldtnGLAccountText> getType()
      Specified by:
      getType in class VdmObject<CnsldtnGLAccountText>
    • 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
    • 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 Chart of Accounts
    • setGLAccount

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

      Original property name from the Odata EDM: GLAccount

      Parameters:
      gLAccount - Consolidation G/L Account
    • setGLAccountName

      public void setGLAccountName(@Nullable String gLAccountName)
      Constraints: Not nullable, Maximum length: 20

      Original property name from the Odata EDM: GLAccountName

      Parameters:
      gLAccountName - Description
    • setCnsldtnIsAdditionalMasterData

      public void setCnsldtnIsAdditionalMasterData(@Nullable Boolean cnsldtnIsAdditionalMasterData)
      Constraints: Not nullable

      Original property name from the Odata EDM: CnsldtnIsAdditionalMasterData

      Parameters:
      cnsldtnIsAdditionalMasterData - Is Additional Master Data
    • getEntityCollection

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

      @Nonnull protected ODataEntityKey getKey()
      Overrides:
      getKey in class VdmObject<CnsldtnGLAccountText>
    • toMapOfFields

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

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

      protected String getDefaultServicePath()
      Overrides:
      getDefaultServicePath in class VdmEntity<CnsldtnGLAccountText>
    • toMapOfNavigationProperties

      @Nonnull protected Map<String,Object> toMapOfNavigationProperties()
      Overrides:
      toMapOfNavigationProperties in class VdmObject<CnsldtnGLAccountText>
    • getGLAccountIfPresent

      @Nonnull public io.vavr.control.Option<CnsldtnGLAccount> getGLAccountIfPresent()
      Retrieval of associated CnsldtnGLAccount entity (one to one). This corresponds to the OData navigation property _GLAccount.

      If the navigation property for an entity CnsldtnGLAccountText has not been resolved yet, this method will not query further information. Instead its Option result state will be empty.

      Returns:
      If the information for navigation property _GLAccount is already loaded, the result will contain the CnsldtnGLAccount entity. If not, an Option with result state empty is returned.
    • setGLAccount

      public void setGLAccount(CnsldtnGLAccount value)
      Overwrites the associated CnsldtnGLAccount entity for the loaded navigation property _GLAccount.
      Parameters:
      value - New CnsldtnGLAccount entity.
    • builder

      @Nonnull public static CnsldtnGLAccountText.CnsldtnGLAccountTextBuilder builder()
    • getLanguage

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

      Original property name from the Odata EDM: Language

      Returns:
      Language Key
    • getChartOfAccounts

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

      Original property name from the Odata EDM: ChartOfAccounts

      Returns:
      G/L Chart of Accounts
    • getGLAccount

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

      Original property name from the Odata EDM: GLAccount

      Returns:
      Consolidation G/L Account
    • getGLAccountName

      @Nullable public String getGLAccountName()
      Constraints: Not nullable, Maximum length: 20

      Original property name from the Odata EDM: GLAccountName

      Returns:
      Description
    • getCnsldtnIsAdditionalMasterData

      @Nullable public Boolean getCnsldtnIsAdditionalMasterData()
      Constraints: Not nullable

      Original property name from the Odata EDM: CnsldtnIsAdditionalMasterData

      Returns:
      Is Additional Master Data
    • toString

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

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

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

      public int hashCode()
      Overrides:
      hashCode in class VdmEntity<CnsldtnGLAccountText>
    • getOdataType

      public String getOdataType()
      Specified by:
      getOdataType in class VdmObject<CnsldtnGLAccountText>