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

public class CndnContrConditionRecordScale extends VdmEntity<CndnContrConditionRecordScale> implements VdmEntitySet
Condition Record Scale

Original entity name from the Odata EDM: CndnContrConditionRecordScaleType

  • Field Details

  • Constructor Details

    • CndnContrConditionRecordScale

      public CndnContrConditionRecordScale()
    • CndnContrConditionRecordScale

      public CndnContrConditionRecordScale(@Nullable String conditionContract, @Nullable String conditionRecord, @Nullable String conditionScaleLine, @Nullable BigDecimal conditionScaleQuantity, @Nullable String conditionScaleQuantityUnit, @Nullable String cndnScaleQuantityUnitISOCode, @Nullable String cndnScaleQuantityUnitSAPCode, @Nullable BigDecimal conditionScaleAmount, @Nullable String conditionScaleAmountCurrency, @Nullable BigDecimal conditionRateAmount, @Nullable String conditionCurrency, @Nullable BigDecimal conditionQuantity, @Nullable String conditionQuantityUnit, @Nullable String conditionQuantityUnitISOCode, @Nullable String conditionQuantityUnitSAPCode, @Nullable BigDecimal conditionRateRatio, @Nullable String conditionRateRatioUnit, @Nullable String conditionRateRatioUnitISOCode, @Nullable String conditionRateRatioUnitSAPCode, @Nullable String conditionTable, @Nullable String conditionApplication, @Nullable String conditionType, @Nullable String conditionCalculationType, @Nullable String pricingScaleBasis, @Nullable String pricingScaleType, @Nullable CndnContrConditionRecord to_CndnContrCndnRecord, @Nullable ConditionContract to_ConditionContract)
  • Method Details

    • getType

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

      public void setConditionContract(@Nullable String conditionContract)
      (Key Field) Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: ConditionContract

      Parameters:
      conditionContract - Condition Contract
    • setConditionRecord

      public void setConditionRecord(@Nullable String conditionRecord)
      (Key Field) Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: ConditionRecord

      Parameters:
      conditionRecord - Number of Condition Record
    • setConditionScaleLine

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

      Original property name from the Odata EDM: ConditionScaleLine

      Parameters:
      conditionScaleLine - Current number of the line scale
    • setConditionScaleQuantity

      public void setConditionScaleQuantity(@Nullable BigDecimal conditionScaleQuantity)
      Constraints: Not nullable, Precision: 15, Scale: 3

      Original property name from the Odata EDM: ConditionScaleQuantity

      Parameters:
      conditionScaleQuantity - Condition Scale Quantity
    • setConditionScaleQuantityUnit

      public void setConditionScaleQuantityUnit(@Nullable String conditionScaleQuantityUnit)
      Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: ConditionScaleQuantityUnit

      Parameters:
      conditionScaleQuantityUnit - Condition Scale Unit of Measure
    • setCndnScaleQuantityUnitISOCode

      public void setCndnScaleQuantityUnitISOCode(@Nullable String cndnScaleQuantityUnitISOCode)
      Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: CndnScaleQuantityUnitISOCode

      Parameters:
      cndnScaleQuantityUnitISOCode - Condition Scale Unit of Measure in ISO Code
    • setCndnScaleQuantityUnitSAPCode

      public void setCndnScaleQuantityUnitSAPCode(@Nullable String cndnScaleQuantityUnitSAPCode)
      Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: CndnScaleQuantityUnitSAPCode

      Parameters:
      cndnScaleQuantityUnitSAPCode - Condition Scale Unit of Measure in SAP Code
    • setConditionScaleAmount

      public void setConditionScaleAmount(@Nullable BigDecimal conditionScaleAmount)
      Constraints: Not nullable, Precision: 24, Scale: 9

      Original property name from the Odata EDM: ConditionScaleAmount

      Parameters:
      conditionScaleAmount - Condition Scale Value (Transactional Processing)
    • setConditionScaleAmountCurrency

      public void setConditionScaleAmountCurrency(@Nullable String conditionScaleAmountCurrency)
      Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: ConditionScaleAmountCurrency

      Parameters:
      conditionScaleAmountCurrency - Scale Currency
    • setConditionRateAmount

      public void setConditionRateAmount(@Nullable BigDecimal conditionRateAmount)
      Constraints: Not nullable, Precision: 24, Scale: 9

      Original property name from the Odata EDM: ConditionRateAmount

      Parameters:
      conditionRateAmount - Condition Amount (Transactional Processing)
    • setConditionCurrency

      public void setConditionCurrency(@Nullable String conditionCurrency)
      Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: ConditionCurrency

      Parameters:
      conditionCurrency - Condition Unit (Currency or Percentage)
    • setConditionQuantity

      public void setConditionQuantity(@Nullable BigDecimal conditionQuantity)
      Constraints: Not nullable, Precision: 5

      Original property name from the Odata EDM: ConditionQuantity

      Parameters:
      conditionQuantity - Condition Pricing Unit
    • setConditionQuantityUnit

      public void setConditionQuantityUnit(@Nullable String conditionQuantityUnit)
      Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: ConditionQuantityUnit

      Parameters:
      conditionQuantityUnit - Condition Unit
    • setConditionQuantityUnitISOCode

      public void setConditionQuantityUnitISOCode(@Nullable String conditionQuantityUnitISOCode)
      Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: ConditionQuantityUnitISOCode

      Parameters:
      conditionQuantityUnitISOCode - Condition Quantity Unit in ISO code
    • setConditionQuantityUnitSAPCode

      public void setConditionQuantityUnitSAPCode(@Nullable String conditionQuantityUnitSAPCode)
      Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: ConditionQuantityUnitSAPCode

      Parameters:
      conditionQuantityUnitSAPCode - Condition Quantity Unit in SAP code
    • setConditionRateRatio

      public void setConditionRateRatio(@Nullable BigDecimal conditionRateRatio)
      Constraints: Not nullable, Precision: 24, Scale: 9

      Original property name from the Odata EDM: ConditionRateRatio

      Parameters:
      conditionRateRatio - Condition Percentage (Transactional Processing)
    • setConditionRateRatioUnit

      public void setConditionRateRatioUnit(@Nullable String conditionRateRatioUnit)
      Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: ConditionRateRatioUnit

      Parameters:
      conditionRateRatioUnit - Percent Sign (Transactional Processing)
    • setConditionRateRatioUnitISOCode

      public void setConditionRateRatioUnitISOCode(@Nullable String conditionRateRatioUnitISOCode)
      Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: ConditionRateRatioUnitISOCode

      Parameters:
      conditionRateRatioUnitISOCode - Percent Sign in ISO Code
    • setConditionRateRatioUnitSAPCode

      public void setConditionRateRatioUnitSAPCode(@Nullable String conditionRateRatioUnitSAPCode)
      Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: ConditionRateRatioUnitSAPCode

      Parameters:
      conditionRateRatioUnitSAPCode - Percent Sign in SAP Code
    • setConditionTable

      public void setConditionTable(@Nullable String conditionTable)
      Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: ConditionTable

      Parameters:
      conditionTable - Condition Table
    • setConditionApplication

      public void setConditionApplication(@Nullable String conditionApplication)
      Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: ConditionApplication

      Parameters:
      conditionApplication - Application
    • setConditionType

      public void setConditionType(@Nullable String conditionType)
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: ConditionType

      Parameters:
      conditionType - Condition Type
    • setConditionCalculationType

      public void setConditionCalculationType(@Nullable String conditionCalculationType)
      Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: ConditionCalculationType

      Parameters:
      conditionCalculationType - Calculation Type for Condition
    • setPricingScaleBasis

      public void setPricingScaleBasis(@Nullable String pricingScaleBasis)
      Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: PricingScaleBasis

      Parameters:
      pricingScaleBasis - Scale Basis Indicator
    • setPricingScaleType

      public void setPricingScaleType(@Nullable String pricingScaleType)
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: PricingScaleType

      Parameters:
      pricingScaleType - Scale Type
    • getEntityCollection

      protected String getEntityCollection()
      Specified by:
      getEntityCollection in class VdmEntity<CndnContrConditionRecordScale>
    • getKey

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

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

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

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

      @Nonnull protected Map<String,Object> toMapOfNavigationProperties()
      Overrides:
      toMapOfNavigationProperties in class VdmObject<CndnContrConditionRecordScale>
    • getCndnContrCndnRecordIfPresent

      @Nonnull public io.vavr.control.Option<CndnContrConditionRecord> getCndnContrCndnRecordIfPresent()
      Retrieval of associated CndnContrConditionRecord entity (one to one). This corresponds to the OData navigation property _CndnContrCndnRecord.

      If the navigation property for an entity CndnContrConditionRecordScale 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 _CndnContrCndnRecord is already loaded, the result will contain the CndnContrConditionRecord entity. If not, an Option with result state empty is returned.
    • setCndnContrCndnRecord

      public void setCndnContrCndnRecord(CndnContrConditionRecord value)
      Overwrites the associated CndnContrConditionRecord entity for the loaded navigation property _CndnContrCndnRecord.
      Parameters:
      value - New CndnContrConditionRecord entity.
    • getConditionContractIfPresent

      @Nonnull public io.vavr.control.Option<ConditionContract> getConditionContractIfPresent()
      Retrieval of associated ConditionContract entity (one to one). This corresponds to the OData navigation property _ConditionContract.

      If the navigation property for an entity CndnContrConditionRecordScale 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 _ConditionContract is already loaded, the result will contain the ConditionContract entity. If not, an Option with result state empty is returned.
    • setConditionContract

      public void setConditionContract(ConditionContract value)
      Overwrites the associated ConditionContract entity for the loaded navigation property _ConditionContract.
      Parameters:
      value - New ConditionContract entity.
    • builder

    • getConditionContract

      @Nullable public String getConditionContract()
      (Key Field) Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: ConditionContract

      Returns:
      Condition Contract
    • getConditionRecord

      @Nullable public String getConditionRecord()
      (Key Field) Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: ConditionRecord

      Returns:
      Number of Condition Record
    • getConditionScaleLine

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

      Original property name from the Odata EDM: ConditionScaleLine

      Returns:
      Current number of the line scale
    • getConditionScaleQuantity

      @Nullable public BigDecimal getConditionScaleQuantity()
      Constraints: Not nullable, Precision: 15, Scale: 3

      Original property name from the Odata EDM: ConditionScaleQuantity

      Returns:
      Condition Scale Quantity
    • getConditionScaleQuantityUnit

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

      Original property name from the Odata EDM: ConditionScaleQuantityUnit

      Returns:
      Condition Scale Unit of Measure
    • getCndnScaleQuantityUnitISOCode

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

      Original property name from the Odata EDM: CndnScaleQuantityUnitISOCode

      Returns:
      Condition Scale Unit of Measure in ISO Code
    • getCndnScaleQuantityUnitSAPCode

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

      Original property name from the Odata EDM: CndnScaleQuantityUnitSAPCode

      Returns:
      Condition Scale Unit of Measure in SAP Code
    • getConditionScaleAmount

      @Nullable public BigDecimal getConditionScaleAmount()
      Constraints: Not nullable, Precision: 24, Scale: 9

      Original property name from the Odata EDM: ConditionScaleAmount

      Returns:
      Condition Scale Value (Transactional Processing)
    • getConditionScaleAmountCurrency

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

      Original property name from the Odata EDM: ConditionScaleAmountCurrency

      Returns:
      Scale Currency
    • getConditionRateAmount

      @Nullable public BigDecimal getConditionRateAmount()
      Constraints: Not nullable, Precision: 24, Scale: 9

      Original property name from the Odata EDM: ConditionRateAmount

      Returns:
      Condition Amount (Transactional Processing)
    • getConditionCurrency

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

      Original property name from the Odata EDM: ConditionCurrency

      Returns:
      Condition Unit (Currency or Percentage)
    • getConditionQuantity

      @Nullable public BigDecimal getConditionQuantity()
      Constraints: Not nullable, Precision: 5

      Original property name from the Odata EDM: ConditionQuantity

      Returns:
      Condition Pricing Unit
    • getConditionQuantityUnit

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

      Original property name from the Odata EDM: ConditionQuantityUnit

      Returns:
      Condition Unit
    • getConditionQuantityUnitISOCode

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

      Original property name from the Odata EDM: ConditionQuantityUnitISOCode

      Returns:
      Condition Quantity Unit in ISO code
    • getConditionQuantityUnitSAPCode

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

      Original property name from the Odata EDM: ConditionQuantityUnitSAPCode

      Returns:
      Condition Quantity Unit in SAP code
    • getConditionRateRatio

      @Nullable public BigDecimal getConditionRateRatio()
      Constraints: Not nullable, Precision: 24, Scale: 9

      Original property name from the Odata EDM: ConditionRateRatio

      Returns:
      Condition Percentage (Transactional Processing)
    • getConditionRateRatioUnit

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

      Original property name from the Odata EDM: ConditionRateRatioUnit

      Returns:
      Percent Sign (Transactional Processing)
    • getConditionRateRatioUnitISOCode

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

      Original property name from the Odata EDM: ConditionRateRatioUnitISOCode

      Returns:
      Percent Sign in ISO Code
    • getConditionRateRatioUnitSAPCode

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

      Original property name from the Odata EDM: ConditionRateRatioUnitSAPCode

      Returns:
      Percent Sign in SAP Code
    • getConditionTable

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

      Original property name from the Odata EDM: ConditionTable

      Returns:
      Condition Table
    • getConditionApplication

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

      Original property name from the Odata EDM: ConditionApplication

      Returns:
      Application
    • getConditionType

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

      Original property name from the Odata EDM: ConditionType

      Returns:
      Condition Type
    • getConditionCalculationType

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

      Original property name from the Odata EDM: ConditionCalculationType

      Returns:
      Calculation Type for Condition
    • getPricingScaleBasis

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

      Original property name from the Odata EDM: PricingScaleBasis

      Returns:
      Scale Basis Indicator
    • getPricingScaleType

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

      Original property name from the Odata EDM: PricingScaleType

      Returns:
      Scale Type
    • toString

      @Nonnull public String toString()
      Overrides:
      toString in class VdmObject<CndnContrConditionRecordScale>
    • equals

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

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

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

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