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

public class REIntegObjectObjRelation extends VdmEntity<REIntegObjectObjRelation> implements VdmEntitySet
Integration Object Relations

Original entity name from the Odata EDM: REIntegObjectObjRelation_Type

  • Field Details

  • Constructor Details

    • REIntegObjectObjRelation

      public REIntegObjectObjRelation()
    • REIntegObjectObjRelation

      public REIntegObjectObjRelation(@Nullable UUID rEIntegObjectRelationUUID, @Nullable String internalRealEstateNumber, @Nullable String internalRealEstateNumberRltn, @Nullable String rEIntegrationObjectNumber, @Nullable LocalDate validityEndDate, @Nullable String rEMeasurementType, @Nullable LocalDate validityStartDate, @Nullable Boolean rEIsObjectRelationPartial, @Nullable String rEMeasurementUnit, @Nullable BigDecimal rEMeasurementPartialQuantity, @Nullable Collection<SAP__Message> _Messages, @Nullable REIntegrationObject to_REIntegrationObjectTP)
  • Method Details

    • getType

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

      public void setREIntegObjectRelationUUID(@Nullable UUID rEIntegObjectRelationUUID)
      (Key Field) Constraints: Not nullable

      Original property name from the Odata EDM: REIntegObjectRelationUUID

      Parameters:
      rEIntegObjectRelationUUID - GUID for Object Relation
    • 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
    • setInternalRealEstateNumberRltn

      public void setInternalRealEstateNumberRltn(@Nullable String internalRealEstateNumberRltn)
      Constraints: Not nullable, Maximum length: 13

      Original property name from the Odata EDM: InternalRealEstateNumberRltn

      Parameters:
      internalRealEstateNumberRltn - Internal Object Number (Relation)
    • 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
    • setValidityEndDate

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

      Original property name from the Odata EDM: ValidityEndDate

      Parameters:
      validityEndDate - Validity End Date
    • setREMeasurementType

      public void setREMeasurementType(@Nullable String rEMeasurementType)
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: REMeasurementType

      Parameters:
      rEMeasurementType - Measurement Type
    • setValidityStartDate

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

      Original property name from the Odata EDM: ValidityStartDate

      Parameters:
      validityStartDate - Validity Start Date
    • setREIsObjectRelationPartial

      public void setREIsObjectRelationPartial(@Nullable Boolean rEIsObjectRelationPartial)
      Constraints: Not nullable

      Original property name from the Odata EDM: REIsObjectRelationPartial

      Parameters:
      rEIsObjectRelationPartial - Partial Object Relation Indicator
    • setREMeasurementUnit

      public void setREMeasurementUnit(@Nullable String rEMeasurementUnit)
      Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: REMeasurementUnit

      Parameters:
      rEMeasurementUnit - Unit of Measure
    • setREMeasurementPartialQuantity

      public void setREMeasurementPartialQuantity(@Nullable BigDecimal rEMeasurementPartialQuantity)
      Constraints: Not nullable, Precision: 17, Scale: 4

      Original property name from the Odata EDM: REMeasurementPartialQuantity

      Parameters:
      rEMeasurementPartialQuantity - Measurement Amount: Share (Part)
    • 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<REIntegObjectObjRelation>
    • getKey

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

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

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

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

      @Nonnull protected Map<String,Object> toMapOfNavigationProperties()
      Overrides:
      toMapOfNavigationProperties in class VdmObject<REIntegObjectObjRelation>
    • 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 REIntegObjectObjRelation 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

    • getREIntegObjectRelationUUID

      @Nullable public UUID getREIntegObjectRelationUUID()
      (Key Field) Constraints: Not nullable

      Original property name from the Odata EDM: REIntegObjectRelationUUID

      Returns:
      GUID for Object Relation
    • 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
    • getInternalRealEstateNumberRltn

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

      Original property name from the Odata EDM: InternalRealEstateNumberRltn

      Returns:
      Internal Object Number (Relation)
    • getREIntegrationObjectNumber

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

      Original property name from the Odata EDM: REIntegrationObjectNumber

      Returns:
      Real Estate Object Number
    • getValidityEndDate

      @Nullable public LocalDate getValidityEndDate()
      Constraints: Nullable

      Original property name from the Odata EDM: ValidityEndDate

      Returns:
      Validity End Date
    • getREMeasurementType

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

      Original property name from the Odata EDM: REMeasurementType

      Returns:
      Measurement Type
    • getValidityStartDate

      @Nullable public LocalDate getValidityStartDate()
      Constraints: Nullable

      Original property name from the Odata EDM: ValidityStartDate

      Returns:
      Validity Start Date
    • getREIsObjectRelationPartial

      @Nullable public Boolean getREIsObjectRelationPartial()
      Constraints: Not nullable

      Original property name from the Odata EDM: REIsObjectRelationPartial

      Returns:
      Partial Object Relation Indicator
    • getREMeasurementUnit

      @Nullable public String getREMeasurementUnit()
      Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: REMeasurementUnit

      Returns:
      Unit of Measure
    • getREMeasurementPartialQuantity

      @Nullable public BigDecimal getREMeasurementPartialQuantity()
      Constraints: Not nullable, Precision: 17, Scale: 4

      Original property name from the Odata EDM: REMeasurementPartialQuantity

      Returns:
      Measurement Amount: Share (Part)
    • 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<REIntegObjectObjRelation>
    • equals

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

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

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

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