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

public class SrcgProjNegotiationQuotationItem extends VdmEntity<SrcgProjNegotiationQuotationItem> implements VdmEntitySet
Quotation Item for Srcg Proj Negotiation

Original entity name from the Odata EDM: SrcgProjNegotiationQuotationItem_Type

  • Field Details

  • Constructor Details

    • SrcgProjNegotiationQuotationItem

      public SrcgProjNegotiationQuotationItem()
    • SrcgProjNegotiationQuotationItem

      public SrcgProjNegotiationQuotationItem(@Nullable UUID srcgProjNegttnQtanItemUUID, @Nullable UUID srcgProjNegttnQuotationUUID, @Nullable UUID sourcingProjectNegotiationUUID, @Nullable UUID srcgProjQtnItemUUID, @Nullable String sourcingProjectQuotationItem, @Nullable BigDecimal srcgProjNegttnTargetNetPrcAmt, @Nullable String documentCurrency, @Nullable String srcgProjNegttnItmInclusionType, @Nullable String srcgProjQtnItemClassification, @Nullable BigDecimal srcgProjNegttnMaxTargetQty, @Nullable BigDecimal srcgProjNegttnTotalTargetQty, @Nullable String requestedQuantityUnit, @Nullable BigDecimal requestedQuantity, @Nullable BigDecimal srcgProjQtnOfferedQuantity, @Nullable String srcgProjQtnOfferCurrency, @Nullable BigDecimal netPriceAmount, @Nullable BigDecimal srcgProjQtnItemTotNetAmt, @Nullable BigDecimal srcgProjItemTargetAmount, @Nullable String srcgProjQuotationItemType, @Nullable String srcgProjQuotationItemParent, @Nullable BigDecimal srcgProjNegttnTargetQuantity, @Nullable SourcingProjectNegotiation to_SourcingProjectNegotiationTP, List<SPNegttnQtnItemDemandDistr> to_SPNegttnQtnItemDemandDistrTP, @Nullable SrcgProjNegotiationQuotation to_SrcgProjNegttnQuotationTP)
  • Method Details

    • getType

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

      public void setSrcgProjNegttnQtanItemUUID(@Nullable UUID srcgProjNegttnQtanItemUUID)
      (Key Field) Constraints: Not nullable

      Original property name from the Odata EDM: SrcgProjNegttnQtanItemUUID

      Parameters:
      srcgProjNegttnQtanItemUUID - UUID of Quotation Item in Negotiation
    • setSrcgProjNegttnQuotationUUID

      public void setSrcgProjNegttnQuotationUUID(@Nullable UUID srcgProjNegttnQuotationUUID)
      Constraints: Not nullable

      Original property name from the Odata EDM: SrcgProjNegttnQuotationUUID

      Parameters:
      srcgProjNegttnQuotationUUID - Negotiation Quotation UUID
    • setSourcingProjectNegotiationUUID

      public void setSourcingProjectNegotiationUUID(@Nullable UUID sourcingProjectNegotiationUUID)
      Constraints: Not nullable

      Original property name from the Odata EDM: SourcingProjectNegotiationUUID

      Parameters:
      sourcingProjectNegotiationUUID - Negotiation UUID
    • setSrcgProjQtnItemUUID

      public void setSrcgProjQtnItemUUID(@Nullable UUID srcgProjQtnItemUUID)
      Constraints: Nullable

      Original property name from the Odata EDM: SrcgProjQtnItemUUID

      Parameters:
      srcgProjQtnItemUUID - Supplier Quotation Item UUID
    • setSourcingProjectQuotationItem

      public void setSourcingProjectQuotationItem(@Nullable String sourcingProjectQuotationItem)
      Constraints: Not nullable, Maximum length: 5

      Original property name from the Odata EDM: SourcingProjectQuotationItem

      Parameters:
      sourcingProjectQuotationItem - Supplier Quotation Item
    • setSrcgProjNegttnTargetNetPrcAmt

      public void setSrcgProjNegttnTargetNetPrcAmt(@Nullable BigDecimal srcgProjNegttnTargetNetPrcAmt)
      Constraints: Not nullable, Precision: 11, Scale: 0

      Original property name from the Odata EDM: SrcgProjNegttnTargetNetPrcAmt

      Parameters:
      srcgProjNegttnTargetNetPrcAmt - Negotiation Target per UoM
    • setDocumentCurrency

      public void setDocumentCurrency(@Nullable String documentCurrency)
      Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: DocumentCurrency

      Parameters:
      documentCurrency - Document Currency
    • setSrcgProjNegttnItmInclusionType

      public void setSrcgProjNegttnItmInclusionType(@Nullable String srcgProjNegttnItmInclusionType)
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: SrcgProjNegttnItmInclusionType

      Parameters:
      srcgProjNegttnItmInclusionType - Include Type Code of Negotiation Item
    • setSrcgProjQtnItemClassification

      public void setSrcgProjQtnItemClassification(@Nullable String srcgProjQtnItemClassification)
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: SrcgProjQtnItemClassification

      Parameters:
      srcgProjQtnItemClassification - Classification of Sourcing Project Item
    • setSrcgProjNegttnMaxTargetQty

      public void setSrcgProjNegttnMaxTargetQty(@Nullable BigDecimal srcgProjNegttnMaxTargetQty)
      Constraints: Not nullable, Precision: 13, Scale: 3

      Original property name from the Odata EDM: SrcgProjNegttnMaxTargetQty

      Parameters:
      srcgProjNegttnMaxTargetQty - Maximum Negotiation Target Quantity
    • setSrcgProjNegttnTotalTargetQty

      public void setSrcgProjNegttnTotalTargetQty(@Nullable BigDecimal srcgProjNegttnTotalTargetQty)
      Constraints: Not nullable, Precision: 13, Scale: 3

      Original property name from the Odata EDM: SrcgProjNegttnTotalTargetQty

      Parameters:
      srcgProjNegttnTotalTargetQty - Total Negotiation Target Quantity
    • setRequestedQuantityUnit

      public void setRequestedQuantityUnit(@Nullable String requestedQuantityUnit)
      Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: RequestedQuantityUnit

      Parameters:
      requestedQuantityUnit - Requested Quantity Unit
    • setRequestedQuantity

      public void setRequestedQuantity(@Nullable BigDecimal requestedQuantity)
      Constraints: Not nullable, Precision: 13, Scale: 3

      Original property name from the Odata EDM: RequestedQuantity

      Parameters:
      requestedQuantity - Requested Quantity
    • setSrcgProjQtnOfferedQuantity

      public void setSrcgProjQtnOfferedQuantity(@Nullable BigDecimal srcgProjQtnOfferedQuantity)
      Constraints: Not nullable, Precision: 13, Scale: 3

      Original property name from the Odata EDM: SrcgProjQtnOfferedQuantity

      Parameters:
      srcgProjQtnOfferedQuantity - Offered Quantity Supplier Quotation
    • setSrcgProjQtnOfferCurrency

      public void setSrcgProjQtnOfferCurrency(@Nullable String srcgProjQtnOfferCurrency)
      Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: SrcgProjQtnOfferCurrency

      Parameters:
      srcgProjQtnOfferCurrency - Quotation Currency in Supplier Quotation (Sourcing Project)
    • setNetPriceAmount

      public void setNetPriceAmount(@Nullable BigDecimal netPriceAmount)
      Constraints: Not nullable, Precision: 11, Scale: 0

      Original property name from the Odata EDM: NetPriceAmount

      Parameters:
      netPriceAmount - Net Order Price
    • setSrcgProjQtnItemTotNetAmt

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

      Original property name from the Odata EDM: SrcgProjQtnItemTotNetAmt

      Parameters:
      srcgProjQtnItemTotNetAmt - Sourcing Project Quotation Item Total Net Amount
    • setSrcgProjItemTargetAmount

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

      Original property name from the Odata EDM: SrcgProjItemTargetAmount

      Parameters:
      srcgProjItemTargetAmount - Target Price for Item in Sourcing Project
    • setSrcgProjQuotationItemType

      public void setSrcgProjQuotationItemType(@Nullable String srcgProjQuotationItemType)
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: SrcgProjQuotationItemType

      Parameters:
      srcgProjQuotationItemType - Sourcing Project Item Type
    • setSrcgProjQuotationItemParent

      public void setSrcgProjQuotationItemParent(@Nullable String srcgProjQuotationItemParent)
      Constraints: Not nullable, Maximum length: 5

      Original property name from the Odata EDM: SrcgProjQuotationItemParent

      Parameters:
      srcgProjQuotationItemParent - Sourcing Project Item Parent
    • setSrcgProjNegttnTargetQuantity

      public void setSrcgProjNegttnTargetQuantity(@Nullable BigDecimal srcgProjNegttnTargetQuantity)
      Constraints: Not nullable, Precision: 13, Scale: 3

      Original property name from the Odata EDM: SrcgProjNegttnTargetQuantity

      Parameters:
      srcgProjNegttnTargetQuantity - Negotiation Target Quantity
    • getEntityCollection

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

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

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

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

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

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

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

      If the navigation property for an entity SrcgProjNegotiationQuotationItem 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 _SourcingProjectNegotiationTP is already loaded, the result will contain the SourcingProjectNegotiation entity. If not, an Option with result state empty is returned.
    • setSourcingProjectNegotiationTP

      public void setSourcingProjectNegotiationTP(SourcingProjectNegotiation value)
      Overwrites the associated SourcingProjectNegotiation entity for the loaded navigation property _SourcingProjectNegotiationTP.
      Parameters:
      value - New SourcingProjectNegotiation entity.
    • getSPNegttnQtnItemDemandDistrTPIfPresent

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

      If the navigation property for an entity SrcgProjNegotiationQuotationItem 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 _SPNegttnQtnItemDemandDistrTP is already loaded, the result will contain the SPNegttnQtnItemDemandDistr entities. If not, an Option with result state empty is returned.
    • setSPNegttnQtnItemDemandDistrTP

      public void setSPNegttnQtnItemDemandDistrTP(@Nonnull List<SPNegttnQtnItemDemandDistr> value)
      Overwrites the list of associated SPNegttnQtnItemDemandDistr entities for the loaded navigation property _SPNegttnQtnItemDemandDistrTP.

      If the navigation property _SPNegttnQtnItemDemandDistrTP of a queried SrcgProjNegotiationQuotationItem 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 SPNegttnQtnItemDemandDistr entities.
    • addSPNegttnQtnItemDemandDistrTP

      public void addSPNegttnQtnItemDemandDistrTP(SPNegttnQtnItemDemandDistr... entity)
      Adds elements to the list of associated SPNegttnQtnItemDemandDistr entities. This corresponds to the OData navigation property _SPNegttnQtnItemDemandDistrTP.

      If the navigation property _SPNegttnQtnItemDemandDistrTP of a queried SrcgProjNegotiationQuotationItem 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 SPNegttnQtnItemDemandDistr entities.
    • getSrcgProjNegttnQuotationTPIfPresent

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

      If the navigation property for an entity SrcgProjNegotiationQuotationItem 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 _SrcgProjNegttnQuotationTP is already loaded, the result will contain the SrcgProjNegotiationQuotation entity. If not, an Option with result state empty is returned.
    • setSrcgProjNegttnQuotationTP

      public void setSrcgProjNegttnQuotationTP(SrcgProjNegotiationQuotation value)
      Overwrites the associated SrcgProjNegotiationQuotation entity for the loaded navigation property _SrcgProjNegttnQuotationTP.
      Parameters:
      value - New SrcgProjNegotiationQuotation entity.
    • builder

    • getSrcgProjNegttnQtanItemUUID

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

      Original property name from the Odata EDM: SrcgProjNegttnQtanItemUUID

      Returns:
      UUID of Quotation Item in Negotiation
    • getSrcgProjNegttnQuotationUUID

      @Nullable public UUID getSrcgProjNegttnQuotationUUID()
      Constraints: Not nullable

      Original property name from the Odata EDM: SrcgProjNegttnQuotationUUID

      Returns:
      Negotiation Quotation UUID
    • getSourcingProjectNegotiationUUID

      @Nullable public UUID getSourcingProjectNegotiationUUID()
      Constraints: Not nullable

      Original property name from the Odata EDM: SourcingProjectNegotiationUUID

      Returns:
      Negotiation UUID
    • getSrcgProjQtnItemUUID

      @Nullable public UUID getSrcgProjQtnItemUUID()
      Constraints: Nullable

      Original property name from the Odata EDM: SrcgProjQtnItemUUID

      Returns:
      Supplier Quotation Item UUID
    • getSourcingProjectQuotationItem

      @Nullable public String getSourcingProjectQuotationItem()
      Constraints: Not nullable, Maximum length: 5

      Original property name from the Odata EDM: SourcingProjectQuotationItem

      Returns:
      Supplier Quotation Item
    • getSrcgProjNegttnTargetNetPrcAmt

      @Nullable public BigDecimal getSrcgProjNegttnTargetNetPrcAmt()
      Constraints: Not nullable, Precision: 11, Scale: 0

      Original property name from the Odata EDM: SrcgProjNegttnTargetNetPrcAmt

      Returns:
      Negotiation Target per UoM
    • getDocumentCurrency

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

      Original property name from the Odata EDM: DocumentCurrency

      Returns:
      Document Currency
    • getSrcgProjNegttnItmInclusionType

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

      Original property name from the Odata EDM: SrcgProjNegttnItmInclusionType

      Returns:
      Include Type Code of Negotiation Item
    • getSrcgProjQtnItemClassification

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

      Original property name from the Odata EDM: SrcgProjQtnItemClassification

      Returns:
      Classification of Sourcing Project Item
    • getSrcgProjNegttnMaxTargetQty

      @Nullable public BigDecimal getSrcgProjNegttnMaxTargetQty()
      Constraints: Not nullable, Precision: 13, Scale: 3

      Original property name from the Odata EDM: SrcgProjNegttnMaxTargetQty

      Returns:
      Maximum Negotiation Target Quantity
    • getSrcgProjNegttnTotalTargetQty

      @Nullable public BigDecimal getSrcgProjNegttnTotalTargetQty()
      Constraints: Not nullable, Precision: 13, Scale: 3

      Original property name from the Odata EDM: SrcgProjNegttnTotalTargetQty

      Returns:
      Total Negotiation Target Quantity
    • getRequestedQuantityUnit

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

      Original property name from the Odata EDM: RequestedQuantityUnit

      Returns:
      Requested Quantity Unit
    • getRequestedQuantity

      @Nullable public BigDecimal getRequestedQuantity()
      Constraints: Not nullable, Precision: 13, Scale: 3

      Original property name from the Odata EDM: RequestedQuantity

      Returns:
      Requested Quantity
    • getSrcgProjQtnOfferedQuantity

      @Nullable public BigDecimal getSrcgProjQtnOfferedQuantity()
      Constraints: Not nullable, Precision: 13, Scale: 3

      Original property name from the Odata EDM: SrcgProjQtnOfferedQuantity

      Returns:
      Offered Quantity Supplier Quotation
    • getSrcgProjQtnOfferCurrency

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

      Original property name from the Odata EDM: SrcgProjQtnOfferCurrency

      Returns:
      Quotation Currency in Supplier Quotation (Sourcing Project)
    • getNetPriceAmount

      @Nullable public BigDecimal getNetPriceAmount()
      Constraints: Not nullable, Precision: 11, Scale: 0

      Original property name from the Odata EDM: NetPriceAmount

      Returns:
      Net Order Price
    • getSrcgProjQtnItemTotNetAmt

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

      Original property name from the Odata EDM: SrcgProjQtnItemTotNetAmt

      Returns:
      Sourcing Project Quotation Item Total Net Amount
    • getSrcgProjItemTargetAmount

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

      Original property name from the Odata EDM: SrcgProjItemTargetAmount

      Returns:
      Target Price for Item in Sourcing Project
    • getSrcgProjQuotationItemType

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

      Original property name from the Odata EDM: SrcgProjQuotationItemType

      Returns:
      Sourcing Project Item Type
    • getSrcgProjQuotationItemParent

      @Nullable public String getSrcgProjQuotationItemParent()
      Constraints: Not nullable, Maximum length: 5

      Original property name from the Odata EDM: SrcgProjQuotationItemParent

      Returns:
      Sourcing Project Item Parent
    • getSrcgProjNegttnTargetQuantity

      @Nullable public BigDecimal getSrcgProjNegttnTargetQuantity()
      Constraints: Not nullable, Precision: 13, Scale: 3

      Original property name from the Odata EDM: SrcgProjNegttnTargetQuantity

      Returns:
      Negotiation Target Quantity
    • toString

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

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

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

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

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