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

public class CnsldtnGrpStrucMethAssgmt extends VdmEntity<CnsldtnGrpStrucMethAssgmt> implements VdmEntitySet
Cnsldtn Group Struc Method Assgmt

Original entity name from the Odata EDM: CnsldtnGrpStrucMethAssgmt_Type

  • Field Details

  • Constructor Details

    • CnsldtnGrpStrucMethAssgmt

      public CnsldtnGrpStrucMethAssgmt()
    • CnsldtnGrpStrucMethAssgmt

      public CnsldtnGrpStrucMethAssgmt(@Nullable String consolidationGroup, @Nullable String consolidationUnit, @Nullable String consolidationVersion, @Nullable String groupStrucFromFiscalYearPeriod, @Nullable String methAssgmtFromFiscalYearPeriod, @Nullable String methAssgmtToFiscalYearPeriod, @Nullable String consolidationInvestmentMethod, @Nullable Boolean methChangeIsAtBeginOfPeriod, @Nullable ConsolidationGroupStructure to_CnsldtnGroupStructure)
  • Method Details

    • getType

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

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

      Original property name from the Odata EDM: MethAssgmtFromFiscalYearPeriod

      Parameters:
      methAssgmtFromFiscalYearPeriod - Start of Consolidation Method Assignment
    • setMethAssgmtToFiscalYearPeriod

      public void setMethAssgmtToFiscalYearPeriod(@Nullable String methAssgmtToFiscalYearPeriod)
      Constraints: Not nullable, Maximum length: 7

      Original property name from the Odata EDM: MethAssgmtToFiscalYearPeriod

      Parameters:
      methAssgmtToFiscalYearPeriod - End of Consolidation Method Assignment
    • setConsolidationInvestmentMethod

      public void setConsolidationInvestmentMethod(@Nullable String consolidationInvestmentMethod)
      Constraints: Not nullable, Maximum length: 5

      Original property name from the Odata EDM: ConsolidationInvestmentMethod

      Parameters:
      consolidationInvestmentMethod - Consolidation Method
    • setMethChangeIsAtBeginOfPeriod

      public void setMethChangeIsAtBeginOfPeriod(@Nullable Boolean methChangeIsAtBeginOfPeriod)
      Constraints: Not nullable

      Original property name from the Odata EDM: MethChangeIsAtBeginOfPeriod

      Parameters:
      methChangeIsAtBeginOfPeriod - Consolidation Method Change at Begin of Period
    • getEntityCollection

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

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

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

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

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

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

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

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

      public void setCnsldtnGroupStructure(ConsolidationGroupStructure value)
      Overwrites the associated ConsolidationGroupStructure entity for the loaded navigation property _CnsldtnGroupStructure.
      Parameters:
      value - New ConsolidationGroupStructure entity.
    • 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
    • getMethAssgmtFromFiscalYearPeriod

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

      Original property name from the Odata EDM: MethAssgmtFromFiscalYearPeriod

      Returns:
      Start of Consolidation Method Assignment
    • getMethAssgmtToFiscalYearPeriod

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

      Original property name from the Odata EDM: MethAssgmtToFiscalYearPeriod

      Returns:
      End of Consolidation Method Assignment
    • getConsolidationInvestmentMethod

      @Nullable public String getConsolidationInvestmentMethod()
      Constraints: Not nullable, Maximum length: 5

      Original property name from the Odata EDM: ConsolidationInvestmentMethod

      Returns:
      Consolidation Method
    • getMethChangeIsAtBeginOfPeriod

      @Nullable public Boolean getMethChangeIsAtBeginOfPeriod()
      Constraints: Not nullable

      Original property name from the Odata EDM: MethChangeIsAtBeginOfPeriod

      Returns:
      Consolidation Method Change at Begin of Period
    • toString

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

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

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

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

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