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

public class REContrRenewalTerm extends VdmEntity<REContrRenewalTerm> implements VdmEntitySet
Renewal Terms

Original entity name from the Odata EDM: REContrRenewalTerm_Type

  • Field Details

  • Constructor Details

    • REContrRenewalTerm

      public REContrRenewalTerm()
    • REContrRenewalTerm

      public REContrRenewalTerm(@Nullable String internalRealEstateNumber, @Nullable String rETermType, @Nullable String rETermNumber, @Nullable String rERenewalType, @Nullable String rERenewalSequenceNumber, @Nullable String rERenewalRuleType, @Nullable String rETermName, @Nullable String rERenewalRule, @Nullable String rEAutomaticRenewalType, @Nullable String rENumberOfRenewals, @Nullable String rERenewalPeriodInYears, @Nullable String rERenewalPeriodInMonths, @Nullable String rERenewalPeriodInDays, @Nullable String rERenewalRoundingDateRule, @Nullable String rENotificationPeriodInYears, @Nullable String rENotificationPeriodInMonths, @Nullable String rENotificationPeriodInWeeks, @Nullable String rENotificationPeriodInDays, @Nullable String rENotificationRoundingDateRule, @Nullable Collection<SAP__Message> _Messages, @Nullable REContract to_REContract)
  • Method Details

    • getType

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

      public void setRERenewalType(@Nullable String rERenewalType)
      (Key Field) Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: RERenewalType

      Parameters:
      rERenewalType - Type of Renewal of Real Estate Contract
    • setRERenewalSequenceNumber

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

      Original property name from the Odata EDM: RERenewalSequenceNumber

      Parameters:
      rERenewalSequenceNumber - Sequence Number of Extension Period
    • setRERenewalRuleType

      public void setRERenewalRuleType(@Nullable String rERenewalRuleType)
      (Key Field) Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: RERenewalRuleType

      Parameters:
      rERenewalRuleType - Type of Renewal Rule
    • 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
    • setRERenewalRule

      public void setRERenewalRule(@Nullable String rERenewalRule)
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: RERenewalRule

      Parameters:
      rERenewalRule - Renewal Rule
    • setREAutomaticRenewalType

      public void setREAutomaticRenewalType(@Nullable String rEAutomaticRenewalType)
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: REAutomaticRenewalType

      Parameters:
      rEAutomaticRenewalType - Type of Automatic Renewal
    • setRENumberOfRenewals

      public void setRENumberOfRenewals(@Nullable String rENumberOfRenewals)
      Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: RENumberOfRenewals

      Parameters:
      rENumberOfRenewals - Number of Renewals
    • setRERenewalPeriodInYears

      public void setRERenewalPeriodInYears(@Nullable String rERenewalPeriodInYears)
      Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: RERenewalPeriodInYears

      Parameters:
      rERenewalPeriodInYears - Contract Renewed for Number of Years
    • setRERenewalPeriodInMonths

      public void setRERenewalPeriodInMonths(@Nullable String rERenewalPeriodInMonths)
      Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: RERenewalPeriodInMonths

      Parameters:
      rERenewalPeriodInMonths - Contract Renewed for Number of Months
    • setRERenewalPeriodInDays

      public void setRERenewalPeriodInDays(@Nullable String rERenewalPeriodInDays)
      Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: RERenewalPeriodInDays

      Parameters:
      rERenewalPeriodInDays - Contract Renewed for Number of Days
    • setRERenewalRoundingDateRule

      public void setRERenewalRoundingDateRule(@Nullable String rERenewalRoundingDateRule)
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: RERenewalRoundingDateRule

      Parameters:
      rERenewalRoundingDateRule - Rounding Rule for Determined Renewal Date
    • setRENotificationPeriodInYears

      public void setRENotificationPeriodInYears(@Nullable String rENotificationPeriodInYears)
      Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: RENotificationPeriodInYears

      Parameters:
      rENotificationPeriodInYears - Notification Must Be This No. of Years before Renewal Date
    • setRENotificationPeriodInMonths

      public void setRENotificationPeriodInMonths(@Nullable String rENotificationPeriodInMonths)
      Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: RENotificationPeriodInMonths

      Parameters:
      rENotificationPeriodInMonths - Notification Must Be This No. of Months before Renewal Date
    • setRENotificationPeriodInWeeks

      public void setRENotificationPeriodInWeeks(@Nullable String rENotificationPeriodInWeeks)
      Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: RENotificationPeriodInWeeks

      Parameters:
      rENotificationPeriodInWeeks - Notification Must Be This No. of Weeks before Renewal Date
    • setRENotificationPeriodInDays

      public void setRENotificationPeriodInDays(@Nullable String rENotificationPeriodInDays)
      Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: RENotificationPeriodInDays

      Parameters:
      rENotificationPeriodInDays - Notification Must Be This No. of Days before Renewal Date
    • setRENotificationRoundingDateRule

      public void setRENotificationRoundingDateRule(@Nullable String rENotificationRoundingDateRule)
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: RENotificationRoundingDateRule

      Parameters:
      rENotificationRoundingDateRule - Rounding Rule for Determined Notification 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<REContrRenewalTerm>
    • getKey

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

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

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

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

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

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

      Original property name from the Odata EDM: RETermType

      Returns:
      Term Category
    • getRETermNumber

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

      Original property name from the Odata EDM: RETermNumber

      Returns:
      Term Number
    • getRERenewalType

      @Nullable public String getRERenewalType()
      (Key Field) Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: RERenewalType

      Returns:
      Type of Renewal of Real Estate Contract
    • getRERenewalSequenceNumber

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

      Original property name from the Odata EDM: RERenewalSequenceNumber

      Returns:
      Sequence Number of Extension Period
    • getRERenewalRuleType

      @Nullable public String getRERenewalRuleType()
      (Key Field) Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: RERenewalRuleType

      Returns:
      Type of Renewal Rule
    • getRETermName

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

      Original property name from the Odata EDM: RETermName

      Returns:
      Name of Term
    • getRERenewalRule

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

      Original property name from the Odata EDM: RERenewalRule

      Returns:
      Renewal Rule
    • getREAutomaticRenewalType

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

      Original property name from the Odata EDM: REAutomaticRenewalType

      Returns:
      Type of Automatic Renewal
    • getRENumberOfRenewals

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

      Original property name from the Odata EDM: RENumberOfRenewals

      Returns:
      Number of Renewals
    • getRERenewalPeriodInYears

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

      Original property name from the Odata EDM: RERenewalPeriodInYears

      Returns:
      Contract Renewed for Number of Years
    • getRERenewalPeriodInMonths

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

      Original property name from the Odata EDM: RERenewalPeriodInMonths

      Returns:
      Contract Renewed for Number of Months
    • getRERenewalPeriodInDays

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

      Original property name from the Odata EDM: RERenewalPeriodInDays

      Returns:
      Contract Renewed for Number of Days
    • getRERenewalRoundingDateRule

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

      Original property name from the Odata EDM: RERenewalRoundingDateRule

      Returns:
      Rounding Rule for Determined Renewal Date
    • getRENotificationPeriodInYears

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

      Original property name from the Odata EDM: RENotificationPeriodInYears

      Returns:
      Notification Must Be This No. of Years before Renewal Date
    • getRENotificationPeriodInMonths

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

      Original property name from the Odata EDM: RENotificationPeriodInMonths

      Returns:
      Notification Must Be This No. of Months before Renewal Date
    • getRENotificationPeriodInWeeks

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

      Original property name from the Odata EDM: RENotificationPeriodInWeeks

      Returns:
      Notification Must Be This No. of Weeks before Renewal Date
    • getRENotificationPeriodInDays

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

      Original property name from the Odata EDM: RENotificationPeriodInDays

      Returns:
      Notification Must Be This No. of Days before Renewal Date
    • getRENotificationRoundingDateRule

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

      Original property name from the Odata EDM: RENotificationRoundingDateRule

      Returns:
      Rounding Rule for Determined Notification 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<REContrRenewalTerm>
    • equals

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

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

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

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