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

public class REOccpcyMngCostObjAssgmt extends VdmEntity<REOccpcyMngCostObjAssgmt> implements VdmEntitySet
Occupancy Cost Object Assignment

Original entity name from the Odata EDM: REOccpcyMngCostObjAssgmt_Type

  • Field Details

  • Constructor Details

    • REOccpcyMngCostObjAssgmt

      public REOccpcyMngCostObjAssgmt()
    • REOccpcyMngCostObjAssgmt

      public REOccpcyMngCostObjAssgmt(@Nullable String rEStatusObjectSource, @Nullable String rEStatusObjectTarget, @Nullable String rEObjectAssignmentType, @Nullable String internalRealEstateNumberTarget, @Nullable String rEAccountingObject, @Nullable String validityStartEndDateValue, @Nullable LocalDate validityStartDate, @Nullable LocalDate validityEndDate, @Nullable String internalRealEstateNumber, @Nullable String rEIntegrationObjectNumber, @Nullable String rEAccountingObjectType, @Nullable String rEIdentification, @Nullable String rEIdentificationKey, @Nullable Collection<SAP__Message> _Messages, @Nullable REIntegrationObject to_REIntegrationObjectTP)
  • Method Details

    • getType

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

      public void setREStatusObjectSource(@Nullable String rEStatusObjectSource)
      (Key Field) Constraints: Not nullable, Maximum length: 22

      Original property name from the Odata EDM: REStatusObjectSource

      Parameters:
      rEStatusObjectSource - Object Number
    • setREStatusObjectTarget

      public void setREStatusObjectTarget(@Nullable String rEStatusObjectTarget)
      (Key Field) Constraints: Not nullable, Maximum length: 22

      Original property name from the Odata EDM: REStatusObjectTarget

      Parameters:
      rEStatusObjectTarget - Object Number
    • setREObjectAssignmentType

      public void setREObjectAssignmentType(@Nullable String rEObjectAssignmentType)
      (Key Field) Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: REObjectAssignmentType

      Parameters:
      rEObjectAssignmentType - Type of Object Assignment
    • setInternalRealEstateNumberTarget

      public void setInternalRealEstateNumberTarget(@Nullable String internalRealEstateNumberTarget)
      (Key Field) Constraints: Not nullable, Maximum length: 13

      Original property name from the Odata EDM: InternalRealEstateNumberTarget

      Parameters:
      internalRealEstateNumberTarget - Internal Key of Real Estate Object
    • setREAccountingObject

      public void setREAccountingObject(@Nullable String rEAccountingObject)
      (Key Field) Constraints: Not nullable, Maximum length: 22

      Original property name from the Odata EDM: REAccountingObject

      Parameters:
      rEAccountingObject - Object Number for Internal Use
    • setValidityStartEndDateValue

      public void setValidityStartEndDateValue(@Nullable String validityStartEndDateValue)
      (Key Field) Constraints: Not nullable, Maximum length: 16

      Original property name from the Odata EDM: ValidityStartEndDateValue

      Parameters:
      validityStartEndDateValue - Date from to (RAP Key)
    • setValidityStartDate

      public void setValidityStartDate(@Nullable LocalDate validityStartDate)
      Constraints: Nullable

      Original property name from the Odata EDM: ValidityStartDate

      Parameters:
      validityStartDate - Validity Start Date
    • setValidityEndDate

      public void setValidityEndDate(@Nullable LocalDate validityEndDate)
      Constraints: Nullable

      Original property name from the Odata EDM: ValidityEndDate

      Parameters:
      validityEndDate - Validity End Date
    • setInternalRealEstateNumber

      public void setInternalRealEstateNumber(@Nullable String internalRealEstateNumber)
      Constraints: Not nullable, Maximum length: 13

      Original property name from the Odata EDM: InternalRealEstateNumber

      Parameters:
      internalRealEstateNumber - Internal Key of Real Estate Object
    • setREIntegrationObjectNumber

      public void setREIntegrationObjectNumber(@Nullable String rEIntegrationObjectNumber)
      Constraints: Not nullable, Maximum length: 20

      Original property name from the Odata EDM: REIntegrationObjectNumber

      Parameters:
      rEIntegrationObjectNumber - Real Estate Object Number
    • setREAccountingObjectType

      public void setREAccountingObjectType(@Nullable String rEAccountingObjectType)
      Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: REAccountingObjectType

      Parameters:
      rEAccountingObjectType - The rEAccountingObjectType to set.
    • setREIdentification

      public void setREIdentification(@Nullable String rEIdentification)
      Constraints: Not nullable, Maximum length: 50

      Original property name from the Odata EDM: REIdentification

      Parameters:
      rEIdentification - Complete Object Identification, for Example BE 1000/123
    • setREIdentificationKey

      public void setREIdentificationKey(@Nullable String rEIdentificationKey)
      Constraints: Not nullable, Maximum length: 45

      Original property name from the Odata EDM: REIdentificationKey

      Parameters:
      rEIdentificationKey - ID Part Key, for example "1000/123"
    • 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<REOccpcyMngCostObjAssgmt>
    • getKey

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

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

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

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

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

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

      If the navigation property for an entity REOccpcyMngCostObjAssgmt 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 _REIntegrationObjectTP is already loaded, the result will contain the REIntegrationObject entity. If not, an Option with result state empty is returned.
    • setREIntegrationObjectTP

      public void setREIntegrationObjectTP(REIntegrationObject value)
      Overwrites the associated REIntegrationObject entity for the loaded navigation property _REIntegrationObjectTP.
      Parameters:
      value - New REIntegrationObject entity.
    • builder

    • getREStatusObjectSource

      @Nullable public String getREStatusObjectSource()
      (Key Field) Constraints: Not nullable, Maximum length: 22

      Original property name from the Odata EDM: REStatusObjectSource

      Returns:
      Object Number
    • getREStatusObjectTarget

      @Nullable public String getREStatusObjectTarget()
      (Key Field) Constraints: Not nullable, Maximum length: 22

      Original property name from the Odata EDM: REStatusObjectTarget

      Returns:
      Object Number
    • getREObjectAssignmentType

      @Nullable public String getREObjectAssignmentType()
      (Key Field) Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: REObjectAssignmentType

      Returns:
      Type of Object Assignment
    • getInternalRealEstateNumberTarget

      @Nullable public String getInternalRealEstateNumberTarget()
      (Key Field) Constraints: Not nullable, Maximum length: 13

      Original property name from the Odata EDM: InternalRealEstateNumberTarget

      Returns:
      Internal Key of Real Estate Object
    • getREAccountingObject

      @Nullable public String getREAccountingObject()
      (Key Field) Constraints: Not nullable, Maximum length: 22

      Original property name from the Odata EDM: REAccountingObject

      Returns:
      Object Number for Internal Use
    • getValidityStartEndDateValue

      @Nullable public String getValidityStartEndDateValue()
      (Key Field) Constraints: Not nullable, Maximum length: 16

      Original property name from the Odata EDM: ValidityStartEndDateValue

      Returns:
      Date from to (RAP Key)
    • getValidityStartDate

      @Nullable public LocalDate getValidityStartDate()
      Constraints: Nullable

      Original property name from the Odata EDM: ValidityStartDate

      Returns:
      Validity Start Date
    • getValidityEndDate

      @Nullable public LocalDate getValidityEndDate()
      Constraints: Nullable

      Original property name from the Odata EDM: ValidityEndDate

      Returns:
      Validity End Date
    • getInternalRealEstateNumber

      @Nullable public String getInternalRealEstateNumber()
      Constraints: Not nullable, Maximum length: 13

      Original property name from the Odata EDM: InternalRealEstateNumber

      Returns:
      Internal Key of Real Estate Object
    • getREIntegrationObjectNumber

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

      Original property name from the Odata EDM: REIntegrationObjectNumber

      Returns:
      Real Estate Object Number
    • getREAccountingObjectType

      @Nullable public String getREAccountingObjectType()
      Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: REAccountingObjectType

      Returns:
      The rEAccountingObjectType contained in this VdmEntity.
    • getREIdentification

      @Nullable public String getREIdentification()
      Constraints: Not nullable, Maximum length: 50

      Original property name from the Odata EDM: REIdentification

      Returns:
      Complete Object Identification, for Example BE 1000/123
    • getREIdentificationKey

      @Nullable public String getREIdentificationKey()
      Constraints: Not nullable, Maximum length: 45

      Original property name from the Odata EDM: REIdentificationKey

      Returns:
      ID Part Key, for example "1000/123"
    • 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<REOccpcyMngCostObjAssgmt>
    • equals

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

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

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

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