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

public class REContrObjAssgmt extends VdmEntity<REContrObjAssgmt> implements VdmEntitySet
Object Assignments

Original entity name from the Odata EDM: REContrObjAssgmt_Type

  • Field Details

  • Constructor Details

    • REContrObjAssgmt

      public REContrObjAssgmt()
    • REContrObjAssgmt

      public REContrObjAssgmt(@Nullable String rEStatusObjectSource, @Nullable String rEObjectAssignmentType, @Nullable String rEStatusObjectTarget, @Nullable String validityStartEndDateValue, @Nullable String internalRealEstateNumber, @Nullable LocalDate validityStartDate, @Nullable LocalDate validityEndDate, @Nullable String rEObjectTypeTarget, @Nullable Boolean rEOnlyInfoAssgmt, @Nullable Boolean rEStatusObjectSourceIsArchived, @Nullable String rEGenerationType, @Nullable Boolean rEIsMainAsset, @Nullable Boolean rEAssignmentHasMultiple, @Nullable LocalDate rEObjectPossessionStartDate, @Nullable LocalDate rEObjectPossessionEndDate, @Nullable String rEGroupNumber, @Nullable String rEObjectGroupName, @Nullable String rEContractSubjectNumber, @Nullable String rEContractSubjectDescription, @Nullable String rEContractSubjectClass, @Nullable String rEContractSubjectType, @Nullable String externalId, @Nullable String rEAccountingObject, @Nullable String rEAccountingObjectType, @Nullable Collection<SAP__Message> _Messages, @Nullable REContract to_REContract)
  • Method Details

    • getType

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

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

      Original property name from the Odata EDM: InternalRealEstateNumber

      Parameters:
      internalRealEstateNumber - Internal Key of Real Estate Object
    • 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
    • setREObjectTypeTarget

      public void setREObjectTypeTarget(@Nullable String rEObjectTypeTarget)
      Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: REObjectTypeTarget

      Parameters:
      rEObjectTypeTarget - Business Object Type of Contract Object
    • setREOnlyInfoAssgmt

      public void setREOnlyInfoAssgmt(@Nullable Boolean rEOnlyInfoAssgmt)
      Constraints: Not nullable

      Original property name from the Odata EDM: REOnlyInfoAssgmt

      Parameters:
      rEOnlyInfoAssgmt - Informational Assignment
    • setREStatusObjectSourceIsArchived

      public void setREStatusObjectSourceIsArchived(@Nullable Boolean rEStatusObjectSourceIsArchived)
      Constraints: Not nullable

      Original property name from the Odata EDM: REStatusObjectSourceIsArchived

      Parameters:
      rEStatusObjectSourceIsArchived - Source Object Was Archived
    • setREGenerationType

      public void setREGenerationType(@Nullable String rEGenerationType)
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: REGenerationType

      Parameters:
      rEGenerationType - Generation Type Functional Location
    • setREIsMainAsset

      public void setREIsMainAsset(@Nullable Boolean rEIsMainAsset)
      Constraints: Not nullable

      Original property name from the Odata EDM: REIsMainAsset

      Parameters:
      rEIsMainAsset - Asset Is Leading Asset
    • setREAssignmentHasMultiple

      public void setREAssignmentHasMultiple(@Nullable Boolean rEAssignmentHasMultiple)
      Constraints: Not nullable

      Original property name from the Odata EDM: REAssignmentHasMultiple

      Parameters:
      rEAssignmentHasMultiple - Generated Entry for Multiple Assignment
    • setREObjectPossessionStartDate

      public void setREObjectPossessionStartDate(@Nullable LocalDate rEObjectPossessionStartDate)
      Constraints: Nullable

      Original property name from the Odata EDM: REObjectPossessionStartDate

      Parameters:
      rEObjectPossessionStartDate - Date From Which the Object Is Made Available for Use
    • setREObjectPossessionEndDate

      public void setREObjectPossessionEndDate(@Nullable LocalDate rEObjectPossessionEndDate)
      Constraints: Nullable

      Original property name from the Odata EDM: REObjectPossessionEndDate

      Parameters:
      rEObjectPossessionEndDate - Date Up to Which the Object Is Used
    • setREGroupNumber

      public void setREGroupNumber(@Nullable String rEGroupNumber)
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: REGroupNumber

      Parameters:
      rEGroupNumber - Group Number
    • setREObjectGroupName

      public void setREObjectGroupName(@Nullable String rEObjectGroupName)
      Constraints: Not nullable, Maximum length: 60

      Original property name from the Odata EDM: REObjectGroupName

      Parameters:
      rEObjectGroupName - Name of Object Groups
    • setREContractSubjectNumber

      public void setREContractSubjectNumber(@Nullable String rEContractSubjectNumber)
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: REContractSubjectNumber

      Parameters:
      rEContractSubjectNumber - Contract Object Number
    • setREContractSubjectDescription

      public void setREContractSubjectDescription(@Nullable String rEContractSubjectDescription)
      Constraints: Not nullable, Maximum length: 60

      Original property name from the Odata EDM: REContractSubjectDescription

      Parameters:
      rEContractSubjectDescription - Name of Contract Object
    • setREContractSubjectClass

      public void setREContractSubjectClass(@Nullable String rEContractSubjectClass)
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: REContractSubjectClass

      Parameters:
      rEContractSubjectClass - Contract Object Class
    • setREContractSubjectType

      public void setREContractSubjectType(@Nullable String rEContractSubjectType)
      Constraints: Not nullable, Maximum length: 6

      Original property name from the Odata EDM: REContractSubjectType

      Parameters:
      rEContractSubjectType - Type of Contract Object
    • setExternalId

      public void setExternalId(@Nullable String externalId)
      Constraints: Not nullable, Maximum length: 100

      Original property name from the Odata EDM: ExternalId

      Parameters:
      externalId - External Identification for Contract Object
    • setREAccountingObject

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

      Original property name from the Odata EDM: REAccountingObject

      Parameters:
      rEAccountingObject - Object Number Account Assignment
    • setREAccountingObjectType

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

      Original property name from the Odata EDM: REAccountingObjectType

      Parameters:
      rEAccountingObjectType - Object Type
    • 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<REContrObjAssgmt>
    • getKey

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

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

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

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

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

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

      If the navigation property for an entity REContrObjAssgmt 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 _REContract is already loaded, the result will contain the REContract entity. If not, an Option with result state empty is returned.
    • setREContract

      public void setREContract(REContract value)
      Overwrites the associated REContract entity for the loaded navigation property _REContract.
      Parameters:
      value - New REContract entity.
    • builder

      @Nonnull public static REContrObjAssgmt.REContrObjAssgmtBuilder 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
    • 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
    • getREStatusObjectTarget

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

      Original property name from the Odata EDM: REStatusObjectTarget

      Returns:
      Object Number
    • 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)
    • getInternalRealEstateNumber

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

      Original property name from the Odata EDM: InternalRealEstateNumber

      Returns:
      Internal Key of Real Estate Object
    • 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
    • getREObjectTypeTarget

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

      Original property name from the Odata EDM: REObjectTypeTarget

      Returns:
      Business Object Type of Contract Object
    • getREOnlyInfoAssgmt

      @Nullable public Boolean getREOnlyInfoAssgmt()
      Constraints: Not nullable

      Original property name from the Odata EDM: REOnlyInfoAssgmt

      Returns:
      Informational Assignment
    • getREStatusObjectSourceIsArchived

      @Nullable public Boolean getREStatusObjectSourceIsArchived()
      Constraints: Not nullable

      Original property name from the Odata EDM: REStatusObjectSourceIsArchived

      Returns:
      Source Object Was Archived
    • getREGenerationType

      @Nullable public String getREGenerationType()
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: REGenerationType

      Returns:
      Generation Type Functional Location
    • getREIsMainAsset

      @Nullable public Boolean getREIsMainAsset()
      Constraints: Not nullable

      Original property name from the Odata EDM: REIsMainAsset

      Returns:
      Asset Is Leading Asset
    • getREAssignmentHasMultiple

      @Nullable public Boolean getREAssignmentHasMultiple()
      Constraints: Not nullable

      Original property name from the Odata EDM: REAssignmentHasMultiple

      Returns:
      Generated Entry for Multiple Assignment
    • getREObjectPossessionStartDate

      @Nullable public LocalDate getREObjectPossessionStartDate()
      Constraints: Nullable

      Original property name from the Odata EDM: REObjectPossessionStartDate

      Returns:
      Date From Which the Object Is Made Available for Use
    • getREObjectPossessionEndDate

      @Nullable public LocalDate getREObjectPossessionEndDate()
      Constraints: Nullable

      Original property name from the Odata EDM: REObjectPossessionEndDate

      Returns:
      Date Up to Which the Object Is Used
    • getREGroupNumber

      @Nullable public String getREGroupNumber()
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: REGroupNumber

      Returns:
      Group Number
    • getREObjectGroupName

      @Nullable public String getREObjectGroupName()
      Constraints: Not nullable, Maximum length: 60

      Original property name from the Odata EDM: REObjectGroupName

      Returns:
      Name of Object Groups
    • getREContractSubjectNumber

      @Nullable public String getREContractSubjectNumber()
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: REContractSubjectNumber

      Returns:
      Contract Object Number
    • getREContractSubjectDescription

      @Nullable public String getREContractSubjectDescription()
      Constraints: Not nullable, Maximum length: 60

      Original property name from the Odata EDM: REContractSubjectDescription

      Returns:
      Name of Contract Object
    • getREContractSubjectClass

      @Nullable public String getREContractSubjectClass()
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: REContractSubjectClass

      Returns:
      Contract Object Class
    • getREContractSubjectType

      @Nullable public String getREContractSubjectType()
      Constraints: Not nullable, Maximum length: 6

      Original property name from the Odata EDM: REContractSubjectType

      Returns:
      Type of Contract Object
    • getExternalId

      @Nullable public String getExternalId()
      Constraints: Not nullable, Maximum length: 100

      Original property name from the Odata EDM: ExternalId

      Returns:
      External Identification for Contract Object
    • getREAccountingObject

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

      Original property name from the Odata EDM: REAccountingObject

      Returns:
      Object Number Account Assignment
    • getREAccountingObjectType

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

      Original property name from the Odata EDM: REAccountingObjectType

      Returns:
      Object Type
    • 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<REContrObjAssgmt>
    • equals

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

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

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

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