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

public class CnsldtnProfitCenterText extends VdmEntity<CnsldtnProfitCenterText> implements VdmEntitySet
Consolidation Profit Center - Text

Original entity name from the Odata EDM: CnsldtnProfitCenterText_Type

  • Field Details

  • Constructor Details

    • CnsldtnProfitCenterText

      public CnsldtnProfitCenterText()
    • CnsldtnProfitCenterText

      public CnsldtnProfitCenterText(@Nullable String language, @Nullable String controllingArea, @Nullable String profitCenter, @Nullable String profitCenterName, @Nullable Boolean cnsldtnIsAdditionalMasterData, @Nullable CnsldtnProfitCenter to_ProfitCenter)
  • Method Details

    • getType

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

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

      Original property name from the Odata EDM: ProfitCenter

      Parameters:
      profitCenter - Consolidation Profit Center
    • setProfitCenterName

      public void setProfitCenterName(@Nullable String profitCenterName)
      Constraints: Not nullable, Maximum length: 20

      Original property name from the Odata EDM: ProfitCenterName

      Parameters:
      profitCenterName - 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<CnsldtnProfitCenterText>
    • getKey

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

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

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

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

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

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

      If the navigation property for an entity CnsldtnProfitCenterText 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 _ProfitCenter is already loaded, the result will contain the CnsldtnProfitCenter entity. If not, an Option with result state empty is returned.
    • setProfitCenter

      public void setProfitCenter(CnsldtnProfitCenter value)
      Overwrites the associated CnsldtnProfitCenter entity for the loaded navigation property _ProfitCenter.
      Parameters:
      value - New CnsldtnProfitCenter entity.
    • 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
    • getProfitCenter

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

      Original property name from the Odata EDM: ProfitCenter

      Returns:
      Consolidation Profit Center
    • getProfitCenterName

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

      Original property name from the Odata EDM: ProfitCenterName

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

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

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

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

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