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

public class CnsldtnFinancialStatementItem extends VdmEntity<CnsldtnFinancialStatementItem> implements VdmEntitySet
Consolidation Financial Statement Item

Original entity name from the Odata EDM: CnsldtnFinancialStatementItem_Type

  • Field Details

  • Constructor Details

    • CnsldtnFinancialStatementItem

      public CnsldtnFinancialStatementItem()
    • CnsldtnFinancialStatementItem

      public CnsldtnFinancialStatementItem(@Nullable String consolidationChartOfAccounts, @Nullable String cnsldtnFinancialStatementItem, @Nullable String consolidationFSItemType, @Nullable String consolidationBreakdownCategory, @Nullable Boolean cnsldtnFSItemIsForCnsldtnOnly, @Nullable Boolean cnsldtnFSItemPostingIsBlocked, @Nullable Boolean cnsldtnFSItemIsNetBalCarryFwd, @Nullable String cnsldtnFSItemLink, @Nullable String cnsldtnFSItemLinkLabel, @Nullable Collection<SAP__Message> _Messages, List<CnsldtnFSItemByTimeVersion> to_CnsldtnFSItemByTimeVersion, List<CnsldtnFSItemText> to_Text)
  • Method Details

    • getType

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

      public void setConsolidationFSItemType(@Nullable String consolidationFSItemType)
      Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: ConsolidationFSItemType

      Parameters:
      consolidationFSItemType - Consolidation Financial Statement Item Type
    • setConsolidationBreakdownCategory

      public void setConsolidationBreakdownCategory(@Nullable String consolidationBreakdownCategory)
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: ConsolidationBreakdownCategory

      Parameters:
      consolidationBreakdownCategory - FS Item Breakdown Category in Consolidation
    • setCnsldtnFSItemIsForCnsldtnOnly

      public void setCnsldtnFSItemIsForCnsldtnOnly(@Nullable Boolean cnsldtnFSItemIsForCnsldtnOnly)
      Constraints: Not nullable

      Original property name from the Odata EDM: CnsldtnFSItemIsForCnsldtnOnly

      Parameters:
      cnsldtnFSItemIsForCnsldtnOnly - Is Consolidation Financial Statement Item
    • setCnsldtnFSItemPostingIsBlocked

      public void setCnsldtnFSItemPostingIsBlocked(@Nullable Boolean cnsldtnFSItemPostingIsBlocked)
      Constraints: Not nullable

      Original property name from the Odata EDM: CnsldtnFSItemPostingIsBlocked

      Parameters:
      cnsldtnFSItemPostingIsBlocked - FS Item is Blocked for Posting
    • setCnsldtnFSItemIsNetBalCarryFwd

      public void setCnsldtnFSItemIsNetBalCarryFwd(@Nullable Boolean cnsldtnFSItemIsNetBalCarryFwd)
      Constraints: Not nullable

      Original property name from the Odata EDM: CnsldtnFSItemIsNetBalCarryFwd

      Parameters:
      cnsldtnFSItemIsNetBalCarryFwd - Carry Forward Balances for Statistical FS Items
    • setCnsldtnFSItemLink

      public void setCnsldtnFSItemLink(@Nullable String cnsldtnFSItemLink)
      Constraints: Not nullable, Maximum length: 1333

      Original property name from the Odata EDM: CnsldtnFSItemLink

      Parameters:
      cnsldtnFSItemLink - Link URL
    • setCnsldtnFSItemLinkLabel

      public void setCnsldtnFSItemLinkLabel(@Nullable String cnsldtnFSItemLinkLabel)
      Constraints: Not nullable, Maximum length: 255

      Original property name from the Odata EDM: CnsldtnFSItemLinkLabel

      Parameters:
      cnsldtnFSItemLinkLabel - Link Title
    • set_Messages

      public void set_Messages(@Nullable Collection<SAP__Message> _Messages)
      Constraints: Not nullable

      Original property name from the Odata EDM: SAP__Messages

      Parameters:
      _Messages - The _Messages to set.
    • getEntityCollection

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

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

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

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

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

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

      @Nonnull public io.vavr.control.Option<List<CnsldtnFSItemByTimeVersion>> getCnsldtnFSItemByTimeVersionIfPresent()
      Retrieval of associated CnsldtnFSItemByTimeVersion entities (one to many). This corresponds to the OData navigation property _CnsldtnFSItemByTimeVersion.

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

      public void setCnsldtnFSItemByTimeVersion(@Nonnull List<CnsldtnFSItemByTimeVersion> value)
      Overwrites the list of associated CnsldtnFSItemByTimeVersion entities for the loaded navigation property _CnsldtnFSItemByTimeVersion.

      If the navigation property _CnsldtnFSItemByTimeVersion of a queried CnsldtnFinancialStatementItem is operated lazily, an ODataException can be thrown in case of an OData query error.

      Please note: Lazy loading of OData entity associations is the process of asynchronous retrieval and persisting of items from a navigation property. If a lazy property is requested by the application for the first time and it has not yet been loaded, an OData query will be run in order to load the missing information and its result will get cached for future invocations.

      Parameters:
      value - List of CnsldtnFSItemByTimeVersion entities.
    • addCnsldtnFSItemByTimeVersion

      public void addCnsldtnFSItemByTimeVersion(CnsldtnFSItemByTimeVersion... entity)
      Adds elements to the list of associated CnsldtnFSItemByTimeVersion entities. This corresponds to the OData navigation property _CnsldtnFSItemByTimeVersion.

      If the navigation property _CnsldtnFSItemByTimeVersion of a queried CnsldtnFinancialStatementItem is operated lazily, an ODataException can be thrown in case of an OData query error.

      Please note: Lazy loading of OData entity associations is the process of asynchronous retrieval and persisting of items from a navigation property. If a lazy property is requested by the application for the first time and it has not yet been loaded, an OData query will be run in order to load the missing information and its result will get cached for future invocations.

      Parameters:
      entity - Array of CnsldtnFSItemByTimeVersion entities.
    • getTextIfPresent

      @Nonnull public io.vavr.control.Option<List<CnsldtnFSItemText>> getTextIfPresent()
      Retrieval of associated CnsldtnFSItemText entities (one to many). This corresponds to the OData navigation property _Text.

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

      public void setText(@Nonnull List<CnsldtnFSItemText> value)
      Overwrites the list of associated CnsldtnFSItemText entities for the loaded navigation property _Text.

      If the navigation property _Text of a queried CnsldtnFinancialStatementItem is operated lazily, an ODataException can be thrown in case of an OData query error.

      Please note: Lazy loading of OData entity associations is the process of asynchronous retrieval and persisting of items from a navigation property. If a lazy property is requested by the application for the first time and it has not yet been loaded, an OData query will be run in order to load the missing information and its result will get cached for future invocations.

      Parameters:
      value - List of CnsldtnFSItemText entities.
    • addText

      public void addText(CnsldtnFSItemText... entity)
      Adds elements to the list of associated CnsldtnFSItemText entities. This corresponds to the OData navigation property _Text.

      If the navigation property _Text of a queried CnsldtnFinancialStatementItem is operated lazily, an ODataException can be thrown in case of an OData query error.

      Please note: Lazy loading of OData entity associations is the process of asynchronous retrieval and persisting of items from a navigation property. If a lazy property is requested by the application for the first time and it has not yet been loaded, an OData query will be run in order to load the missing information and its result will get cached for future invocations.

      Parameters:
      entity - Array of CnsldtnFSItemText entities.
    • builder

    • 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
    • getConsolidationFSItemType

      @Nullable public String getConsolidationFSItemType()
      Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: ConsolidationFSItemType

      Returns:
      Consolidation Financial Statement Item Type
    • getConsolidationBreakdownCategory

      @Nullable public String getConsolidationBreakdownCategory()
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: ConsolidationBreakdownCategory

      Returns:
      FS Item Breakdown Category in Consolidation
    • getCnsldtnFSItemIsForCnsldtnOnly

      @Nullable public Boolean getCnsldtnFSItemIsForCnsldtnOnly()
      Constraints: Not nullable

      Original property name from the Odata EDM: CnsldtnFSItemIsForCnsldtnOnly

      Returns:
      Is Consolidation Financial Statement Item
    • getCnsldtnFSItemPostingIsBlocked

      @Nullable public Boolean getCnsldtnFSItemPostingIsBlocked()
      Constraints: Not nullable

      Original property name from the Odata EDM: CnsldtnFSItemPostingIsBlocked

      Returns:
      FS Item is Blocked for Posting
    • getCnsldtnFSItemIsNetBalCarryFwd

      @Nullable public Boolean getCnsldtnFSItemIsNetBalCarryFwd()
      Constraints: Not nullable

      Original property name from the Odata EDM: CnsldtnFSItemIsNetBalCarryFwd

      Returns:
      Carry Forward Balances for Statistical FS Items
    • getCnsldtnFSItemLink

      @Nullable public String getCnsldtnFSItemLink()
      Constraints: Not nullable, Maximum length: 1333

      Original property name from the Odata EDM: CnsldtnFSItemLink

      Returns:
      Link URL
    • getCnsldtnFSItemLinkLabel

      @Nullable public String getCnsldtnFSItemLinkLabel()
      Constraints: Not nullable, Maximum length: 255

      Original property name from the Odata EDM: CnsldtnFSItemLinkLabel

      Returns:
      Link Title
    • get_Messages

      @Nullable public Collection<SAP__Message> get_Messages()
      Constraints: Not nullable

      Original property name from the Odata EDM: SAP__Messages

      Returns:
      The _Messages contained in this VdmEntity.
    • toString

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

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

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

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

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