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

public class SrcgProjQtnItmCndnAmount extends VdmEntity<SrcgProjQtnItmCndnAmount> implements VdmEntitySet
Condition Amount

Original entity name from the Odata EDM: SrcgProjQtnItmCndnAmount_Type

  • Field Details

  • Constructor Details

    • SrcgProjQtnItmCndnAmount

      public SrcgProjQtnItmCndnAmount()
    • SrcgProjQtnItmCndnAmount

      public SrcgProjQtnItmCndnAmount(@Nullable String conditionRecord, @Nullable String conditionSequentialNumberShort, @Nullable LocalDate conditionValidityEndDate, @Nullable LocalDate conditionValidityStartDate, @Nullable String conditionType, @Nullable String conditionCalculationTypeShort, @Nullable BigDecimal conditionRateAmount, @Nullable String conditionCurrency, @Nullable BigDecimal conditionRateRatio, @Nullable String conditionRateRatioUnit, @Nullable String conditionRateRatioUnitISOCode, @Nullable BigDecimal conditionQuantity, @Nullable String conditionQuantityUnit, @Nullable String conditionQuantityUnitISOCode, @Nullable Boolean conditionIsDeleted, @Nullable String conditionChangeReason, @Nullable UUID sourcingProjectQuotationUUID, @Nullable SourcingProjectQuotation to_SourcingProjectQuotation, List<SrcgProjQtnItmCndnScale> to_SrcgProjQtnItmCndnScale, @Nullable SrcgProjQtnItmCndnValidity to_SrcgProjQtnItmCndnValidity)
  • Method Details

    • getType

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

      public void setConditionValidityEndDate(@Nullable LocalDate conditionValidityEndDate)
      Constraints: Nullable

      Original property name from the Odata EDM: ConditionValidityEndDate

      Parameters:
      conditionValidityEndDate - Validity end date of the condition record
    • setConditionValidityStartDate

      public void setConditionValidityStartDate(@Nullable LocalDate conditionValidityStartDate)
      Constraints: Nullable

      Original property name from the Odata EDM: ConditionValidityStartDate

      Parameters:
      conditionValidityStartDate - Validity start date of the condition record
    • 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
    • setConditionCalculationTypeShort

      public void setConditionCalculationTypeShort(@Nullable String conditionCalculationTypeShort)
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: ConditionCalculationTypeShort

      Parameters:
      conditionCalculationTypeShort - Calculation Type for Condition
    • 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)
    • 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
    • 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 - ISO Unit Code for Condition Quantity
    • setConditionIsDeleted

      public void setConditionIsDeleted(@Nullable Boolean conditionIsDeleted)
      Constraints: Not nullable

      Original property name from the Odata EDM: ConditionIsDeleted

      Parameters:
      conditionIsDeleted - Deletion Indicator for Condition Record
    • setConditionChangeReason

      public void setConditionChangeReason(@Nullable String conditionChangeReason)
      Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: ConditionChangeReason

      Parameters:
      conditionChangeReason - Reason for Changing Condition Record
    • 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<SrcgProjQtnItmCndnAmount>
    • getKey

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

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

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

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

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

      @Nonnull public io.vavr.control.Option<List<SrcgProjQtnItmCndnScale>> getSrcgProjQtnItmCndnScaleIfPresent()
      Retrieval of associated SrcgProjQtnItmCndnScale entities (one to many). This corresponds to the OData navigation property _SrcgProjQtnItmCndnScale.

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

      public void setSrcgProjQtnItmCndnScale(@Nonnull List<SrcgProjQtnItmCndnScale> value)
      Overwrites the list of associated SrcgProjQtnItmCndnScale entities for the loaded navigation property _SrcgProjQtnItmCndnScale.

      If the navigation property _SrcgProjQtnItmCndnScale of a queried SrcgProjQtnItmCndnAmount is operated lazily, an ODataException can be thrown in case of an OData query error.

      Please note: Lazy loading of OData entity associations is the process of asynchronous retrieval and persisting of items from a navigation property. If a lazy property is requested by the application for the first time and it has not yet been loaded, an OData query will be run in order to load the missing information and its result will get cached for future invocations.

      Parameters:
      value - List of SrcgProjQtnItmCndnScale entities.
    • addSrcgProjQtnItmCndnScale

      public void addSrcgProjQtnItmCndnScale(SrcgProjQtnItmCndnScale... entity)
      Adds elements to the list of associated SrcgProjQtnItmCndnScale entities. This corresponds to the OData navigation property _SrcgProjQtnItmCndnScale.

      If the navigation property _SrcgProjQtnItmCndnScale of a queried SrcgProjQtnItmCndnAmount is operated lazily, an ODataException can be thrown in case of an OData query error.

      Please note: Lazy loading of OData entity associations is the process of asynchronous retrieval and persisting of items from a navigation property. If a lazy property is requested by the application for the first time and it has not yet been loaded, an OData query will be run in order to load the missing information and its result will get cached for future invocations.

      Parameters:
      entity - Array of SrcgProjQtnItmCndnScale entities.
    • getSrcgProjQtnItmCndnValidityIfPresent

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

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

      public void setSrcgProjQtnItmCndnValidity(SrcgProjQtnItmCndnValidity value)
      Overwrites the associated SrcgProjQtnItmCndnValidity entity for the loaded navigation property _SrcgProjQtnItmCndnValidity.
      Parameters:
      value - New SrcgProjQtnItmCndnValidity 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
    • getConditionValidityEndDate

      @Nullable public LocalDate getConditionValidityEndDate()
      Constraints: Nullable

      Original property name from the Odata EDM: ConditionValidityEndDate

      Returns:
      Validity end date of the condition record
    • getConditionValidityStartDate

      @Nullable public LocalDate getConditionValidityStartDate()
      Constraints: Nullable

      Original property name from the Odata EDM: ConditionValidityStartDate

      Returns:
      Validity start date of the condition record
    • getConditionType

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

      Original property name from the Odata EDM: ConditionType

      Returns:
      Condition Type
    • getConditionCalculationTypeShort

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

      Original property name from the Odata EDM: ConditionCalculationTypeShort

      Returns:
      Calculation Type for Condition
    • 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)
    • 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
    • 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:
      ISO Unit Code for Condition Quantity
    • getConditionIsDeleted

      @Nullable public Boolean getConditionIsDeleted()
      Constraints: Not nullable

      Original property name from the Odata EDM: ConditionIsDeleted

      Returns:
      Deletion Indicator for Condition Record
    • getConditionChangeReason

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

      Original property name from the Odata EDM: ConditionChangeReason

      Returns:
      Reason for Changing Condition Record
    • 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<SrcgProjQtnItmCndnAmount>
    • equals

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

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

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

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