Class SPNegttnQtnItemDemandDistr
- All Implemented Interfaces:
VdmEntitySet
Original entity name from the Odata EDM: SPNegttnQtnItemDemandDistr_Type
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classHelper class to allow for fluent creation of SPNegttnQtnItemDemandDistr instances. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final SimpleProperty<SPNegttnQtnItemDemandDistr>Selector for all available fields of SPNegttnQtnItemDemandDistr.static final SimpleProperty.NumericDecimal<SPNegttnQtnItemDemandDistr>static final SimpleProperty.String<SPNegttnQtnItemDemandDistr>static final SimpleProperty.String<SPNegttnQtnItemDemandDistr>static final SimpleProperty.Guid<SPNegttnQtnItemDemandDistr>static final SimpleProperty.Guid<SPNegttnQtnItemDemandDistr>static final SimpleProperty.Guid<SPNegttnQtnItemDemandDistr>static final SimpleProperty.Guid<SPNegttnQtnItemDemandDistr>static final SimpleProperty.Guid<SPNegttnQtnItemDemandDistr>static final SimpleProperty.String<SPNegttnQtnItemDemandDistr>static final SimpleProperty.NumericDecimal<SPNegttnQtnItemDemandDistr>static final SimpleProperty.Guid<SPNegttnQtnItemDemandDistr>static final SimpleProperty.NumericDecimal<SPNegttnQtnItemDemandDistr>static final SimpleProperty.Guid<SPNegttnQtnItemDemandDistr>Use with available request builders to apply the _SPNegttnQtnItmDmndDistrDet navigation property to query operations.Use with available request builders to apply the _SourcingProjectNegotiation navigation property to query operations.Use with available request builders to apply the _SrcgProjNegttnQtanItem 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
ConstructorsConstructorDescriptionSPNegttnQtnItemDemandDistr(UUID sPNegttnQtnItemDemandDistrUUID, UUID srcgProjNegttnQtanItemUUID, UUID sourcingProjectNegotiationUUID, UUID srcgProjQtnDmndDistrUUID, String plant, BigDecimal maxAnnualRequestedQuantity, BigDecimal srcgProjNegttnMaxTargetQty, BigDecimal srcgProjNegttnTotalTargetQty, String requestedQuantityUnit, String srcgProjNegttnItmInclusionType, UUID srcgProjDmndDistributionUUID, UUID sourcingProjectUUID, UUID sourcingProjectItemUUID, SourcingProjectNegotiation to_SourcingProjectNegotiation, List<SPNegttnQtnItmDmndDistrDet> to_SPNegttnQtnItmDmndDistrDet, SrcgProjNegotiationQuotationItem to_SrcgProjNegttnQtanItem) -
Method Summary
Modifier and TypeMethodDescriptionvoidAdds elements to the list of associated SPNegttnQtnItmDmndDistrDet entities.builder()protected booleanbooleanprotected voidprotected Stringprotected Stringprotected ODataEntityKeygetKey()Constraints: Not nullable, Precision: 13, Scale: 3getPlant()Constraints: Not nullable, Maximum length: 4Constraints: Not nullable, Maximum length: 3Constraints: Nullableio.vavr.control.Option<SourcingProjectNegotiation>Retrieval of associated SourcingProjectNegotiation entity (one to one).Constraints: Not nullableConstraints: Nullable(Key Field) Constraints: Not nullableio.vavr.control.Option<List<SPNegttnQtnItmDmndDistrDet>>Retrieval of associated SPNegttnQtnItmDmndDistrDet entities (one to many).Constraints: NullableConstraints: Not nullable, Maximum length: 1Constraints: Not nullable, Precision: 13, Scale: 3io.vavr.control.Option<SrcgProjNegotiationQuotationItem>Retrieval of associated SrcgProjNegotiationQuotationItem entity (one to one).Constraints: Not nullableConstraints: Not nullable, Precision: 13, Scale: 3Constraints: NullablegetType()inthashCode()voidsetMaxAnnualRequestedQuantity(BigDecimal maxAnnualRequestedQuantity) Constraints: Not nullable, Precision: 13, Scale: 3voidConstraints: Not nullable, Maximum length: 4voidsetRequestedQuantityUnit(String requestedQuantityUnit) Constraints: Not nullable, Maximum length: 3voidsetSourcingProjectItemUUID(UUID sourcingProjectItemUUID) Constraints: NullablevoidOverwrites the associated SourcingProjectNegotiation entity for the loaded navigation property _SourcingProjectNegotiation.voidsetSourcingProjectNegotiationUUID(UUID sourcingProjectNegotiationUUID) Constraints: Not nullablevoidsetSourcingProjectUUID(UUID sourcingProjectUUID) Constraints: NullablevoidsetSPNegttnQtnItemDemandDistrUUID(UUID sPNegttnQtnItemDemandDistrUUID) (Key Field) Constraints: Not nullablevoidOverwrites the list of associated SPNegttnQtnItmDmndDistrDet entities for the loaded navigation property _SPNegttnQtnItmDmndDistrDet.voidsetSrcgProjDmndDistributionUUID(UUID srcgProjDmndDistributionUUID) Constraints: NullablevoidsetSrcgProjNegttnItmInclusionType(String srcgProjNegttnItmInclusionType) Constraints: Not nullable, Maximum length: 1voidsetSrcgProjNegttnMaxTargetQty(BigDecimal srcgProjNegttnMaxTargetQty) Constraints: Not nullable, Precision: 13, Scale: 3voidOverwrites the associated SrcgProjNegotiationQuotationItem entity for the loaded navigation property _SrcgProjNegttnQtanItem.voidsetSrcgProjNegttnQtanItemUUID(UUID srcgProjNegttnQtanItemUUID) Constraints: Not nullablevoidsetSrcgProjNegttnTotalTargetQty(BigDecimal srcgProjNegttnTotalTargetQty) Constraints: Not nullable, Precision: 13, Scale: 3voidsetSrcgProjQtnDmndDistrUUID(UUID srcgProjQtnDmndDistrUUID) Constraints: NullabletoString()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 SPNegttnQtnItemDemandDistr. -
SP_NEGTTN_QTN_ITEM_DEMAND_DISTR_UUID
public static final SimpleProperty.Guid<SPNegttnQtnItemDemandDistr> SP_NEGTTN_QTN_ITEM_DEMAND_DISTR_UUID -
SRCG_PROJ_NEGTTN_QTAN_ITEM_UUID
-
SOURCING_PROJECT_NEGOTIATION_UUID
public static final SimpleProperty.Guid<SPNegttnQtnItemDemandDistr> SOURCING_PROJECT_NEGOTIATION_UUID -
SRCG_PROJ_QTN_DMND_DISTR_UUID
-
PLANT
-
MAX_ANNUAL_REQUESTED_QUANTITY
public static final SimpleProperty.NumericDecimal<SPNegttnQtnItemDemandDistr> MAX_ANNUAL_REQUESTED_QUANTITY -
SRCG_PROJ_NEGTTN_MAX_TARGET_QTY
public static final SimpleProperty.NumericDecimal<SPNegttnQtnItemDemandDistr> SRCG_PROJ_NEGTTN_MAX_TARGET_QTY -
SRCG_PROJ_NEGTTN_TOTAL_TARGET_QTY
public static final SimpleProperty.NumericDecimal<SPNegttnQtnItemDemandDistr> SRCG_PROJ_NEGTTN_TOTAL_TARGET_QTY -
REQUESTED_QUANTITY_UNIT
-
SRCG_PROJ_NEGTTN_ITM_INCLUSION_TYPE
public static final SimpleProperty.String<SPNegttnQtnItemDemandDistr> SRCG_PROJ_NEGTTN_ITM_INCLUSION_TYPE -
SRCG_PROJ_DMND_DISTRIBUTION_UUID
public static final SimpleProperty.Guid<SPNegttnQtnItemDemandDistr> SRCG_PROJ_DMND_DISTRIBUTION_UUID -
SOURCING_PROJECT_UUID
-
SOURCING_PROJECT_ITEM_UUID
-
TO__SOURCING_PROJECT_NEGOTIATION
public static final NavigationProperty.Single<SPNegttnQtnItemDemandDistr,SourcingProjectNegotiation> TO__SOURCING_PROJECT_NEGOTIATIONUse with available request builders to apply the _SourcingProjectNegotiation navigation property to query operations. -
TO__S_P_NEGTTN_QTN_ITM_DMND_DISTR_DET
public static final NavigationProperty.Collection<SPNegttnQtnItemDemandDistr,SPNegttnQtnItmDmndDistrDet> TO__S_P_NEGTTN_QTN_ITM_DMND_DISTR_DETUse with available request builders to apply the _SPNegttnQtnItmDmndDistrDet navigation property to query operations. -
TO__SRCG_PROJ_NEGTTN_QTAN_ITEM
public static final NavigationProperty.Single<SPNegttnQtnItemDemandDistr,SrcgProjNegotiationQuotationItem> TO__SRCG_PROJ_NEGTTN_QTAN_ITEMUse with available request builders to apply the _SrcgProjNegttnQtanItem navigation property to query operations.
-
-
Constructor Details
-
SPNegttnQtnItemDemandDistr
public SPNegttnQtnItemDemandDistr() -
SPNegttnQtnItemDemandDistr
public SPNegttnQtnItemDemandDistr(@Nullable UUID sPNegttnQtnItemDemandDistrUUID, @Nullable UUID srcgProjNegttnQtanItemUUID, @Nullable UUID sourcingProjectNegotiationUUID, @Nullable UUID srcgProjQtnDmndDistrUUID, @Nullable String plant, @Nullable BigDecimal maxAnnualRequestedQuantity, @Nullable BigDecimal srcgProjNegttnMaxTargetQty, @Nullable BigDecimal srcgProjNegttnTotalTargetQty, @Nullable String requestedQuantityUnit, @Nullable String srcgProjNegttnItmInclusionType, @Nullable UUID srcgProjDmndDistributionUUID, @Nullable UUID sourcingProjectUUID, @Nullable UUID sourcingProjectItemUUID, @Nullable SourcingProjectNegotiation to_SourcingProjectNegotiation, List<SPNegttnQtnItmDmndDistrDet> to_SPNegttnQtnItmDmndDistrDet, @Nullable SrcgProjNegotiationQuotationItem to_SrcgProjNegttnQtanItem)
-
-
Method Details
-
getType
- Specified by:
getTypein classVdmObject<SPNegttnQtnItemDemandDistr>
-
setSPNegttnQtnItemDemandDistrUUID
(Key Field) Constraints: Not nullableOriginal property name from the Odata EDM: SPNegttnQtnItemDemandDistrUUID
- Parameters:
sPNegttnQtnItemDemandDistrUUID- Demand Distribution UUID of Quotation Item in Negotiation
-
setSrcgProjNegttnQtanItemUUID
Constraints: Not nullableOriginal property name from the Odata EDM: SrcgProjNegttnQtanItemUUID
- Parameters:
srcgProjNegttnQtanItemUUID- UUID of Quotation Item in Negotiation
-
setSourcingProjectNegotiationUUID
Constraints: Not nullableOriginal property name from the Odata EDM: SourcingProjectNegotiationUUID
- Parameters:
sourcingProjectNegotiationUUID- Negotiation UUID
-
setSrcgProjQtnDmndDistrUUID
Constraints: NullableOriginal property name from the Odata EDM: SrcgProjQtnDmndDistrUUID
- Parameters:
srcgProjQtnDmndDistrUUID- Demand Distribution UUID in Quotation
-
setPlant
Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: Plant
- Parameters:
plant- Plant
-
setMaxAnnualRequestedQuantity
Constraints: Not nullable, Precision: 13, Scale: 3Original property name from the Odata EDM: MaxAnnualRequestedQuantity
- Parameters:
maxAnnualRequestedQuantity- Maximum Annually Requested Quantity
-
setSrcgProjNegttnMaxTargetQty
Constraints: Not nullable, Precision: 13, Scale: 3Original property name from the Odata EDM: SrcgProjNegttnMaxTargetQty
- Parameters:
srcgProjNegttnMaxTargetQty- Maximum Negotiation Target Quantity
-
setSrcgProjNegttnTotalTargetQty
Constraints: Not nullable, Precision: 13, Scale: 3Original property name from the Odata EDM: SrcgProjNegttnTotalTargetQty
- Parameters:
srcgProjNegttnTotalTargetQty- Total Negotiation Target Quantity
-
setRequestedQuantityUnit
Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: RequestedQuantityUnit
- Parameters:
requestedQuantityUnit- Requested Quantity Unit
-
setSrcgProjNegttnItmInclusionType
Constraints: Not nullable, Maximum length: 1Original property name from the Odata EDM: SrcgProjNegttnItmInclusionType
- Parameters:
srcgProjNegttnItmInclusionType- Include Type Code of Negotiation Item
-
setSrcgProjDmndDistributionUUID
Constraints: NullableOriginal property name from the Odata EDM: SrcgProjDmndDistributionUUID
- Parameters:
srcgProjDmndDistributionUUID- Sourcing Project Demand Distribution UUID
-
setSourcingProjectUUID
Constraints: NullableOriginal property name from the Odata EDM: SourcingProjectUUID
- Parameters:
sourcingProjectUUID- Sourcing Project UUID
-
setSourcingProjectItemUUID
Constraints: NullableOriginal property name from the Odata EDM: SourcingProjectItemUUID
- Parameters:
sourcingProjectItemUUID- Sourcing Project Item UUID
-
getEntityCollection
- Specified by:
getEntityCollectionin classVdmEntity<SPNegttnQtnItemDemandDistr>
-
getKey
- Overrides:
getKeyin classVdmObject<SPNegttnQtnItemDemandDistr>
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<SPNegttnQtnItemDemandDistr>
-
fromMap
- Overrides:
fromMapin classVdmObject<SPNegttnQtnItemDemandDistr>
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<SPNegttnQtnItemDemandDistr>
-
getSourcingProjectNegotiationIfPresent
@Nonnull public io.vavr.control.Option<SourcingProjectNegotiation> getSourcingProjectNegotiationIfPresent()Retrieval of associated SourcingProjectNegotiation entity (one to one). This corresponds to the OData navigation property _SourcingProjectNegotiation.If the navigation property for an entity SPNegttnQtnItemDemandDistr 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 _SourcingProjectNegotiation is already loaded, the
result will contain the SourcingProjectNegotiation entity. If not, an
Optionwith result stateemptyis returned.
-
setSourcingProjectNegotiation
Overwrites the associated SourcingProjectNegotiation entity for the loaded navigation property _SourcingProjectNegotiation.- Parameters:
value- New SourcingProjectNegotiation entity.
-
getSPNegttnQtnItmDmndDistrDetIfPresent
@Nonnull public io.vavr.control.Option<List<SPNegttnQtnItmDmndDistrDet>> getSPNegttnQtnItmDmndDistrDetIfPresent()Retrieval of associated SPNegttnQtnItmDmndDistrDet entities (one to many). This corresponds to the OData navigation property _SPNegttnQtnItmDmndDistrDet.If the navigation property for an entity SPNegttnQtnItemDemandDistr 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 _SPNegttnQtnItmDmndDistrDet is already loaded, the
result will contain the SPNegttnQtnItmDmndDistrDet entities. If not, an
Optionwith result stateemptyis returned.
-
setSPNegttnQtnItmDmndDistrDet
Overwrites the list of associated SPNegttnQtnItmDmndDistrDet entities for the loaded navigation property _SPNegttnQtnItmDmndDistrDet.If the navigation property _SPNegttnQtnItmDmndDistrDet of a queried SPNegttnQtnItemDemandDistr 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 SPNegttnQtnItmDmndDistrDet entities.
-
addSPNegttnQtnItmDmndDistrDet
Adds elements to the list of associated SPNegttnQtnItmDmndDistrDet entities. This corresponds to the OData navigation property _SPNegttnQtnItmDmndDistrDet.If the navigation property _SPNegttnQtnItmDmndDistrDet of a queried SPNegttnQtnItemDemandDistr 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 SPNegttnQtnItmDmndDistrDet entities.
-
getSrcgProjNegttnQtanItemIfPresent
@Nonnull public io.vavr.control.Option<SrcgProjNegotiationQuotationItem> getSrcgProjNegttnQtanItemIfPresent()Retrieval of associated SrcgProjNegotiationQuotationItem entity (one to one). This corresponds to the OData navigation property _SrcgProjNegttnQtanItem.If the navigation property for an entity SPNegttnQtnItemDemandDistr 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 _SrcgProjNegttnQtanItem is already loaded, the result
will contain the SrcgProjNegotiationQuotationItem entity. If not, an
Optionwith result stateemptyis returned.
-
setSrcgProjNegttnQtanItem
Overwrites the associated SrcgProjNegotiationQuotationItem entity for the loaded navigation property _SrcgProjNegttnQtanItem.- Parameters:
value- New SrcgProjNegotiationQuotationItem entity.
-
builder
-
getSPNegttnQtnItemDemandDistrUUID
(Key Field) Constraints: Not nullableOriginal property name from the Odata EDM: SPNegttnQtnItemDemandDistrUUID
- Returns:
- Demand Distribution UUID of Quotation Item in Negotiation
-
getSrcgProjNegttnQtanItemUUID
Constraints: Not nullableOriginal property name from the Odata EDM: SrcgProjNegttnQtanItemUUID
- Returns:
- UUID of Quotation Item in Negotiation
-
getSourcingProjectNegotiationUUID
Constraints: Not nullableOriginal property name from the Odata EDM: SourcingProjectNegotiationUUID
- Returns:
- Negotiation UUID
-
getSrcgProjQtnDmndDistrUUID
Constraints: NullableOriginal property name from the Odata EDM: SrcgProjQtnDmndDistrUUID
- Returns:
- Demand Distribution UUID in Quotation
-
getPlant
Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: Plant
- Returns:
- Plant
-
getMaxAnnualRequestedQuantity
Constraints: Not nullable, Precision: 13, Scale: 3Original property name from the Odata EDM: MaxAnnualRequestedQuantity
- Returns:
- Maximum Annually Requested Quantity
-
getSrcgProjNegttnMaxTargetQty
Constraints: Not nullable, Precision: 13, Scale: 3Original property name from the Odata EDM: SrcgProjNegttnMaxTargetQty
- Returns:
- Maximum Negotiation Target Quantity
-
getSrcgProjNegttnTotalTargetQty
Constraints: Not nullable, Precision: 13, Scale: 3Original property name from the Odata EDM: SrcgProjNegttnTotalTargetQty
- Returns:
- Total Negotiation Target Quantity
-
getRequestedQuantityUnit
Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: RequestedQuantityUnit
- Returns:
- Requested Quantity Unit
-
getSrcgProjNegttnItmInclusionType
Constraints: Not nullable, Maximum length: 1Original property name from the Odata EDM: SrcgProjNegttnItmInclusionType
- Returns:
- Include Type Code of Negotiation Item
-
getSrcgProjDmndDistributionUUID
Constraints: NullableOriginal property name from the Odata EDM: SrcgProjDmndDistributionUUID
- Returns:
- Sourcing Project Demand Distribution UUID
-
getSourcingProjectUUID
Constraints: NullableOriginal property name from the Odata EDM: SourcingProjectUUID
- Returns:
- Sourcing Project UUID
-
getSourcingProjectItemUUID
Constraints: NullableOriginal property name from the Odata EDM: SourcingProjectItemUUID
- Returns:
- Sourcing Project Item UUID
-
toString
- Overrides:
toStringin classVdmObject<SPNegttnQtnItemDemandDistr>
-
equals
- Overrides:
equalsin classVdmEntity<SPNegttnQtnItemDemandDistr>
-
canEqual
- Overrides:
canEqualin classVdmEntity<SPNegttnQtnItemDemandDistr>
-
hashCode
public int hashCode()- Overrides:
hashCodein classVdmEntity<SPNegttnQtnItemDemandDistr>
-
getOdataType
- Specified by:
getOdataTypein classVdmObject<SPNegttnQtnItemDemandDistr>
-