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

public class REContrSalesReportingTerm extends VdmEntity<REContrSalesReportingTerm> implements VdmEntitySet
Sales Reporting Terms

Original entity name from the Odata EDM: REContrSalesReportingTerm_Type

  • Field Details

  • Constructor Details

    • REContrSalesReportingTerm

      public REContrSalesReportingTerm()
    • REContrSalesReportingTerm

      public REContrSalesReportingTerm(@Nullable String internalRealEstateNumber, @Nullable String rETermNumber, @Nullable String rETermType, @Nullable String validityStartEndDateValue, @Nullable String rESalesRhythmType, @Nullable LocalDate validityStartDate, @Nullable LocalDate validityEndDate, @Nullable String rETermName, @Nullable String realEstateObjectType, @Nullable String rEStatusObject, @Nullable String rESalesType, @Nullable String rESalesReportType, @Nullable Boolean rEIsStatisticalRule, @Nullable Boolean rESalesReportingIsUsingMsmt, @Nullable String rEMeasurementType, @Nullable String rEStatusObjectMeasurement, @Nullable String measuringPoint, @Nullable String rERgnlLocKeyHeatingValDays, @Nullable LocalDate rEFrequencyStartDate, @Nullable String rENumberOfFrequencyUnits, @Nullable String rEFrequencyUnit, @Nullable String rEFixedPeriod, @Nullable Integer rESalesReportingTolerance, @Nullable String rESalesReportingToleranceUnit, @Nullable String rESalesRptgToleranceCalendar, @Nullable LocalDate rEFrequencyExcludedStartDate, @Nullable LocalDate rEFrequencyExcludedEndDate, @Nullable Collection<SAP__Message> _Messages, @Nullable REContract to_REContract)
  • Method Details

    • getType

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

      public void setRETermNumber(@Nullable String rETermNumber)
      (Key Field) Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: RETermNumber

      Parameters:
      rETermNumber - Term Number
    • setRETermType

      public void setRETermType(@Nullable String rETermType)
      (Key Field) Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: RETermType

      Parameters:
      rETermType - Term Category
    • 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)
    • setRESalesRhythmType

      public void setRESalesRhythmType(@Nullable String rESalesRhythmType)
      (Key Field) Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: RESalesRhythmType

      Parameters:
      rESalesRhythmType - Type of Frequency
    • 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
    • setRETermName

      public void setRETermName(@Nullable String rETermName)
      Constraints: Not nullable, Maximum length: 60

      Original property name from the Odata EDM: RETermName

      Parameters:
      rETermName - Name of Term
    • setRealEstateObjectType

      public void setRealEstateObjectType(@Nullable String realEstateObjectType)
      Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: RealEstateObjectType

      Parameters:
      realEstateObjectType - Object Type
    • setREStatusObject

      public void setREStatusObject(@Nullable String rEStatusObject)
      Constraints: Not nullable, Maximum length: 22

      Original property name from the Odata EDM: REStatusObject

      Parameters:
      rEStatusObject - Object Number
    • setRESalesType

      public void setRESalesType(@Nullable String rESalesType)
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: RESalesType

      Parameters:
      rESalesType - Sales Type
    • setRESalesReportType

      public void setRESalesReportType(@Nullable String rESalesReportType)
      Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: RESalesReportType

      Parameters:
      rESalesReportType - Gross/Net Sales
    • setREIsStatisticalRule

      public void setREIsStatisticalRule(@Nullable Boolean rEIsStatisticalRule)
      Constraints: Not nullable

      Original property name from the Odata EDM: REIsStatisticalRule

      Parameters:
      rEIsStatisticalRule - Statistical Sales Report
    • setRESalesReportingIsUsingMsmt

      public void setRESalesReportingIsUsingMsmt(@Nullable Boolean rESalesReportingIsUsingMsmt)
      Constraints: Not nullable

      Original property name from the Odata EDM: RESalesReportingIsUsingMsmt

      Parameters:
      rESalesReportingIsUsingMsmt - Sales Determined by Assigned Meter
    • 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
    • setREStatusObjectMeasurement

      public void setREStatusObjectMeasurement(@Nullable String rEStatusObjectMeasurement)
      Constraints: Not nullable, Maximum length: 22

      Original property name from the Odata EDM: REStatusObjectMeasurement

      Parameters:
      rEStatusObjectMeasurement - Object Number
    • setMeasuringPoint

      public void setMeasuringPoint(@Nullable String measuringPoint)
      Constraints: Not nullable, Maximum length: 12

      Original property name from the Odata EDM: MeasuringPoint

      Parameters:
      measuringPoint - Measuring Point
    • setRERgnlLocKeyHeatingValDays

      public void setRERgnlLocKeyHeatingValDays(@Nullable String rERgnlLocKeyHeatingValDays)
      Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: RERgnlLocKeyHeatingValDays

      Parameters:
      rERgnlLocKeyHeatingValDays - Regional Location Key for Heating Value Days
    • setREFrequencyStartDate

      public void setREFrequencyStartDate(@Nullable LocalDate rEFrequencyStartDate)
      Constraints: Nullable

      Original property name from the Odata EDM: REFrequencyStartDate

      Parameters:
      rEFrequencyStartDate - Start of Frequency
    • setRENumberOfFrequencyUnits

      public void setRENumberOfFrequencyUnits(@Nullable String rENumberOfFrequencyUnits)
      Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: RENumberOfFrequencyUnits

      Parameters:
      rENumberOfFrequencyUnits - Number of Frequency Units of Period
    • setREFrequencyUnit

      public void setREFrequencyUnit(@Nullable String rEFrequencyUnit)
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: REFrequencyUnit

      Parameters:
      rEFrequencyUnit - Frequency Unit
    • setREFixedPeriod

      public void setREFixedPeriod(@Nullable String rEFixedPeriod)
      Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: REFixedPeriod

      Parameters:
      rEFixedPeriod - Fixed Periods
    • setRESalesReportingTolerance

      public void setRESalesReportingTolerance(@Nullable Integer rESalesReportingTolerance)
      Constraints: Not nullable

      Original property name from the Odata EDM: RESalesReportingTolerance

      Parameters:
      rESalesReportingTolerance - Tolerance for When Sales Report Must Be Received
    • setRESalesReportingToleranceUnit

      public void setRESalesReportingToleranceUnit(@Nullable String rESalesReportingToleranceUnit)
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: RESalesReportingToleranceUnit

      Parameters:
      rESalesReportingToleranceUnit - Tolerance in
    • setRESalesRptgToleranceCalendar

      public void setRESalesRptgToleranceCalendar(@Nullable String rESalesRptgToleranceCalendar)
      Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: RESalesRptgToleranceCalendar

      Parameters:
      rESalesRptgToleranceCalendar - Calendar
    • setREFrequencyExcludedStartDate

      public void setREFrequencyExcludedStartDate(@Nullable LocalDate rEFrequencyExcludedStartDate)
      Constraints: Nullable

      Original property name from the Odata EDM: REFrequencyExcludedStartDate

      Parameters:
      rEFrequencyExcludedStartDate - Start of Excluded Period
    • setREFrequencyExcludedEndDate

      public void setREFrequencyExcludedEndDate(@Nullable LocalDate rEFrequencyExcludedEndDate)
      Constraints: Nullable

      Original property name from the Odata EDM: REFrequencyExcludedEndDate

      Parameters:
      rEFrequencyExcludedEndDate - Validity End Date
    • 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<REContrSalesReportingTerm>
    • getKey

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

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

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

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

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

    • 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
    • getRETermNumber

      @Nullable public String getRETermNumber()
      (Key Field) Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: RETermNumber

      Returns:
      Term Number
    • getRETermType

      @Nullable public String getRETermType()
      (Key Field) Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: RETermType

      Returns:
      Term Category
    • 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)
    • getRESalesRhythmType

      @Nullable public String getRESalesRhythmType()
      (Key Field) Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: RESalesRhythmType

      Returns:
      Type of Frequency
    • 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
    • getRETermName

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

      Original property name from the Odata EDM: RETermName

      Returns:
      Name of Term
    • getRealEstateObjectType

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

      Original property name from the Odata EDM: RealEstateObjectType

      Returns:
      Object Type
    • getREStatusObject

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

      Original property name from the Odata EDM: REStatusObject

      Returns:
      Object Number
    • getRESalesType

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

      Original property name from the Odata EDM: RESalesType

      Returns:
      Sales Type
    • getRESalesReportType

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

      Original property name from the Odata EDM: RESalesReportType

      Returns:
      Gross/Net Sales
    • getREIsStatisticalRule

      @Nullable public Boolean getREIsStatisticalRule()
      Constraints: Not nullable

      Original property name from the Odata EDM: REIsStatisticalRule

      Returns:
      Statistical Sales Report
    • getRESalesReportingIsUsingMsmt

      @Nullable public Boolean getRESalesReportingIsUsingMsmt()
      Constraints: Not nullable

      Original property name from the Odata EDM: RESalesReportingIsUsingMsmt

      Returns:
      Sales Determined by Assigned Meter
    • getREMeasurementType

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

      Original property name from the Odata EDM: REMeasurementType

      Returns:
      Measurement Type
    • getREStatusObjectMeasurement

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

      Original property name from the Odata EDM: REStatusObjectMeasurement

      Returns:
      Object Number
    • getMeasuringPoint

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

      Original property name from the Odata EDM: MeasuringPoint

      Returns:
      Measuring Point
    • getRERgnlLocKeyHeatingValDays

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

      Original property name from the Odata EDM: RERgnlLocKeyHeatingValDays

      Returns:
      Regional Location Key for Heating Value Days
    • getREFrequencyStartDate

      @Nullable public LocalDate getREFrequencyStartDate()
      Constraints: Nullable

      Original property name from the Odata EDM: REFrequencyStartDate

      Returns:
      Start of Frequency
    • getRENumberOfFrequencyUnits

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

      Original property name from the Odata EDM: RENumberOfFrequencyUnits

      Returns:
      Number of Frequency Units of Period
    • getREFrequencyUnit

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

      Original property name from the Odata EDM: REFrequencyUnit

      Returns:
      Frequency Unit
    • getREFixedPeriod

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

      Original property name from the Odata EDM: REFixedPeriod

      Returns:
      Fixed Periods
    • getRESalesReportingTolerance

      @Nullable public Integer getRESalesReportingTolerance()
      Constraints: Not nullable

      Original property name from the Odata EDM: RESalesReportingTolerance

      Returns:
      Tolerance for When Sales Report Must Be Received
    • getRESalesReportingToleranceUnit

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

      Original property name from the Odata EDM: RESalesReportingToleranceUnit

      Returns:
      Tolerance in
    • getRESalesRptgToleranceCalendar

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

      Original property name from the Odata EDM: RESalesRptgToleranceCalendar

      Returns:
      Calendar
    • getREFrequencyExcludedStartDate

      @Nullable public LocalDate getREFrequencyExcludedStartDate()
      Constraints: Nullable

      Original property name from the Odata EDM: REFrequencyExcludedStartDate

      Returns:
      Start of Excluded Period
    • getREFrequencyExcludedEndDate

      @Nullable public LocalDate getREFrequencyExcludedEndDate()
      Constraints: Nullable

      Original property name from the Odata EDM: REFrequencyExcludedEndDate

      Returns:
      Validity End Date
    • 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<REContrSalesReportingTerm>
    • equals

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

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

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

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