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

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

Original entity name from the Odata EDM: SrcgProjItmCndnAmount_Type

  • Field Details

  • Constructor Details

    • SrcgProjItmCndnAmount

      public SrcgProjItmCndnAmount()
    • SrcgProjItmCndnAmount

      public SrcgProjItmCndnAmount(@Nullable UUID srcgProjItemCndnAmountUUID, @Nullable UUID sourcingProjectUUID, @Nullable UUID srcgProjItemCndnValdtyUUID, @Nullable String conditionType, @Nullable String srcgProjPricingScaleBasis, @Nullable Boolean srcgProjItemCndnIsMand, @Nullable Boolean srcgProjItemCndnIsExcld, @Nullable BigDecimal conditionQuantity, @Nullable String conditionQuantityUnit, @Nullable String conditionQuantityUnitISOCode, @Nullable String conditionSequentialNumberShort, @Nullable LocalDate conditionValidityEndDate, @Nullable LocalDate conditionValidityStartDate, @Nullable Boolean suplrCostBreakdownIsRelevant, @Nullable String conditionCalculationType, @Nullable String procmtHubPlantUniqueID, @Nullable String procurementHubSourceSystem, @Nullable String procurementHubSourceSystemName, @Nullable String procmtHubPlant, @Nullable String procmtHubPlantName, @Nullable SourcingProject to_SourcingProject, List<SrcgProjItmCndnScale> to_SrcgProjItmCndnScale, @Nullable SrcgProjItmCndnValidity to_SrcgProjItmCndnValidity)
  • Method Details

    • getType

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

      public void setSrcgProjItemCndnAmountUUID(@Nullable UUID srcgProjItemCndnAmountUUID)
      (Key Field) Constraints: Not nullable

      Original property name from the Odata EDM: SrcgProjItemCndnAmountUUID

      Parameters:
      srcgProjItemCndnAmountUUID - Condition Amount UUID in Sourcing Project
    • setSourcingProjectUUID

      public void setSourcingProjectUUID(@Nullable UUID sourcingProjectUUID)
      Constraints: Not nullable

      Original property name from the Odata EDM: SourcingProjectUUID

      Parameters:
      sourcingProjectUUID - Sourcing Project UUID
    • setSrcgProjItemCndnValdtyUUID

      public void setSrcgProjItemCndnValdtyUUID(@Nullable UUID srcgProjItemCndnValdtyUUID)
      Constraints: Not nullable

      Original property name from the Odata EDM: SrcgProjItemCndnValdtyUUID

      Parameters:
      srcgProjItemCndnValdtyUUID - Condition Validity UUID in Sourcing Project
    • 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
    • setSrcgProjPricingScaleBasis

      public void setSrcgProjPricingScaleBasis(@Nullable String srcgProjPricingScaleBasis)
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: SrcgProjPricingScaleBasis

      Parameters:
      srcgProjPricingScaleBasis - Scale Base Type
    • setSrcgProjItemCndnIsMand

      public void setSrcgProjItemCndnIsMand(@Nullable Boolean srcgProjItemCndnIsMand)
      Constraints: Not nullable

      Original property name from the Odata EDM: SrcgProjItemCndnIsMand

      Parameters:
      srcgProjItemCndnIsMand - Indicator Condition is Mandatory in Sourcing Project
    • setSrcgProjItemCndnIsExcld

      public void setSrcgProjItemCndnIsExcld(@Nullable Boolean srcgProjItemCndnIsExcld)
      Constraints: Not nullable

      Original property name from the Odata EDM: SrcgProjItemCndnIsExcld

      Parameters:
      srcgProjItemCndnIsExcld - Indicator Condition is Excluded from Quotation
    • 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
    • setConditionSequentialNumberShort

      public void setConditionSequentialNumberShort(@Nullable String conditionSequentialNumberShort)
      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
    • setSuplrCostBreakdownIsRelevant

      public void setSuplrCostBreakdownIsRelevant(@Nullable Boolean suplrCostBreakdownIsRelevant)
      Constraints: Not nullable

      Original property name from the Odata EDM: SuplrCostBreakdownIsRelevant

      Parameters:
      suplrCostBreakdownIsRelevant - Condition is Relevant for Cost Breakdown
    • 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
    • setProcmtHubPlantUniqueID

      public void setProcmtHubPlantUniqueID(@Nullable String procmtHubPlantUniqueID)
      Constraints: Not nullable, Maximum length: 30

      Original property name from the Odata EDM: ProcmtHubPlantUniqueID

      Parameters:
      procmtHubPlantUniqueID - Plant Unique ID
    • setProcurementHubSourceSystem

      public void setProcurementHubSourceSystem(@Nullable String procurementHubSourceSystem)
      Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: ProcurementHubSourceSystem

      Parameters:
      procurementHubSourceSystem - Connected System ID
    • setProcurementHubSourceSystemName

      public void setProcurementHubSourceSystemName(@Nullable String procurementHubSourceSystemName)
      Constraints: Not nullable, Maximum length: 30

      Original property name from the Odata EDM: ProcurementHubSourceSystemName

      Parameters:
      procurementHubSourceSystemName - Connected System Name
    • setProcmtHubPlant

      public void setProcmtHubPlant(@Nullable String procmtHubPlant)
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: ProcmtHubPlant

      Parameters:
      procmtHubPlant - Connected Plant
    • setProcmtHubPlantName

      public void setProcmtHubPlantName(@Nullable String procmtHubPlantName)
      Constraints: Not nullable, Maximum length: 30

      Original property name from the Odata EDM: ProcmtHubPlantName

      Parameters:
      procmtHubPlantName - Plant Name
    • getEntityCollection

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

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

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

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

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

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

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

      If the navigation property for an entity SrcgProjItmCndnAmount 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 _SourcingProject is already loaded, the result will contain the SourcingProject entity. If not, an Option with result state empty is returned.
    • setSourcingProject

      public void setSourcingProject(SourcingProject value)
      Overwrites the associated SourcingProject entity for the loaded navigation property _SourcingProject.
      Parameters:
      value - New SourcingProject entity.
    • getSrcgProjItmCndnScaleIfPresent

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

      If the navigation property for an entity SrcgProjItmCndnAmount 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 _SrcgProjItmCndnScale is already loaded, the result will contain the SrcgProjItmCndnScale entities. If not, an Option with result state empty is returned.
    • setSrcgProjItmCndnScale

      public void setSrcgProjItmCndnScale(@Nonnull List<SrcgProjItmCndnScale> value)
      Overwrites the list of associated SrcgProjItmCndnScale entities for the loaded navigation property _SrcgProjItmCndnScale.

      If the navigation property _SrcgProjItmCndnScale of a queried SrcgProjItmCndnAmount 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 SrcgProjItmCndnScale entities.
    • addSrcgProjItmCndnScale

      public void addSrcgProjItmCndnScale(SrcgProjItmCndnScale... entity)
      Adds elements to the list of associated SrcgProjItmCndnScale entities. This corresponds to the OData navigation property _SrcgProjItmCndnScale.

      If the navigation property _SrcgProjItmCndnScale of a queried SrcgProjItmCndnAmount 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 SrcgProjItmCndnScale entities.
    • getSrcgProjItmCndnValidityIfPresent

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

      If the navigation property for an entity SrcgProjItmCndnAmount 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 _SrcgProjItmCndnValidity is already loaded, the result will contain the SrcgProjItmCndnValidity entity. If not, an Option with result state empty is returned.
    • setSrcgProjItmCndnValidity

      public void setSrcgProjItmCndnValidity(SrcgProjItmCndnValidity value)
      Overwrites the associated SrcgProjItmCndnValidity entity for the loaded navigation property _SrcgProjItmCndnValidity.
      Parameters:
      value - New SrcgProjItmCndnValidity entity.
    • builder

      @Nonnull public static SrcgProjItmCndnAmount.SrcgProjItmCndnAmountBuilder builder()
    • getSrcgProjItemCndnAmountUUID

      @Nullable public UUID getSrcgProjItemCndnAmountUUID()
      (Key Field) Constraints: Not nullable

      Original property name from the Odata EDM: SrcgProjItemCndnAmountUUID

      Returns:
      Condition Amount UUID in Sourcing Project
    • getSourcingProjectUUID

      @Nullable public UUID getSourcingProjectUUID()
      Constraints: Not nullable

      Original property name from the Odata EDM: SourcingProjectUUID

      Returns:
      Sourcing Project UUID
    • getSrcgProjItemCndnValdtyUUID

      @Nullable public UUID getSrcgProjItemCndnValdtyUUID()
      Constraints: Not nullable

      Original property name from the Odata EDM: SrcgProjItemCndnValdtyUUID

      Returns:
      Condition Validity UUID in Sourcing Project
    • getConditionType

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

      Original property name from the Odata EDM: ConditionType

      Returns:
      Condition Type
    • getSrcgProjPricingScaleBasis

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

      Original property name from the Odata EDM: SrcgProjPricingScaleBasis

      Returns:
      Scale Base Type
    • getSrcgProjItemCndnIsMand

      @Nullable public Boolean getSrcgProjItemCndnIsMand()
      Constraints: Not nullable

      Original property name from the Odata EDM: SrcgProjItemCndnIsMand

      Returns:
      Indicator Condition is Mandatory in Sourcing Project
    • getSrcgProjItemCndnIsExcld

      @Nullable public Boolean getSrcgProjItemCndnIsExcld()
      Constraints: Not nullable

      Original property name from the Odata EDM: SrcgProjItemCndnIsExcld

      Returns:
      Indicator Condition is Excluded from Quotation
    • 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
    • getConditionSequentialNumberShort

      @Nullable public String getConditionSequentialNumberShort()
      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
    • getSuplrCostBreakdownIsRelevant

      @Nullable public Boolean getSuplrCostBreakdownIsRelevant()
      Constraints: Not nullable

      Original property name from the Odata EDM: SuplrCostBreakdownIsRelevant

      Returns:
      Condition is Relevant for Cost Breakdown
    • getConditionCalculationType

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

      Original property name from the Odata EDM: ConditionCalculationType

      Returns:
      Calculation Type for Condition
    • getProcmtHubPlantUniqueID

      @Nullable public String getProcmtHubPlantUniqueID()
      Constraints: Not nullable, Maximum length: 30

      Original property name from the Odata EDM: ProcmtHubPlantUniqueID

      Returns:
      Plant Unique ID
    • getProcurementHubSourceSystem

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

      Original property name from the Odata EDM: ProcurementHubSourceSystem

      Returns:
      Connected System ID
    • getProcurementHubSourceSystemName

      @Nullable public String getProcurementHubSourceSystemName()
      Constraints: Not nullable, Maximum length: 30

      Original property name from the Odata EDM: ProcurementHubSourceSystemName

      Returns:
      Connected System Name
    • getProcmtHubPlant

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

      Original property name from the Odata EDM: ProcmtHubPlant

      Returns:
      Connected Plant
    • getProcmtHubPlantName

      @Nullable public String getProcmtHubPlantName()
      Constraints: Not nullable, Maximum length: 30

      Original property name from the Odata EDM: ProcmtHubPlantName

      Returns:
      Plant Name
    • toString

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

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

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

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

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