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

public class REContrPartAssgmt extends VdmEntity<REContrPartAssgmt> implements VdmEntitySet
Business Partner Assignments

Original entity name from the Odata EDM: REContrPartAssgmt_Type

  • Field Details

  • Constructor Details

    • REContrPartAssgmt

      public REContrPartAssgmt()
    • REContrPartAssgmt

      public REContrPartAssgmt(@Nullable UUID rEPartnerRelationUUID, @Nullable String internalRealEstateNumber, @Nullable String businessPartner, @Nullable String businessPartnerRole, @Nullable String validityStartEndDateValue, @Nullable LocalDate validityStartDate, @Nullable String rEPartnerRoleType, @Nullable String addressType, @Nullable LocalDate validityEndDate, @Nullable BigDecimal rEFractionalPrptyShrRatio, @Nullable BigDecimal rEOwnershipShrRatio, @Nullable BigDecimal rECoOwnershipShrRatio, @Nullable String rEFractionalShrCnvrsnRatio, @Nullable String contractAccount, @Nullable String formattedAddress, @Nullable Boolean rEIsMainPartner, @Nullable Collection<SAP__Message> _Messages, @Nullable REContract to_REContract)
  • Method Details

    • getType

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

      public void setREPartnerRelationUUID(@Nullable UUID rEPartnerRelationUUID)
      (Key Field) Constraints: Not nullable

      Original property name from the Odata EDM: REPartnerRelationUUID

      Parameters:
      rEPartnerRelationUUID - GUID: Business Partner Object Relationship
    • 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
    • setBusinessPartner

      public void setBusinessPartner(@Nullable String businessPartner)
      Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: BusinessPartner

      Parameters:
      businessPartner - Business Partner Number
    • setBusinessPartnerRole

      public void setBusinessPartnerRole(@Nullable String businessPartnerRole)
      Constraints: Not nullable, Maximum length: 6

      Original property name from the Odata EDM: BusinessPartnerRole

      Parameters:
      businessPartnerRole - Business Partner: Role
    • setValidityStartEndDateValue

      public void setValidityStartEndDateValue(@Nullable String validityStartEndDateValue)
      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
    • setREPartnerRoleType

      public void setREPartnerRoleType(@Nullable String rEPartnerRoleType)
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: REPartnerRoleType

      Parameters:
      rEPartnerRoleType - Business Partner: Role Type
    • setAddressType

      public void setAddressType(@Nullable String addressType)
      Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: AddressType

      Parameters:
      addressType - Address Type
    • setValidityEndDate

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

      Original property name from the Odata EDM: ValidityEndDate

      Parameters:
      validityEndDate - Validity End Date
    • setREFractionalPrptyShrRatio

      public void setREFractionalPrptyShrRatio(@Nullable BigDecimal rEFractionalPrptyShrRatio)
      Constraints: Not nullable, Precision: 9, Scale: 3

      Original property name from the Odata EDM: REFractionalPrptyShrRatio

      Parameters:
      rEFractionalPrptyShrRatio - Fractional share of property
    • setREOwnershipShrRatio

      public void setREOwnershipShrRatio(@Nullable BigDecimal rEOwnershipShrRatio)
      Constraints: Not nullable, Precision: 9, Scale: 3

      Original property name from the Odata EDM: REOwnershipShrRatio

      Parameters:
      rEOwnershipShrRatio - Co-ownership share
    • setRECoOwnershipShrRatio

      public void setRECoOwnershipShrRatio(@Nullable BigDecimal rECoOwnershipShrRatio)
      Constraints: Not nullable, Precision: 6, Scale: 2

      Original property name from the Odata EDM: RECoOwnershipShrRatio

      Parameters:
      rECoOwnershipShrRatio - Ownership share
    • setREFractionalShrCnvrsnRatio

      public void setREFractionalShrCnvrsnRatio(@Nullable String rEFractionalShrCnvrsnRatio)
      Constraints: Not nullable, Maximum length: 6

      Original property name from the Odata EDM: REFractionalShrCnvrsnRatio

      Parameters:
      rEFractionalShrCnvrsnRatio - Conversion factor for fractional share of property
    • setContractAccount

      public void setContractAccount(@Nullable String contractAccount)
      Constraints: Not nullable, Maximum length: 12

      Original property name from the Odata EDM: ContractAccount

      Parameters:
      contractAccount - Contract Account Number
    • setFormattedAddress

      public void setFormattedAddress(@Nullable String formattedAddress)
      Constraints: Not nullable, Maximum length: 71

      Original property name from the Odata EDM: FormattedAddress

      Parameters:
      formattedAddress - The formattedAddress to set.
    • setREIsMainPartner

      public void setREIsMainPartner(@Nullable Boolean rEIsMainPartner)
      Constraints: Not nullable

      Original property name from the Odata EDM: REIsMainPartner

      Parameters:
      rEIsMainPartner - Real Estate Main Partner
    • 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<REContrPartAssgmt>
    • getKey

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

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

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

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

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

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

      Original property name from the Odata EDM: REPartnerRelationUUID

      Returns:
      GUID: Business Partner Object Relationship
    • 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
    • getBusinessPartner

      @Nullable public String getBusinessPartner()
      Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: BusinessPartner

      Returns:
      Business Partner Number
    • getBusinessPartnerRole

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

      Original property name from the Odata EDM: BusinessPartnerRole

      Returns:
      Business Partner: Role
    • getValidityStartEndDateValue

      @Nullable public String getValidityStartEndDateValue()
      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
    • getREPartnerRoleType

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

      Original property name from the Odata EDM: REPartnerRoleType

      Returns:
      Business Partner: Role Type
    • getAddressType

      @Nullable public String getAddressType()
      Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: AddressType

      Returns:
      Address Type
    • getValidityEndDate

      @Nullable public LocalDate getValidityEndDate()
      Constraints: Nullable

      Original property name from the Odata EDM: ValidityEndDate

      Returns:
      Validity End Date
    • getREFractionalPrptyShrRatio

      @Nullable public BigDecimal getREFractionalPrptyShrRatio()
      Constraints: Not nullable, Precision: 9, Scale: 3

      Original property name from the Odata EDM: REFractionalPrptyShrRatio

      Returns:
      Fractional share of property
    • getREOwnershipShrRatio

      @Nullable public BigDecimal getREOwnershipShrRatio()
      Constraints: Not nullable, Precision: 9, Scale: 3

      Original property name from the Odata EDM: REOwnershipShrRatio

      Returns:
      Co-ownership share
    • getRECoOwnershipShrRatio

      @Nullable public BigDecimal getRECoOwnershipShrRatio()
      Constraints: Not nullable, Precision: 6, Scale: 2

      Original property name from the Odata EDM: RECoOwnershipShrRatio

      Returns:
      Ownership share
    • getREFractionalShrCnvrsnRatio

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

      Original property name from the Odata EDM: REFractionalShrCnvrsnRatio

      Returns:
      Conversion factor for fractional share of property
    • getContractAccount

      @Nullable public String getContractAccount()
      Constraints: Not nullable, Maximum length: 12

      Original property name from the Odata EDM: ContractAccount

      Returns:
      Contract Account Number
    • getFormattedAddress

      @Nullable public String getFormattedAddress()
      Constraints: Not nullable, Maximum length: 71

      Original property name from the Odata EDM: FormattedAddress

      Returns:
      The formattedAddress contained in this VdmEntity.
    • getREIsMainPartner

      @Nullable public Boolean getREIsMainPartner()
      Constraints: Not nullable

      Original property name from the Odata EDM: REIsMainPartner

      Returns:
      Real Estate Main Partner
    • 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<REContrPartAssgmt>
    • equals

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

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

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

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