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

public class SrcgProjNegotiationQuotation extends VdmEntity<SrcgProjNegotiationQuotation> implements VdmEntitySet
Quotation for Srcg Project Negotiation

Original entity name from the Odata EDM: SrcgProjNegotiationQuotation_Type

  • Field Details

  • Constructor Details

    • SrcgProjNegotiationQuotation

      public SrcgProjNegotiationQuotation()
    • SrcgProjNegotiationQuotation

      public SrcgProjNegotiationQuotation(@Nullable UUID srcgProjNegttnQuotationUUID, @Nullable UUID sourcingProjectNegotiationUUID, @Nullable UUID sourcingProjectQuotationUUID, @Nullable String sourcingProjectQuotation, @Nullable String srcgProjQuotationVersion, @Nullable String bidder, @Nullable UUID sPQtnForNegttnLtstVersionUUID, @Nullable BigDecimal srcgProjNegttnTotalTargetAmt, @Nullable String documentCurrency, @Nullable Collection<SAP__Message> _Messages, @Nullable SourcingProjectNegotiation to_SourcingProjectNegotiationTP, List<SrcgProjNegotiationQuotationItem> to_SrcgProjNegttnQtanItemTP)
  • Method Details

    • getType

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

      public void setSrcgProjNegttnQuotationUUID(@Nullable UUID srcgProjNegttnQuotationUUID)
      (Key Field) 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
    • setSourcingProjectQuotationUUID

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

      Original property name from the Odata EDM: SourcingProjectQuotationUUID

      Parameters:
      sourcingProjectQuotationUUID - Supplier Quotation UUID
    • setSourcingProjectQuotation

      public void setSourcingProjectQuotation(@Nullable String sourcingProjectQuotation)
      Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: SourcingProjectQuotation

      Parameters:
      sourcingProjectQuotation - Supplier Quotation
    • setSrcgProjQuotationVersion

      public void setSrcgProjQuotationVersion(@Nullable String srcgProjQuotationVersion)
      Constraints: Not nullable, Maximum length: 5

      Original property name from the Odata EDM: SrcgProjQuotationVersion

      Parameters:
      srcgProjQuotationVersion - Sourcing Project Quotation Version
    • setBidder

      public void setBidder(@Nullable String bidder)
      Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: Bidder

      Parameters:
      bidder - Business Partner
    • setSPQtnForNegttnLtstVersionUUID

      public void setSPQtnForNegttnLtstVersionUUID(@Nullable UUID sPQtnForNegttnLtstVersionUUID)
      Constraints: Nullable

      Original property name from the Odata EDM: SPQtnForNegttnLtstVersionUUID

      Parameters:
      sPQtnForNegttnLtstVersionUUID - Supplier Quotation UUID
    • setSrcgProjNegttnTotalTargetAmt

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

      Original property name from the Odata EDM: SrcgProjNegttnTotalTargetAmt

      Parameters:
      srcgProjNegttnTotalTargetAmt - Total Negotiation Target Amount
    • 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
    • set_Messages

      public void set_Messages(@Nullable Collection<SAP__Message> _Messages)
      Constraints: Not nullable

      Original property name from the Odata EDM: SAP__Messages

      Parameters:
      _Messages - The _Messages to set.
    • getEntityCollection

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

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

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

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

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

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

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

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

      public void setSrcgProjNegttnQtanItemTP(@Nonnull List<SrcgProjNegotiationQuotationItem> value)
      Overwrites the list of associated SrcgProjNegotiationQuotationItem entities for the loaded navigation property _SrcgProjNegttnQtanItemTP.

      If the navigation property _SrcgProjNegttnQtanItemTP of a queried SrcgProjNegotiationQuotation 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 SrcgProjNegotiationQuotationItem entities.
    • addSrcgProjNegttnQtanItemTP

      public void addSrcgProjNegttnQtanItemTP(SrcgProjNegotiationQuotationItem... entity)
      Adds elements to the list of associated SrcgProjNegotiationQuotationItem entities. This corresponds to the OData navigation property _SrcgProjNegttnQtanItemTP.

      If the navigation property _SrcgProjNegttnQtanItemTP of a queried SrcgProjNegotiationQuotation 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 SrcgProjNegotiationQuotationItem entities.
    • updateTargetQuantity

      @Nonnull public static BoundAction.CollectionToSingle<SrcgProjNegotiationQuotation,SrcgProjNegotiationQuotation> updateTargetQuantity(@Nonnull String srcgProjNegttnTgtPrcChangeType, @Nonnull String requestedQuantityUnit, @Nonnull BigDecimal srcgProjNegttnTargetQuantity, @Nonnull String sPNegttnQtnItemUUIDListValue, @Nonnull String sPNegttnDmndDistrDetListValue, @Nonnull BigDecimal srcgProjNegttnTgtChgInPercent, @Nonnull String srcgProjNegttnRefFldForChgCode)
      Action that can be applied to a collection of entities of this class.

      Parameters:
      srcgProjNegttnTargetQuantity - Constraints: Not nullable, Precision: 13, Scale: 3

      Original parameter name from the Odata EDM: SrcgProjNegttnTargetQuantity

      requestedQuantityUnit - Constraints: Not nullable, Maximum length: 3

      Original parameter name from the Odata EDM: RequestedQuantityUnit

      srcgProjNegttnTgtChgInPercent - Constraints: Not nullable, Precision: 5, Scale: 2

      Original parameter name from the Odata EDM: SrcgProjNegttnTgtChgInPercent

      srcgProjNegttnRefFldForChgCode - Constraints: Not nullable, Maximum length: 1

      Original parameter name from the Odata EDM: SrcgProjNegttnRefFldForChgCode

      srcgProjNegttnTgtPrcChangeType - Constraints: Not nullable, Maximum length: 1

      Original parameter name from the Odata EDM: SrcgProjNegttnTgtPrcChangeType

      sPNegttnDmndDistrDetListValue - Constraints: Not nullable

      Original parameter name from the Odata EDM: SPNegttnDmndDistrDetListValue

      sPNegttnQtnItemUUIDListValue - Constraints: Not nullable

      Original parameter name from the Odata EDM: SPNegttnQtnItemUUIDListValue

      Returns:
      Action object prepared with the given parameters to be applied to a collection of entities of this class.

      To execute it use the service.forEntity(entity).applyAction(thisAction) API.
    • updateTargetPrice

      @Nonnull public static BoundAction.CollectionToSingle<SrcgProjNegotiationQuotation,SrcgProjNegotiationQuotation> updateTargetPrice(@Nonnull String srcgProjNegttnTgtPrcChangeType, @Nonnull String documentCurrency, @Nonnull BigDecimal srcgProjNegttnTargetNetPrcAmt, @Nonnull String sPNegttnQtnItemUUIDListValue, @Nonnull Boolean srcgProjNegttnTargetIsReduced, @Nonnull BigDecimal srcgProjNegttnTgtChgInPercent, @Nonnull String srcgProjNegttnRefFldForChgCode)
      Action that can be applied to a collection of entities of this class.

      Parameters:
      srcgProjNegttnTargetNetPrcAmt - Constraints: Not nullable, Precision: 11, Scale: 0

      Original parameter name from the Odata EDM: SrcgProjNegttnTargetNetPrcAmt

      srcgProjNegttnTargetIsReduced - Constraints: Not nullable

      Original parameter name from the Odata EDM: SrcgProjNegttnTargetIsReduced

      srcgProjNegttnTgtChgInPercent - Constraints: Not nullable, Precision: 5, Scale: 2

      Original parameter name from the Odata EDM: SrcgProjNegttnTgtChgInPercent

      srcgProjNegttnRefFldForChgCode - Constraints: Not nullable, Maximum length: 1

      Original parameter name from the Odata EDM: SrcgProjNegttnRefFldForChgCode

      documentCurrency - Constraints: Not nullable, Maximum length: 3

      Original parameter name from the Odata EDM: DocumentCurrency

      srcgProjNegttnTgtPrcChangeType - Constraints: Not nullable, Maximum length: 1

      Original parameter name from the Odata EDM: SrcgProjNegttnTgtPrcChangeType

      sPNegttnQtnItemUUIDListValue - Constraints: Not nullable

      Original parameter name from the Odata EDM: SPNegttnQtnItemUUIDListValue

      Returns:
      Action object prepared with the given parameters to be applied to a collection of entities of this class.

      To execute it use the service.forEntity(entity).applyAction(thisAction) API.
    • ggleIncludeExcludeItem

      @Nonnull public static BoundAction.CollectionToSingle<SrcgProjNegotiationQuotation,SrcgProjNegotiationQuotation> ggleIncludeExcludeItem(@Nullable UUID srcgProjNegttnQtanItemUUID, @Nonnull String srcgProjNegttnItmInclusionType)
      Action that can be applied to a collection of entities of this class.

      Parameters:
      srcgProjNegttnQtanItemUUID - Constraints: Nullable

      Original parameter name from the Odata EDM: SrcgProjNegttnQtanItemUUID

      srcgProjNegttnItmInclusionType - Constraints: Not nullable, Maximum length: 1

      Original parameter name from the Odata EDM: SrcgProjNegttnItmInclusionType

      Returns:
      Action object prepared with the given parameters to be applied to a collection of entities of this class.

      To execute it use the service.forEntity(entity).applyAction(thisAction) API.
    • addSourcingProjectQuotation

      @Nonnull public static BoundAction.CollectionToSingle<SrcgProjNegotiationQuotation,SrcgProjNegotiationQuotation> addSourcingProjectQuotation(@Nullable UUID sourcingProjectNegotiationUUID, @Nullable UUID sourcingProjectQuotationUUID, @Nonnull BigDecimal srcgProjNegttnTargetQuantity, @Nonnull String requestedQuantityUnit)
      Action that can be applied to a collection of entities of this class.

      Parameters:
      srcgProjNegttnTargetQuantity - Constraints: Not nullable, Precision: 13, Scale: 3

      Original parameter name from the Odata EDM: SrcgProjNegttnTargetQuantity

      requestedQuantityUnit - Constraints: Not nullable, Maximum length: 3

      Original parameter name from the Odata EDM: RequestedQuantityUnit

      sourcingProjectQuotationUUID - Constraints: Nullable

      Original parameter name from the Odata EDM: SourcingProjectQuotationUUID

      sourcingProjectNegotiationUUID - Constraints: Nullable

      Original parameter name from the Odata EDM: SourcingProjectNegotiationUUID

      Returns:
      Action object prepared with the given parameters to be applied to a collection of entities of this class.

      To execute it use the service.forEntity(entity).applyAction(thisAction) API.
    • builder

    • getSrcgProjNegttnQuotationUUID

      @Nullable public UUID getSrcgProjNegttnQuotationUUID()
      (Key Field) 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
    • getSourcingProjectQuotationUUID

      @Nullable public UUID getSourcingProjectQuotationUUID()
      Constraints: Nullable

      Original property name from the Odata EDM: SourcingProjectQuotationUUID

      Returns:
      Supplier Quotation UUID
    • getSourcingProjectQuotation

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

      Original property name from the Odata EDM: SourcingProjectQuotation

      Returns:
      Supplier Quotation
    • getSrcgProjQuotationVersion

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

      Original property name from the Odata EDM: SrcgProjQuotationVersion

      Returns:
      Sourcing Project Quotation Version
    • getBidder

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

      Original property name from the Odata EDM: Bidder

      Returns:
      Business Partner
    • getSPQtnForNegttnLtstVersionUUID

      @Nullable public UUID getSPQtnForNegttnLtstVersionUUID()
      Constraints: Nullable

      Original property name from the Odata EDM: SPQtnForNegttnLtstVersionUUID

      Returns:
      Supplier Quotation UUID
    • getSrcgProjNegttnTotalTargetAmt

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

      Original property name from the Odata EDM: SrcgProjNegttnTotalTargetAmt

      Returns:
      Total Negotiation Target Amount
    • getDocumentCurrency

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

      Original property name from the Odata EDM: DocumentCurrency

      Returns:
      Document Currency
    • get_Messages

      @Nullable public Collection<SAP__Message> get_Messages()
      Constraints: Not nullable

      Original property name from the Odata EDM: SAP__Messages

      Returns:
      The _Messages contained in this VdmEntity.
    • toString

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

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

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

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

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