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

public class SrcgProjQtnItmCndnScale extends VdmEntity<SrcgProjQtnItmCndnScale> implements VdmEntitySet
Condition Scale

Original entity name from the Odata EDM: SrcgProjQtnItmCndnScale_Type

  • Field Details

  • Constructor Details

    • SrcgProjQtnItmCndnScale

      public SrcgProjQtnItmCndnScale()
    • SrcgProjQtnItmCndnScale

      public SrcgProjQtnItmCndnScale(@Nullable String conditionRecord, @Nullable String conditionSequentialNumberShort, @Nullable String conditionScaleLine, @Nullable BigDecimal conditionScaleQuantity, @Nullable String conditionScaleQuantityUnit, @Nullable String cndnScaleQuantityUnitISOCode, @Nullable BigDecimal conditionScaleAmount, @Nullable String conditionScaleAmountCurrency, @Nullable BigDecimal conditionRateRatio, @Nullable String conditionRateRatioUnit, @Nullable String conditionRateRatioUnitISOCode, @Nullable BigDecimal conditionRateAmount, @Nullable String conditionCurrency, @Nullable UUID sourcingProjectQuotationUUID, @Nullable SourcingProjectQuotation to_SourcingProjectQuotation, @Nullable SrcgProjQtnItmCndnAmount to_SrcgProjQtnItmCndnAmount)
  • Method Details

    • getType

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

      public void setConditionSequentialNumberShort(@Nullable String conditionSequentialNumberShort)
      (Key Field) Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: ConditionSequentialNumberShort

      Parameters:
      conditionSequentialNumberShort - Sequential number of the condition
    • 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 - ISO Unit Code for Condition Scale Quantity
    • setConditionScaleAmount

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

      Original property name from the Odata EDM: ConditionScaleAmount

      Parameters:
      conditionScaleAmount - Scale Value
    • 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
    • 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 Ratio (in Percent or Per Mille)
    • setConditionRateRatioUnit

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

      Original property name from the Odata EDM: ConditionRateRatioUnit

      Parameters:
      conditionRateRatioUnit - Unit of Measure
    • setConditionRateRatioUnitISOCode

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

      Original property name from the Odata EDM: ConditionRateRatioUnitISOCode

      Parameters:
      conditionRateRatioUnitISOCode - ISO Unit Code for Condition Rate Ratio
    • 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 or Percentage
    • 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)
    • setSourcingProjectQuotationUUID

      public void setSourcingProjectQuotationUUID(@Nullable UUID sourcingProjectQuotationUUID)
      Constraints: Not nullable

      Original property name from the Odata EDM: SourcingProjectQuotationUUID

      Parameters:
      sourcingProjectQuotationUUID - Supplier Quotation UUID
    • getEntityCollection

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

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

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

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

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

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

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

      If the navigation property for an entity SrcgProjQtnItmCndnScale 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 _SourcingProjectQuotation is already loaded, the result will contain the SourcingProjectQuotation entity. If not, an Option with result state empty is returned.
    • setSourcingProjectQuotation

      public void setSourcingProjectQuotation(SourcingProjectQuotation value)
      Overwrites the associated SourcingProjectQuotation entity for the loaded navigation property _SourcingProjectQuotation.
      Parameters:
      value - New SourcingProjectQuotation entity.
    • getSrcgProjQtnItmCndnAmountIfPresent

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

      If the navigation property for an entity SrcgProjQtnItmCndnScale 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 _SrcgProjQtnItmCndnAmount is already loaded, the result will contain the SrcgProjQtnItmCndnAmount entity. If not, an Option with result state empty is returned.
    • setSrcgProjQtnItmCndnAmount

      public void setSrcgProjQtnItmCndnAmount(SrcgProjQtnItmCndnAmount value)
      Overwrites the associated SrcgProjQtnItmCndnAmount entity for the loaded navigation property _SrcgProjQtnItmCndnAmount.
      Parameters:
      value - New SrcgProjQtnItmCndnAmount entity.
    • builder

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

      @Nullable public String getConditionSequentialNumberShort()
      (Key Field) Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: ConditionSequentialNumberShort

      Returns:
      Sequential number of the condition
    • 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:
      ISO Unit Code for Condition Scale Quantity
    • getConditionScaleAmount

      @Nullable public BigDecimal getConditionScaleAmount()
      Constraints: Not nullable, Precision: 15, Scale: 0

      Original property name from the Odata EDM: ConditionScaleAmount

      Returns:
      Scale Value
    • getConditionScaleAmountCurrency

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

      Original property name from the Odata EDM: ConditionScaleAmountCurrency

      Returns:
      Scale Currency
    • getConditionRateRatio

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

      Original property name from the Odata EDM: ConditionRateRatio

      Returns:
      Condition Ratio (in Percent or Per Mille)
    • getConditionRateRatioUnit

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

      Original property name from the Odata EDM: ConditionRateRatioUnit

      Returns:
      Unit of Measure
    • getConditionRateRatioUnitISOCode

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

      Original property name from the Odata EDM: ConditionRateRatioUnitISOCode

      Returns:
      ISO Unit Code for Condition Rate Ratio
    • getConditionRateAmount

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

      Original property name from the Odata EDM: ConditionRateAmount

      Returns:
      Condition Amount or Percentage
    • 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)
    • getSourcingProjectQuotationUUID

      @Nullable public UUID getSourcingProjectQuotationUUID()
      Constraints: Not nullable

      Original property name from the Odata EDM: SourcingProjectQuotationUUID

      Returns:
      Supplier Quotation UUID
    • toString

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

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

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

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

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