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

public class CnsldtnFSItemText extends VdmEntity<CnsldtnFSItemText> implements VdmEntitySet
Cnsldtn Financial Statement Item - Text

Original entity name from the Odata EDM: CnsldtnFSItemText_Type

  • Field Details

  • Constructor Details

    • CnsldtnFSItemText

      public CnsldtnFSItemText()
    • CnsldtnFSItemText

      public CnsldtnFSItemText(@Nullable String language, @Nullable String consolidationChartOfAccounts, @Nullable String cnsldtnFinancialStatementItem, @Nullable String cnsldtnFSItemText, @Nullable String cnsldtnFSItemMediumText, @Nullable String cnsldtnFSItemLongText, @Nullable CnsldtnFinancialStatementItem to_CnsldtnFSItem)
  • Method Details

    • getType

      @Nonnull public Class<CnsldtnFSItemText> getType()
      Specified by:
      getType in class VdmObject<CnsldtnFSItemText>
    • 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
    • setConsolidationChartOfAccounts

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

      Original property name from the Odata EDM: ConsolidationChartOfAccounts

      Parameters:
      consolidationChartOfAccounts - Consolidation Chart of Accounts
    • setCnsldtnFinancialStatementItem

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

      Original property name from the Odata EDM: CnsldtnFinancialStatementItem

      Parameters:
      cnsldtnFinancialStatementItem - Consolidation FS Item
    • setCnsldtnFSItemText

      public void setCnsldtnFSItemText(@Nullable String cnsldtnFSItemText)
      Constraints: Not nullable, Maximum length: 15

      Original property name from the Odata EDM: CnsldtnFSItemText

      Parameters:
      cnsldtnFSItemText - Description
    • setCnsldtnFSItemMediumText

      public void setCnsldtnFSItemMediumText(@Nullable String cnsldtnFSItemMediumText)
      Constraints: Not nullable, Maximum length: 50

      Original property name from the Odata EDM: CnsldtnFSItemMediumText

      Parameters:
      cnsldtnFSItemMediumText - Medium Description
    • setCnsldtnFSItemLongText

      public void setCnsldtnFSItemLongText(@Nullable String cnsldtnFSItemLongText)
      Constraints: Not nullable, Maximum length: 250

      Original property name from the Odata EDM: CnsldtnFSItemLongText

      Parameters:
      cnsldtnFSItemLongText - Long Description
    • getEntityCollection

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

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

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

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

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

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

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

      If the navigation property for an entity CnsldtnFSItemText 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 _CnsldtnFSItem is already loaded, the result will contain the CnsldtnFinancialStatementItem entity. If not, an Option with result state empty is returned.
    • setCnsldtnFSItem

      public void setCnsldtnFSItem(CnsldtnFinancialStatementItem value)
      Overwrites the associated CnsldtnFinancialStatementItem entity for the loaded navigation property _CnsldtnFSItem.
      Parameters:
      value - New CnsldtnFinancialStatementItem entity.
    • builder

      @Nonnull public static CnsldtnFSItemText.CnsldtnFSItemTextBuilder 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
    • getConsolidationChartOfAccounts

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

      Original property name from the Odata EDM: ConsolidationChartOfAccounts

      Returns:
      Consolidation Chart of Accounts
    • getCnsldtnFinancialStatementItem

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

      Original property name from the Odata EDM: CnsldtnFinancialStatementItem

      Returns:
      Consolidation FS Item
    • getCnsldtnFSItemText

      @Nullable public String getCnsldtnFSItemText()
      Constraints: Not nullable, Maximum length: 15

      Original property name from the Odata EDM: CnsldtnFSItemText

      Returns:
      Description
    • getCnsldtnFSItemMediumText

      @Nullable public String getCnsldtnFSItemMediumText()
      Constraints: Not nullable, Maximum length: 50

      Original property name from the Odata EDM: CnsldtnFSItemMediumText

      Returns:
      Medium Description
    • getCnsldtnFSItemLongText

      @Nullable public String getCnsldtnFSItemLongText()
      Constraints: Not nullable, Maximum length: 250

      Original property name from the Odata EDM: CnsldtnFSItemLongText

      Returns:
      Long Description
    • toString

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

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

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

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

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