Class SrcgProjNegotiationQuotation
- All Implemented Interfaces:
VdmEntitySet
Original entity name from the Odata EDM: SrcgProjNegotiationQuotation_Type
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classHelper class to allow for fluent creation of SrcgProjNegotiationQuotation instances. -
Field Summary
FieldsModifier and TypeFieldDescriptionUse with available request builders to apply the SAP__Messages complex property to query operations.static final SimpleProperty<SrcgProjNegotiationQuotation>Selector for all available fields of SrcgProjNegotiationQuotation.static final SimpleProperty.String<SrcgProjNegotiationQuotation>static final SimpleProperty.String<SrcgProjNegotiationQuotation>static final SimpleProperty.Guid<SrcgProjNegotiationQuotation>static final SimpleProperty.String<SrcgProjNegotiationQuotation>static final SimpleProperty.Guid<SrcgProjNegotiationQuotation>static final SimpleProperty.Guid<SrcgProjNegotiationQuotation>static final SimpleProperty.Guid<SrcgProjNegotiationQuotation>static final SimpleProperty.NumericDecimal<SrcgProjNegotiationQuotation>static final SimpleProperty.String<SrcgProjNegotiationQuotation>Use with available request builders to apply the _SourcingProjectNegotiationTP navigation property to query operations.static final NavigationProperty.Collection<SrcgProjNegotiationQuotation,SrcgProjNegotiationQuotationItem> Use with available request builders to apply the _SrcgProjNegttnQtanItemTP navigation property to query operations.Fields inherited from class com.sap.cloud.sdk.datamodel.odatav4.core.VdmObject
changedOriginalFields, ODATA_TYPE_ANNOTATIONS, ODATA_VERSION_ANNOTATIONS -
Constructor Summary
ConstructorsConstructorDescriptionSrcgProjNegotiationQuotation(UUID srcgProjNegttnQuotationUUID, UUID sourcingProjectNegotiationUUID, UUID sourcingProjectQuotationUUID, String sourcingProjectQuotation, String srcgProjQuotationVersion, String bidder, UUID sPQtnForNegttnLtstVersionUUID, BigDecimal srcgProjNegttnTotalTargetAmt, String documentCurrency, Collection<SAP__Message> _Messages, SourcingProjectNegotiation to_SourcingProjectNegotiationTP, List<SrcgProjNegotiationQuotationItem> to_SrcgProjNegttnQtanItemTP) -
Method Summary
Modifier and TypeMethodDescriptionaddSourcingProjectQuotation(UUID sourcingProjectNegotiationUUID, UUID sourcingProjectQuotationUUID, BigDecimal srcgProjNegttnTargetQuantity, String requestedQuantityUnit) Action that can be applied to a collection of entities of this class.voidAdds elements to the list of associated SrcgProjNegotiationQuotationItem entities.builder()protected booleanbooleanprotected voidConstraints: Not nullableConstraints: Not nullable, Maximum length: 10protected StringConstraints: Not nullable, Maximum length: 3protected Stringprotected ODataEntityKeygetKey()io.vavr.control.Option<SourcingProjectNegotiation>Retrieval of associated SourcingProjectNegotiation entity (one to one).Constraints: Not nullableConstraints: Not nullable, Maximum length: 10Constraints: NullableConstraints: Nullableio.vavr.control.Option<List<SrcgProjNegotiationQuotationItem>>Retrieval of associated SrcgProjNegotiationQuotationItem entities (one to many).(Key Field) Constraints: Not nullableConstraints: Not nullable, Precision: 15, Scale: 0Constraints: Not nullable, Maximum length: 5getType()ggleIncludeExcludeItem(UUID srcgProjNegttnQtanItemUUID, String srcgProjNegttnItmInclusionType) Action that can be applied to a collection of entities of this class.inthashCode()voidset_Messages(Collection<SAP__Message> _Messages) Constraints: Not nullablevoidConstraints: Not nullable, Maximum length: 10voidsetDocumentCurrency(String documentCurrency) Constraints: Not nullable, Maximum length: 3voidOverwrites the associated SourcingProjectNegotiation entity for the loaded navigation property _SourcingProjectNegotiationTP.voidsetSourcingProjectNegotiationUUID(UUID sourcingProjectNegotiationUUID) Constraints: Not nullablevoidsetSourcingProjectQuotation(String sourcingProjectQuotation) Constraints: Not nullable, Maximum length: 10voidsetSourcingProjectQuotationUUID(UUID sourcingProjectQuotationUUID) Constraints: NullablevoidsetSPQtnForNegttnLtstVersionUUID(UUID sPQtnForNegttnLtstVersionUUID) Constraints: NullablevoidOverwrites the list of associated SrcgProjNegotiationQuotationItem entities for the loaded navigation property _SrcgProjNegttnQtanItemTP.voidsetSrcgProjNegttnQuotationUUID(UUID srcgProjNegttnQuotationUUID) (Key Field) Constraints: Not nullablevoidsetSrcgProjNegttnTotalTargetAmt(BigDecimal srcgProjNegttnTotalTargetAmt) Constraints: Not nullable, Precision: 15, Scale: 0voidsetSrcgProjQuotationVersion(String srcgProjQuotationVersion) Constraints: Not nullable, Maximum length: 5toString()updateTargetPrice(String srcgProjNegttnTgtPrcChangeType, String documentCurrency, BigDecimal srcgProjNegttnTargetNetPrcAmt, String sPNegttnQtnItemUUIDListValue, Boolean srcgProjNegttnTargetIsReduced, BigDecimal srcgProjNegttnTgtChgInPercent, String srcgProjNegttnRefFldForChgCode) Action that can be applied to a collection of entities of this class.updateTargetQuantity(String srcgProjNegttnTgtPrcChangeType, String requestedQuantityUnit, BigDecimal srcgProjNegttnTargetQuantity, String sPNegttnQtnItemUUIDListValue, String sPNegttnDmndDistrDetListValue, BigDecimal srcgProjNegttnTgtChgInPercent, String srcgProjNegttnRefFldForChgCode) Action that can be applied to a collection of entities of this class.Methods inherited from class com.sap.cloud.sdk.datamodel.odatav4.core.VdmEntity
all, attachToService, getDestinationForFetch, getServicePathForFetch, getVersionIdentifier, setDestinationForFetch, setServicePathForFetch, setVersionIdentifierMethods inherited from class com.sap.cloud.sdk.datamodel.odatav4.core.VdmObject
getAnnotationProperties, getChangedFields, getCustomField, getCustomField, getCustomFieldNames, getCustomFields, getSetOfCustomFields, getSetOfFields, getSetOfNavigationProperties, hasCustomField, hasCustomField, rememberChangedField, resetChangedFields, setCustomField, setCustomField, toMap, toMapOfCustomFields
-
Field Details
-
ALL_FIELDS
Selector for all available fields of SrcgProjNegotiationQuotation. -
SRCG_PROJ_NEGTTN_QUOTATION_UUID
public static final SimpleProperty.Guid<SrcgProjNegotiationQuotation> SRCG_PROJ_NEGTTN_QUOTATION_UUID -
SOURCING_PROJECT_NEGOTIATION_UUID
public static final SimpleProperty.Guid<SrcgProjNegotiationQuotation> SOURCING_PROJECT_NEGOTIATION_UUID -
SOURCING_PROJECT_QUOTATION_UUID
public static final SimpleProperty.Guid<SrcgProjNegotiationQuotation> SOURCING_PROJECT_QUOTATION_UUID -
SOURCING_PROJECT_QUOTATION
-
SRCG_PROJ_QUOTATION_VERSION
-
BIDDER
-
SP_QTN_FOR_NEGTTN_LTST_VERSION_UUID
public static final SimpleProperty.Guid<SrcgProjNegotiationQuotation> SP_QTN_FOR_NEGTTN_LTST_VERSION_UUID -
SRCG_PROJ_NEGTTN_TOTAL_TARGET_AMT
public static final SimpleProperty.NumericDecimal<SrcgProjNegotiationQuotation> SRCG_PROJ_NEGTTN_TOTAL_TARGET_AMT -
DOCUMENT_CURRENCY
-
_MESSAGES
Use with available request builders to apply the SAP__Messages complex property to query operations. -
TO__SOURCING_PROJECT_NEGOTIATION_TP
public static final NavigationProperty.Single<SrcgProjNegotiationQuotation,SourcingProjectNegotiation> TO__SOURCING_PROJECT_NEGOTIATION_TPUse with available request builders to apply the _SourcingProjectNegotiationTP navigation property to query operations. -
TO__SRCG_PROJ_NEGTTN_QTAN_ITEM_TP
public static final NavigationProperty.Collection<SrcgProjNegotiationQuotation,SrcgProjNegotiationQuotationItem> TO__SRCG_PROJ_NEGTTN_QTAN_ITEM_TPUse with available request builders to apply the _SrcgProjNegttnQtanItemTP navigation property to query operations.
-
-
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
- Specified by:
getTypein classVdmObject<SrcgProjNegotiationQuotation>
-
setSrcgProjNegttnQuotationUUID
(Key Field) Constraints: Not nullableOriginal property name from the Odata EDM: SrcgProjNegttnQuotationUUID
- Parameters:
srcgProjNegttnQuotationUUID- Negotiation Quotation UUID
-
setSourcingProjectNegotiationUUID
Constraints: Not nullableOriginal property name from the Odata EDM: SourcingProjectNegotiationUUID
- Parameters:
sourcingProjectNegotiationUUID- Negotiation UUID
-
setSourcingProjectQuotationUUID
Constraints: NullableOriginal property name from the Odata EDM: SourcingProjectQuotationUUID
- Parameters:
sourcingProjectQuotationUUID- Supplier Quotation UUID
-
setSourcingProjectQuotation
Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: SourcingProjectQuotation
- Parameters:
sourcingProjectQuotation- Supplier Quotation
-
setSrcgProjQuotationVersion
Constraints: Not nullable, Maximum length: 5Original property name from the Odata EDM: SrcgProjQuotationVersion
- Parameters:
srcgProjQuotationVersion- Sourcing Project Quotation Version
-
setBidder
Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: Bidder
- Parameters:
bidder- Business Partner
-
setSPQtnForNegttnLtstVersionUUID
Constraints: NullableOriginal property name from the Odata EDM: SPQtnForNegttnLtstVersionUUID
- Parameters:
sPQtnForNegttnLtstVersionUUID- Supplier Quotation UUID
-
setSrcgProjNegttnTotalTargetAmt
Constraints: Not nullable, Precision: 15, Scale: 0Original property name from the Odata EDM: SrcgProjNegttnTotalTargetAmt
- Parameters:
srcgProjNegttnTotalTargetAmt- Total Negotiation Target Amount
-
setDocumentCurrency
Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: DocumentCurrency
- Parameters:
documentCurrency- Document Currency
-
set_Messages
Constraints: Not nullableOriginal property name from the Odata EDM: SAP__Messages
- Parameters:
_Messages- The _Messages to set.
-
getEntityCollection
- Specified by:
getEntityCollectionin classVdmEntity<SrcgProjNegotiationQuotation>
-
getKey
- Overrides:
getKeyin classVdmObject<SrcgProjNegotiationQuotation>
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<SrcgProjNegotiationQuotation>
-
fromMap
- Overrides:
fromMapin classVdmObject<SrcgProjNegotiationQuotation>
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<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
Optionresult state will beempty.- Returns:
- If the information for navigation property _SourcingProjectNegotiationTP is already loaded, the
result will contain the SourcingProjectNegotiation entity. If not, an
Optionwith result stateemptyis returned.
-
setSourcingProjectNegotiationTP
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
Optionresult state will beempty.- Returns:
- If the information for navigation property _SrcgProjNegttnQtanItemTP is already loaded, the result
will contain the SrcgProjNegotiationQuotationItem entities. If not, an
Optionwith result stateemptyis returned.
-
setSrcgProjNegttnQtanItemTP
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
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: 3Original parameter name from the Odata EDM: SrcgProjNegttnTargetQuantity
requestedQuantityUnit- Constraints: Not nullable, Maximum length: 3Original parameter name from the Odata EDM: RequestedQuantityUnit
srcgProjNegttnTgtChgInPercent- Constraints: Not nullable, Precision: 5, Scale: 2Original parameter name from the Odata EDM: SrcgProjNegttnTgtChgInPercent
srcgProjNegttnRefFldForChgCode- Constraints: Not nullable, Maximum length: 1Original parameter name from the Odata EDM: SrcgProjNegttnRefFldForChgCode
srcgProjNegttnTgtPrcChangeType- Constraints: Not nullable, Maximum length: 1Original parameter name from the Odata EDM: SrcgProjNegttnTgtPrcChangeType
sPNegttnDmndDistrDetListValue- Constraints: Not nullableOriginal parameter name from the Odata EDM: SPNegttnDmndDistrDetListValue
sPNegttnQtnItemUUIDListValue- Constraints: Not nullableOriginal 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: 0Original parameter name from the Odata EDM: SrcgProjNegttnTargetNetPrcAmt
srcgProjNegttnTargetIsReduced- Constraints: Not nullableOriginal parameter name from the Odata EDM: SrcgProjNegttnTargetIsReduced
srcgProjNegttnTgtChgInPercent- Constraints: Not nullable, Precision: 5, Scale: 2Original parameter name from the Odata EDM: SrcgProjNegttnTgtChgInPercent
srcgProjNegttnRefFldForChgCode- Constraints: Not nullable, Maximum length: 1Original parameter name from the Odata EDM: SrcgProjNegttnRefFldForChgCode
documentCurrency- Constraints: Not nullable, Maximum length: 3Original parameter name from the Odata EDM: DocumentCurrency
srcgProjNegttnTgtPrcChangeType- Constraints: Not nullable, Maximum length: 1Original parameter name from the Odata EDM: SrcgProjNegttnTgtPrcChangeType
sPNegttnQtnItemUUIDListValue- Constraints: Not nullableOriginal 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: NullableOriginal parameter name from the Odata EDM: SrcgProjNegttnQtanItemUUID
srcgProjNegttnItmInclusionType- Constraints: Not nullable, Maximum length: 1Original 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: 3Original parameter name from the Odata EDM: SrcgProjNegttnTargetQuantity
requestedQuantityUnit- Constraints: Not nullable, Maximum length: 3Original parameter name from the Odata EDM: RequestedQuantityUnit
sourcingProjectQuotationUUID- Constraints: NullableOriginal parameter name from the Odata EDM: SourcingProjectQuotationUUID
sourcingProjectNegotiationUUID- Constraints: NullableOriginal 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
(Key Field) Constraints: Not nullableOriginal property name from the Odata EDM: SrcgProjNegttnQuotationUUID
- Returns:
- Negotiation Quotation UUID
-
getSourcingProjectNegotiationUUID
Constraints: Not nullableOriginal property name from the Odata EDM: SourcingProjectNegotiationUUID
- Returns:
- Negotiation UUID
-
getSourcingProjectQuotationUUID
Constraints: NullableOriginal property name from the Odata EDM: SourcingProjectQuotationUUID
- Returns:
- Supplier Quotation UUID
-
getSourcingProjectQuotation
Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: SourcingProjectQuotation
- Returns:
- Supplier Quotation
-
getSrcgProjQuotationVersion
Constraints: Not nullable, Maximum length: 5Original property name from the Odata EDM: SrcgProjQuotationVersion
- Returns:
- Sourcing Project Quotation Version
-
getBidder
Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: Bidder
- Returns:
- Business Partner
-
getSPQtnForNegttnLtstVersionUUID
Constraints: NullableOriginal property name from the Odata EDM: SPQtnForNegttnLtstVersionUUID
- Returns:
- Supplier Quotation UUID
-
getSrcgProjNegttnTotalTargetAmt
Constraints: Not nullable, Precision: 15, Scale: 0Original property name from the Odata EDM: SrcgProjNegttnTotalTargetAmt
- Returns:
- Total Negotiation Target Amount
-
getDocumentCurrency
Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: DocumentCurrency
- Returns:
- Document Currency
-
get_Messages
Constraints: Not nullableOriginal property name from the Odata EDM: SAP__Messages
- Returns:
- The _Messages contained in this
VdmEntity.
-
toString
- Overrides:
toStringin classVdmObject<SrcgProjNegotiationQuotation>
-
equals
- Overrides:
equalsin classVdmEntity<SrcgProjNegotiationQuotation>
-
canEqual
- Overrides:
canEqualin classVdmEntity<SrcgProjNegotiationQuotation>
-
hashCode
public int hashCode()- Overrides:
hashCodein classVdmEntity<SrcgProjNegotiationQuotation>
-
getOdataType
- Specified by:
getOdataTypein classVdmObject<SrcgProjNegotiationQuotation>
-