Class SrcgProjQtnItmCmmdtyQty
- All Implemented Interfaces:
VdmEntitySet
Original entity name from the Odata EDM: SrcgProjQtnItmCmmdtyQtyType
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classHelper class to allow for fluent creation of SrcgProjQtnItmCmmdtyQty instances. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final SimpleProperty<SrcgProjQtnItmCmmdtyQty>Selector for all available fields of SrcgProjQtnItmCmmdtyQty.static final SimpleProperty.String<SrcgProjQtnItmCmmdtyQty>static final SimpleProperty.String<SrcgProjQtnItmCmmdtyQty>static final SimpleProperty.NumericDecimal<SrcgProjQtnItmCmmdtyQty>static final SimpleProperty.String<SrcgProjQtnItmCmmdtyQty>static final SimpleProperty.String<SrcgProjQtnItmCmmdtyQty>static final SimpleProperty.NumericDecimal<SrcgProjQtnItmCmmdtyQty>static final SimpleProperty.String<SrcgProjQtnItmCmmdtyQty>static final SimpleProperty.String<SrcgProjQtnItmCmmdtyQty>static final SimpleProperty.Guid<SrcgProjQtnItmCmmdtyQty>static final SimpleProperty.Guid<SrcgProjQtnItmCmmdtyQty>static final SimpleProperty.Guid<SrcgProjQtnItmCmmdtyQty>Use with available request builders to apply the _SourcingProjectQuotation navigation property to query operations.static final NavigationProperty.Single<SrcgProjQtnItmCmmdtyQty,SrcgProjQtnItem> Use with available request builders to apply the _SrcgProjQuotationItem navigation property to query operations.static final SimpleProperty.Date<SrcgProjQtnItmCmmdtyQty>static final SimpleProperty.Date<SrcgProjQtnItmCmmdtyQty>Fields inherited from class com.sap.cloud.sdk.datamodel.odatav4.core.VdmObject
changedOriginalFields, ODATA_TYPE_ANNOTATIONS, ODATA_VERSION_ANNOTATIONS -
Constructor Summary
ConstructorsConstructorDescriptionSrcgProjQtnItmCmmdtyQty(UUID srcgProjQtnCmmdtyQuantityUUID, UUID sourcingProjectQuotationUUID, UUID srcgProjQtnItemUUID, String commodity, LocalDate validityEndDate, LocalDate validityStartDate, BigDecimal commodityQuantity, String commodityUnit, BigDecimal purgDocCmmdtyRefDocItmQty, String itemQuantityUnit, String purgDocCmmdtyUpdateCycleText, String purgDocCmmdtyUpdateCycle, String commodityName, SourcingProjectQuotation to_SourcingProjectQuotation, SrcgProjQtnItem to_SrcgProjQuotationItem) -
Method Summary
Modifier and TypeMethodDescriptionbuilder()protected booleanbooleanprotected voidConstraints: Not nullable, Maximum length: 18Constraints: Not nullable, Maximum length: 40Constraints: Not nullable, Precision: 17, Scale: 3Constraints: Not nullable, Maximum length: 3protected Stringprotected StringConstraints: Not nullable, Maximum length: 3protected ODataEntityKeygetKey()Constraints: Not nullable, Precision: 5Constraints: Not nullable, Maximum length: 2Constraints: Not nullable, Maximum length: 60io.vavr.control.Option<SourcingProjectQuotation>Retrieval of associated SourcingProjectQuotation entity (one to one).Constraints: Not nullable(Key Field) Constraints: Not nullableConstraints: Not nullableio.vavr.control.Option<SrcgProjQtnItem>Retrieval of associated SrcgProjQtnItem entity (one to one).getType()Constraints: NullableConstraints: NullableinthashCode()voidsetCommodity(String commodity) Constraints: Not nullable, Maximum length: 18voidsetCommodityName(String commodityName) Constraints: Not nullable, Maximum length: 40voidsetCommodityQuantity(BigDecimal commodityQuantity) Constraints: Not nullable, Precision: 17, Scale: 3voidsetCommodityUnit(String commodityUnit) Constraints: Not nullable, Maximum length: 3voidsetItemQuantityUnit(String itemQuantityUnit) Constraints: Not nullable, Maximum length: 3voidsetPurgDocCmmdtyRefDocItmQty(BigDecimal purgDocCmmdtyRefDocItmQty) Constraints: Not nullable, Precision: 5voidsetPurgDocCmmdtyUpdateCycle(String purgDocCmmdtyUpdateCycle) Constraints: Not nullable, Maximum length: 2voidsetPurgDocCmmdtyUpdateCycleText(String purgDocCmmdtyUpdateCycleText) Constraints: Not nullable, Maximum length: 60voidOverwrites the associated SourcingProjectQuotation entity for the loaded navigation property _SourcingProjectQuotation.voidsetSourcingProjectQuotationUUID(UUID sourcingProjectQuotationUUID) Constraints: Not nullablevoidsetSrcgProjQtnCmmdtyQuantityUUID(UUID srcgProjQtnCmmdtyQuantityUUID) (Key Field) Constraints: Not nullablevoidsetSrcgProjQtnItemUUID(UUID srcgProjQtnItemUUID) Constraints: Not nullablevoidOverwrites the associated SrcgProjQtnItem entity for the loaded navigation property _SrcgProjQuotationItem.voidsetValidityEndDate(LocalDate validityEndDate) Constraints: NullablevoidsetValidityStartDate(LocalDate validityStartDate) 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 SrcgProjQtnItmCmmdtyQty. -
SRCG_PROJ_QTN_CMMDTY_QUANTITY_UUID
-
SOURCING_PROJECT_QUOTATION_UUID
-
SRCG_PROJ_QTN_ITEM_UUID
-
COMMODITY
-
VALIDITY_END_DATE
-
VALIDITY_START_DATE
-
COMMODITY_QUANTITY
-
COMMODITY_UNIT
-
PURG_DOC_CMMDTY_REF_DOC_ITM_QTY
public static final SimpleProperty.NumericDecimal<SrcgProjQtnItmCmmdtyQty> PURG_DOC_CMMDTY_REF_DOC_ITM_QTY -
ITEM_QUANTITY_UNIT
-
PURG_DOC_CMMDTY_UPDATE_CYCLE_TEXT
public static final SimpleProperty.String<SrcgProjQtnItmCmmdtyQty> PURG_DOC_CMMDTY_UPDATE_CYCLE_TEXT -
PURG_DOC_CMMDTY_UPDATE_CYCLE
-
COMMODITY_NAME
-
TO__SOURCING_PROJECT_QUOTATION
public static final NavigationProperty.Single<SrcgProjQtnItmCmmdtyQty,SourcingProjectQuotation> TO__SOURCING_PROJECT_QUOTATIONUse with available request builders to apply the _SourcingProjectQuotation navigation property to query operations. -
TO__SRCG_PROJ_QUOTATION_ITEM
public static final NavigationProperty.Single<SrcgProjQtnItmCmmdtyQty,SrcgProjQtnItem> TO__SRCG_PROJ_QUOTATION_ITEMUse with available request builders to apply the _SrcgProjQuotationItem navigation property to query operations.
-
-
Constructor Details
-
SrcgProjQtnItmCmmdtyQty
public SrcgProjQtnItmCmmdtyQty() -
SrcgProjQtnItmCmmdtyQty
public SrcgProjQtnItmCmmdtyQty(@Nullable UUID srcgProjQtnCmmdtyQuantityUUID, @Nullable UUID sourcingProjectQuotationUUID, @Nullable UUID srcgProjQtnItemUUID, @Nullable String commodity, @Nullable LocalDate validityEndDate, @Nullable LocalDate validityStartDate, @Nullable BigDecimal commodityQuantity, @Nullable String commodityUnit, @Nullable BigDecimal purgDocCmmdtyRefDocItmQty, @Nullable String itemQuantityUnit, @Nullable String purgDocCmmdtyUpdateCycleText, @Nullable String purgDocCmmdtyUpdateCycle, @Nullable String commodityName, @Nullable SourcingProjectQuotation to_SourcingProjectQuotation, @Nullable SrcgProjQtnItem to_SrcgProjQuotationItem)
-
-
Method Details
-
getType
- Specified by:
getTypein classVdmObject<SrcgProjQtnItmCmmdtyQty>
-
setSrcgProjQtnCmmdtyQuantityUUID
(Key Field) Constraints: Not nullableOriginal property name from the Odata EDM: SrcgProjQtnCmmdtyQuantityUUID
- Parameters:
srcgProjQtnCmmdtyQuantityUUID- Commodity Quantity UUID for Sourcing Project Quotation
-
setSourcingProjectQuotationUUID
Constraints: Not nullableOriginal property name from the Odata EDM: SourcingProjectQuotationUUID
- Parameters:
sourcingProjectQuotationUUID- Supplier Quotation UUID
-
setSrcgProjQtnItemUUID
Constraints: Not nullableOriginal property name from the Odata EDM: SrcgProjQtnItemUUID
- Parameters:
srcgProjQtnItemUUID- Supplier Quotation Item UUID
-
setCommodity
Constraints: Not nullable, Maximum length: 18Original property name from the Odata EDM: Commodity
- Parameters:
commodity- Commodity
-
setValidityEndDate
Constraints: NullableOriginal property name from the Odata EDM: ValidityEndDate
- Parameters:
validityEndDate- End of Validity Period
-
setValidityStartDate
Constraints: NullableOriginal property name from the Odata EDM: ValidityStartDate
- Parameters:
validityStartDate- Start of Validity Period
-
setCommodityQuantity
Constraints: Not nullable, Precision: 17, Scale: 3Original property name from the Odata EDM: CommodityQuantity
- Parameters:
commodityQuantity- Commodity Quantity
-
setCommodityUnit
Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: CommodityUnit
- Parameters:
commodityUnit- Purchase Order Unit of Measure
-
setPurgDocCmmdtyRefDocItmQty
Constraints: Not nullable, Precision: 5Original property name from the Odata EDM: PurgDocCmmdtyRefDocItmQty
- Parameters:
purgDocCmmdtyRefDocItmQty- Price unit
-
setItemQuantityUnit
Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: ItemQuantityUnit
- Parameters:
itemQuantityUnit- Quantity Unit of Item in Supplier Quotation
-
setPurgDocCmmdtyUpdateCycleText
Constraints: Not nullable, Maximum length: 60Original property name from the Odata EDM: PurgDocCmmdtyUpdateCycleText
- Parameters:
purgDocCmmdtyUpdateCycleText- Purchase Commodity Update cycle text
-
setPurgDocCmmdtyUpdateCycle
Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: PurgDocCmmdtyUpdateCycle
- Parameters:
purgDocCmmdtyUpdateCycle- Cycle Indicator for Commodity Update
-
setCommodityName
Constraints: Not nullable, Maximum length: 40Original property name from the Odata EDM: CommodityName
- Parameters:
commodityName- Commodity Description
-
getEntityCollection
- Specified by:
getEntityCollectionin classVdmEntity<SrcgProjQtnItmCmmdtyQty>
-
getKey
- Overrides:
getKeyin classVdmObject<SrcgProjQtnItmCmmdtyQty>
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<SrcgProjQtnItmCmmdtyQty>
-
fromMap
- Overrides:
fromMapin classVdmObject<SrcgProjQtnItmCmmdtyQty>
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<SrcgProjQtnItmCmmdtyQty>
-
getSourcingProjectQuotationIfPresent
@Nonnull public io.vavr.control.Option<SourcingProjectQuotation> getSourcingProjectQuotationIfPresent()Retrieval of associated SourcingProjectQuotation entity (one to one). This corresponds to the OData navigation property _SourcingProjectQuotation.If the navigation property for an entity SrcgProjQtnItmCmmdtyQty 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 _SourcingProjectQuotation is already loaded, the result
will contain the SourcingProjectQuotation entity. If not, an
Optionwith result stateemptyis returned.
-
setSourcingProjectQuotation
Overwrites the associated SourcingProjectQuotation entity for the loaded navigation property _SourcingProjectQuotation.- Parameters:
value- New SourcingProjectQuotation entity.
-
getSrcgProjQuotationItemIfPresent
Retrieval of associated SrcgProjQtnItem entity (one to one). This corresponds to the OData navigation property _SrcgProjQuotationItem.If the navigation property for an entity SrcgProjQtnItmCmmdtyQty 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 _SrcgProjQuotationItem is already loaded, the result
will contain the SrcgProjQtnItem entity. If not, an
Optionwith result stateemptyis returned.
-
setSrcgProjQuotationItem
Overwrites the associated SrcgProjQtnItem entity for the loaded navigation property _SrcgProjQuotationItem.- Parameters:
value- New SrcgProjQtnItem entity.
-
builder
-
getSrcgProjQtnCmmdtyQuantityUUID
(Key Field) Constraints: Not nullableOriginal property name from the Odata EDM: SrcgProjQtnCmmdtyQuantityUUID
- Returns:
- Commodity Quantity UUID for Sourcing Project Quotation
-
getSourcingProjectQuotationUUID
Constraints: Not nullableOriginal property name from the Odata EDM: SourcingProjectQuotationUUID
- Returns:
- Supplier Quotation UUID
-
getSrcgProjQtnItemUUID
Constraints: Not nullableOriginal property name from the Odata EDM: SrcgProjQtnItemUUID
- Returns:
- Supplier Quotation Item UUID
-
getCommodity
Constraints: Not nullable, Maximum length: 18Original property name from the Odata EDM: Commodity
- Returns:
- Commodity
-
getValidityEndDate
Constraints: NullableOriginal property name from the Odata EDM: ValidityEndDate
- Returns:
- End of Validity Period
-
getValidityStartDate
Constraints: NullableOriginal property name from the Odata EDM: ValidityStartDate
- Returns:
- Start of Validity Period
-
getCommodityQuantity
Constraints: Not nullable, Precision: 17, Scale: 3Original property name from the Odata EDM: CommodityQuantity
- Returns:
- Commodity Quantity
-
getCommodityUnit
Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: CommodityUnit
- Returns:
- Purchase Order Unit of Measure
-
getPurgDocCmmdtyRefDocItmQty
Constraints: Not nullable, Precision: 5Original property name from the Odata EDM: PurgDocCmmdtyRefDocItmQty
- Returns:
- Price unit
-
getItemQuantityUnit
Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: ItemQuantityUnit
- Returns:
- Quantity Unit of Item in Supplier Quotation
-
getPurgDocCmmdtyUpdateCycleText
Constraints: Not nullable, Maximum length: 60Original property name from the Odata EDM: PurgDocCmmdtyUpdateCycleText
- Returns:
- Purchase Commodity Update cycle text
-
getPurgDocCmmdtyUpdateCycle
Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: PurgDocCmmdtyUpdateCycle
- Returns:
- Cycle Indicator for Commodity Update
-
getCommodityName
Constraints: Not nullable, Maximum length: 40Original property name from the Odata EDM: CommodityName
- Returns:
- Commodity Description
-
toString
- Overrides:
toStringin classVdmObject<SrcgProjQtnItmCmmdtyQty>
-
equals
- Overrides:
equalsin classVdmEntity<SrcgProjQtnItmCmmdtyQty>
-
canEqual
- Overrides:
canEqualin classVdmEntity<SrcgProjQtnItmCmmdtyQty>
-
hashCode
public int hashCode()- Overrides:
hashCodein classVdmEntity<SrcgProjQtnItmCmmdtyQty>
-
getOdataType
- Specified by:
getOdataTypein classVdmObject<SrcgProjQtnItmCmmdtyQty>
-