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

public class ConsolidationGroupStructure extends VdmEntity<ConsolidationGroupStructure> implements VdmEntitySet
Consolidation Group Structure

Original entity name from the Odata EDM: ConsolidationGroupStructure_Type

  • Field Details

  • Constructor Details

    • ConsolidationGroupStructure

      public ConsolidationGroupStructure()
    • ConsolidationGroupStructure

      public ConsolidationGroupStructure(@Nullable String consolidationGroup, @Nullable String consolidationUnit, @Nullable String consolidationVersion, @Nullable String groupStrucFromFiscalYearPeriod, @Nullable String groupStrucToFiscalYearPeriod, @Nullable String firstCnsldtnFiscalYearPeriod, @Nullable Boolean firstCnsldtnIsAtEndOfPeriod, @Nullable String divestitureFiscalYearPeriod, @Nullable Boolean divestitureIsAtBeginOfPeriod, @Nullable Boolean divestitureIsDueToMerger, @Nullable Collection<SAP__Message> _Messages, List<CnsldtnGrpStrucMethAssgmt> to_CnsldtnGrpStrucMethAssgmt)
  • Method Details

    • getType

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

      public void setConsolidationGroup(@Nullable String consolidationGroup)
      (Key Field) Constraints: Not nullable, Maximum length: 18

      Original property name from the Odata EDM: ConsolidationGroup

      Parameters:
      consolidationGroup - Consolidation Group
    • setConsolidationUnit

      public void setConsolidationUnit(@Nullable String consolidationUnit)
      (Key Field) Constraints: Not nullable, Maximum length: 18

      Original property name from the Odata EDM: ConsolidationUnit

      Parameters:
      consolidationUnit - Consolidation Unit
    • setConsolidationVersion

      public void setConsolidationVersion(@Nullable String consolidationVersion)
      (Key Field) Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: ConsolidationVersion

      Parameters:
      consolidationVersion - Consolidation Version
    • setGroupStrucFromFiscalYearPeriod

      public void setGroupStrucFromFiscalYearPeriod(@Nullable String groupStrucFromFiscalYearPeriod)
      (Key Field) Constraints: Not nullable, Maximum length: 7

      Original property name from the Odata EDM: GroupStrucFromFiscalYearPeriod

      Parameters:
      groupStrucFromFiscalYearPeriod - Start of Assignment
    • setGroupStrucToFiscalYearPeriod

      public void setGroupStrucToFiscalYearPeriod(@Nullable String groupStrucToFiscalYearPeriod)
      Constraints: Not nullable, Maximum length: 7

      Original property name from the Odata EDM: GroupStrucToFiscalYearPeriod

      Parameters:
      groupStrucToFiscalYearPeriod - End of Assignment
    • setFirstCnsldtnFiscalYearPeriod

      public void setFirstCnsldtnFiscalYearPeriod(@Nullable String firstCnsldtnFiscalYearPeriod)
      Constraints: Not nullable, Maximum length: 7

      Original property name from the Odata EDM: FirstCnsldtnFiscalYearPeriod

      Parameters:
      firstCnsldtnFiscalYearPeriod - Fiscal Year Period of First Consolidation
    • setFirstCnsldtnIsAtEndOfPeriod

      public void setFirstCnsldtnIsAtEndOfPeriod(@Nullable Boolean firstCnsldtnIsAtEndOfPeriod)
      Constraints: Not nullable

      Original property name from the Odata EDM: FirstCnsldtnIsAtEndOfPeriod

      Parameters:
      firstCnsldtnIsAtEndOfPeriod - First Consolidation Is at End of Period
    • setDivestitureFiscalYearPeriod

      public void setDivestitureFiscalYearPeriod(@Nullable String divestitureFiscalYearPeriod)
      Constraints: Not nullable, Maximum length: 7

      Original property name from the Odata EDM: DivestitureFiscalYearPeriod

      Parameters:
      divestitureFiscalYearPeriod - Fiscal Year Period of Divestiture
    • setDivestitureIsAtBeginOfPeriod

      public void setDivestitureIsAtBeginOfPeriod(@Nullable Boolean divestitureIsAtBeginOfPeriod)
      Constraints: Not nullable

      Original property name from the Odata EDM: DivestitureIsAtBeginOfPeriod

      Parameters:
      divestitureIsAtBeginOfPeriod - Divestiture Is at Beginning of Period
    • setDivestitureIsDueToMerger

      public void setDivestitureIsDueToMerger(@Nullable Boolean divestitureIsDueToMerger)
      Constraints: Not nullable

      Original property name from the Odata EDM: DivestitureIsDueToMerger

      Parameters:
      divestitureIsDueToMerger - Divestiture Due to Merger
    • 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<ConsolidationGroupStructure>
    • getKey

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

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

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

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

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

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

      If the navigation property for an entity ConsolidationGroupStructure 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 _CnsldtnGrpStrucMethAssgmt is already loaded, the result will contain the CnsldtnGrpStrucMethAssgmt entities. If not, an Option with result state empty is returned.
    • setCnsldtnGrpStrucMethAssgmt

      public void setCnsldtnGrpStrucMethAssgmt(@Nonnull List<CnsldtnGrpStrucMethAssgmt> value)
      Overwrites the list of associated CnsldtnGrpStrucMethAssgmt entities for the loaded navigation property _CnsldtnGrpStrucMethAssgmt.

      If the navigation property _CnsldtnGrpStrucMethAssgmt of a queried ConsolidationGroupStructure 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 CnsldtnGrpStrucMethAssgmt entities.
    • addCnsldtnGrpStrucMethAssgmt

      public void addCnsldtnGrpStrucMethAssgmt(CnsldtnGrpStrucMethAssgmt... entity)
      Adds elements to the list of associated CnsldtnGrpStrucMethAssgmt entities. This corresponds to the OData navigation property _CnsldtnGrpStrucMethAssgmt.

      If the navigation property _CnsldtnGrpStrucMethAssgmt of a queried ConsolidationGroupStructure 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 CnsldtnGrpStrucMethAssgmt entities.
    • builder

    • getConsolidationGroup

      @Nullable public String getConsolidationGroup()
      (Key Field) Constraints: Not nullable, Maximum length: 18

      Original property name from the Odata EDM: ConsolidationGroup

      Returns:
      Consolidation Group
    • getConsolidationUnit

      @Nullable public String getConsolidationUnit()
      (Key Field) Constraints: Not nullable, Maximum length: 18

      Original property name from the Odata EDM: ConsolidationUnit

      Returns:
      Consolidation Unit
    • getConsolidationVersion

      @Nullable public String getConsolidationVersion()
      (Key Field) Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: ConsolidationVersion

      Returns:
      Consolidation Version
    • getGroupStrucFromFiscalYearPeriod

      @Nullable public String getGroupStrucFromFiscalYearPeriod()
      (Key Field) Constraints: Not nullable, Maximum length: 7

      Original property name from the Odata EDM: GroupStrucFromFiscalYearPeriod

      Returns:
      Start of Assignment
    • getGroupStrucToFiscalYearPeriod

      @Nullable public String getGroupStrucToFiscalYearPeriod()
      Constraints: Not nullable, Maximum length: 7

      Original property name from the Odata EDM: GroupStrucToFiscalYearPeriod

      Returns:
      End of Assignment
    • getFirstCnsldtnFiscalYearPeriod

      @Nullable public String getFirstCnsldtnFiscalYearPeriod()
      Constraints: Not nullable, Maximum length: 7

      Original property name from the Odata EDM: FirstCnsldtnFiscalYearPeriod

      Returns:
      Fiscal Year Period of First Consolidation
    • getFirstCnsldtnIsAtEndOfPeriod

      @Nullable public Boolean getFirstCnsldtnIsAtEndOfPeriod()
      Constraints: Not nullable

      Original property name from the Odata EDM: FirstCnsldtnIsAtEndOfPeriod

      Returns:
      First Consolidation Is at End of Period
    • getDivestitureFiscalYearPeriod

      @Nullable public String getDivestitureFiscalYearPeriod()
      Constraints: Not nullable, Maximum length: 7

      Original property name from the Odata EDM: DivestitureFiscalYearPeriod

      Returns:
      Fiscal Year Period of Divestiture
    • getDivestitureIsAtBeginOfPeriod

      @Nullable public Boolean getDivestitureIsAtBeginOfPeriod()
      Constraints: Not nullable

      Original property name from the Odata EDM: DivestitureIsAtBeginOfPeriod

      Returns:
      Divestiture Is at Beginning of Period
    • getDivestitureIsDueToMerger

      @Nullable public Boolean getDivestitureIsDueToMerger()
      Constraints: Not nullable

      Original property name from the Odata EDM: DivestitureIsDueToMerger

      Returns:
      Divestiture Due to Merger
    • 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<ConsolidationGroupStructure>
    • equals

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

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

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

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