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

public class REUseEnableLdngObjAssgmt extends VdmEntity<REUseEnableLdngObjAssgmt> implements VdmEntitySet
Usage Enablement Leading Cost Object

Original entity name from the Odata EDM: REUseEnableLdngObjAssgmt_Type

  • Field Details

  • Constructor Details

    • REUseEnableLdngObjAssgmt

      public REUseEnableLdngObjAssgmt()
    • REUseEnableLdngObjAssgmt

      public REUseEnableLdngObjAssgmt(@Nullable String internalRealEstateNumber, @Nullable String rEObjectAssignmentType, @Nullable String rEStatusObjectTarget, @Nullable String validityStartEndDateValue, @Nullable LocalDate validityStartDate, @Nullable LocalDate validityEndDate, @Nullable Boolean rEStatusObjectSourceIsArchived, @Nullable String rEAccountingObjectType, @Nullable String rEIdentificationKey, @Nullable String rEIdentification, @Nullable String companyCode, @Nullable String rEObjectText, @Nullable Collection<SAP__Message> _Messages, @Nullable REIntegrationObject to_REIntegrationObjectTP)
  • Method Details

    • getType

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

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

      Original property name from the Odata EDM: REStatusObjectSourceIsArchived

      Parameters:
      rEStatusObjectSourceIsArchived - Source Object Was Archived
    • setREAccountingObjectType

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

      Original property name from the Odata EDM: REAccountingObjectType

      Parameters:
      rEAccountingObjectType - Business Object Type of Contract Object
    • 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"
    • 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
    • setCompanyCode

      public void setCompanyCode(@Nullable String companyCode)
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: CompanyCode

      Parameters:
      companyCode - Company Code
    • setREObjectText

      public void setREObjectText(@Nullable String rEObjectText)
      Constraints: Not nullable, Maximum length: 80

      Original property name from the Odata EDM: REObjectText

      Parameters:
      rEObjectText - Contract Name
    • 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<REUseEnableLdngObjAssgmt>
    • getKey

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

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

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

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

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

    • 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
    • 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)
    • 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
    • getREStatusObjectSourceIsArchived

      @Nullable public Boolean getREStatusObjectSourceIsArchived()
      Constraints: Not nullable

      Original property name from the Odata EDM: REStatusObjectSourceIsArchived

      Returns:
      Source Object Was Archived
    • getREAccountingObjectType

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

      Original property name from the Odata EDM: REAccountingObjectType

      Returns:
      Business Object Type of Contract Object
    • 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"
    • 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
    • getCompanyCode

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

      Original property name from the Odata EDM: CompanyCode

      Returns:
      Company Code
    • getREObjectText

      @Nullable public String getREObjectText()
      Constraints: Not nullable, Maximum length: 80

      Original property name from the Odata EDM: REObjectText

      Returns:
      Contract Name
    • 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<REUseEnableLdngObjAssgmt>
    • equals

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

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

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

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