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

public class REUseEnableCondition extends VdmEntity<REUseEnableCondition> implements VdmEntitySet
Usage Enablement Condition

Original entity name from the Odata EDM: REUseEnableCondition_Type

  • Field Details

  • Constructor Details

    • REUseEnableCondition

      public REUseEnableCondition()
    • REUseEnableCondition

      public REUseEnableCondition(@Nullable UUID rEUseEnableConditionUUID, @Nullable String internalRealEstateNumber, @Nullable String rEConditionType, @Nullable String validityStartEndDateValue, @Nullable LocalDate validityStartDate, @Nullable LocalDate validityEndDate, @Nullable String rEConditionCurrency, @Nullable BigDecimal rEUnitPrice, @Nullable String rECalculationRule, @Nullable String rEMeasurementType, @Nullable Collection<SAP__Message> _Messages, @Nullable REIntegrationObject to_REIntegrationObjectTP)
  • Method Details

    • getType

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

      public void setREUseEnableConditionUUID(@Nullable UUID rEUseEnableConditionUUID)
      (Key Field) Constraints: Not nullable

      Original property name from the Odata EDM: REUseEnableConditionUUID

      Parameters:
      rEUseEnableConditionUUID - GUID for Internal Contract Conditions
    • 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
    • setREConditionType

      public void setREConditionType(@Nullable String rEConditionType)
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: REConditionType

      Parameters:
      rEConditionType - Condition Type
    • 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
    • setValidityEndDate

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

      Original property name from the Odata EDM: ValidityEndDate

      Parameters:
      validityEndDate - Validity End Date
    • setREConditionCurrency

      public void setREConditionCurrency(@Nullable String rEConditionCurrency)
      Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: REConditionCurrency

      Parameters:
      rEConditionCurrency - Currency of Condition Item
    • setREUnitPrice

      public void setREUnitPrice(@Nullable BigDecimal rEUnitPrice)
      Constraints: Not nullable, Precision: 19, Scale: 6

      Original property name from the Odata EDM: REUnitPrice

      Parameters:
      rEUnitPrice - Unit Price
    • setRECalculationRule

      public void setRECalculationRule(@Nullable String rECalculationRule)
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: RECalculationRule

      Parameters:
      rECalculationRule - Calculation Formula
    • 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
    • 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<REUseEnableCondition>
    • getKey

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

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

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

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

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

      @Nonnull public static REUseEnableCondition.REUseEnableConditionBuilder builder()
    • getREUseEnableConditionUUID

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

      Original property name from the Odata EDM: REUseEnableConditionUUID

      Returns:
      GUID for Internal Contract Conditions
    • 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
    • getREConditionType

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

      Original property name from the Odata EDM: REConditionType

      Returns:
      Condition Type
    • 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
    • getValidityEndDate

      @Nullable public LocalDate getValidityEndDate()
      Constraints: Nullable

      Original property name from the Odata EDM: ValidityEndDate

      Returns:
      Validity End Date
    • getREConditionCurrency

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

      Original property name from the Odata EDM: REConditionCurrency

      Returns:
      Currency of Condition Item
    • getREUnitPrice

      @Nullable public BigDecimal getREUnitPrice()
      Constraints: Not nullable, Precision: 19, Scale: 6

      Original property name from the Odata EDM: REUnitPrice

      Returns:
      Unit Price
    • getRECalculationRule

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

      Original property name from the Odata EDM: RECalculationRule

      Returns:
      Calculation Formula
    • getREMeasurementType

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

      Original property name from the Odata EDM: REMeasurementType

      Returns:
      Measurement 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<REUseEnableCondition>
    • equals

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

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

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

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