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

public class CnsldtnCostCenterText extends VdmEntity<CnsldtnCostCenterText> implements VdmEntitySet
Consolidation Cost Center - Text

Original entity name from the Odata EDM: CnsldtnCostCenterText_Type

  • Field Details

  • Constructor Details

    • CnsldtnCostCenterText

      public CnsldtnCostCenterText()
    • CnsldtnCostCenterText

      public CnsldtnCostCenterText(@Nullable String language, @Nullable String controllingArea, @Nullable String costCenter, @Nullable String costCenterName, @Nullable Boolean cnsldtnIsAdditionalMasterData, @Nullable CnsldtnCostCenter to_CostCenter)
  • Method Details

    • getType

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

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

      Original property name from the Odata EDM: ControllingArea

      Parameters:
      controllingArea - Consolidation Controlling Area
    • setCostCenter

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

      Original property name from the Odata EDM: CostCenter

      Parameters:
      costCenter - Consolidation Cost Center
    • setCostCenterName

      public void setCostCenterName(@Nullable String costCenterName)
      Constraints: Not nullable, Maximum length: 20

      Original property name from the Odata EDM: CostCenterName

      Parameters:
      costCenterName - 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<CnsldtnCostCenterText>
    • getKey

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

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

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

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

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

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

      If the navigation property for an entity CnsldtnCostCenterText 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 _CostCenter is already loaded, the result will contain the CnsldtnCostCenter entity. If not, an Option with result state empty is returned.
    • setCostCenter

      public void setCostCenter(CnsldtnCostCenter value)
      Overwrites the associated CnsldtnCostCenter entity for the loaded navigation property _CostCenter.
      Parameters:
      value - New CnsldtnCostCenter entity.
    • builder

      @Nonnull public static CnsldtnCostCenterText.CnsldtnCostCenterTextBuilder 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
    • getControllingArea

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

      Original property name from the Odata EDM: ControllingArea

      Returns:
      Consolidation Controlling Area
    • getCostCenter

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

      Original property name from the Odata EDM: CostCenter

      Returns:
      Consolidation Cost Center
    • getCostCenterName

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

      Original property name from the Odata EDM: CostCenterName

      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<CnsldtnCostCenterText>
    • equals

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

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

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

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