Class ProductProcurement
- All Implemented Interfaces:
VdmEntitySet
Original entity name from the Odata EDM: ProductProcurement_Type
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classHelper class to allow for fluent creation of ProductProcurement instances. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final SimpleProperty<ProductProcurement>Selector for all available fields of ProductProcurement.static final SimpleProperty.String<ProductProcurement>static final SimpleProperty.String<ProductProcurement>static final SimpleProperty.String<ProductProcurement>static final SimpleProperty.String<ProductProcurement>static final NavigationProperty.Single<ProductProcurement,Product> Use with available request builders to apply the _Product navigation property to query operations.static final SimpleProperty.String<ProductProcurement>Fields inherited from class com.sap.cloud.sdk.datamodel.odatav4.core.VdmObject
changedOriginalFields, ODATA_TYPE_ANNOTATIONS, ODATA_VERSION_ANNOTATIONS -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuilder()protected booleanbooleanprotected voidprotected Stringprotected Stringprotected ODataEntityKeygetKey()(Key Field) Constraints: Not nullable, Maximum length: 18io.vavr.control.Option<Product>Retrieval of associated Product entity (one to one).Constraints: Not nullable, Maximum length: 3Constraints: Not nullable, Maximum length: 3Constraints: Not nullable, Maximum length: 4getType()Constraints: Not nullable, Maximum length: 1inthashCode()voidsetProduct(Product value) Overwrites the associated Product entity for the loaded navigation property _Product.voidsetProduct(String product) (Key Field) Constraints: Not nullable, Maximum length: 18voidsetPurchaseOrderQuantityISOUnit(String purchaseOrderQuantityISOUnit) Constraints: Not nullable, Maximum length: 3voidsetPurchaseOrderQuantityUnit(String purchaseOrderQuantityUnit) Constraints: Not nullable, Maximum length: 3voidsetPurchasingAcknProfile(String purchasingAcknProfile) Constraints: Not nullable, Maximum length: 4voidsetVarblPurOrdUnitStatus(String varblPurOrdUnitStatus) Constraints: Not nullable, Maximum length: 1toString()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 ProductProcurement. -
PRODUCT
-
PURCHASE_ORDER_QUANTITY_UNIT
-
PURCHASE_ORDER_QUANTITY_ISO_UNIT
-
VARBL_PUR_ORD_UNIT_STATUS
-
PURCHASING_ACKN_PROFILE
-
TO__PRODUCT
Use with available request builders to apply the _Product navigation property to query operations.
-
-
Constructor Details
-
ProductProcurement
public ProductProcurement() -
ProductProcurement
-
-
Method Details
-
getType
- Specified by:
getTypein classVdmObject<ProductProcurement>
-
setProduct
(Key Field) Constraints: Not nullable, Maximum length: 18Original property name from the Odata EDM: Product
- Parameters:
product- Product Number
-
setPurchaseOrderQuantityUnit
Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: PurchaseOrderQuantityUnit
- Parameters:
purchaseOrderQuantityUnit- Purchase Order Unit of Measure
-
setPurchaseOrderQuantityISOUnit
Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: PurchaseOrderQuantityISOUnit
- Parameters:
purchaseOrderQuantityISOUnit- Order unit in ISO code
-
setVarblPurOrdUnitStatus
Constraints: Not nullable, Maximum length: 1Original property name from the Odata EDM: VarblPurOrdUnitStatus
- Parameters:
varblPurOrdUnitStatus- Variable Purchase Order Unit Active
-
setPurchasingAcknProfile
Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: PurchasingAcknProfile
- Parameters:
purchasingAcknProfile- Purchasing Value Key
-
getEntityCollection
- Specified by:
getEntityCollectionin classVdmEntity<ProductProcurement>
-
getKey
- Overrides:
getKeyin classVdmObject<ProductProcurement>
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<ProductProcurement>
-
fromMap
- Overrides:
fromMapin classVdmObject<ProductProcurement>
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<ProductProcurement>
-
getProductIfPresent
Retrieval of associated Product entity (one to one). This corresponds to the OData navigation property _Product.If the navigation property for an entity ProductProcurement 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 _Product is already loaded, the result will contain the
Product entity. If not, an
Optionwith result stateemptyis returned.
-
setProduct
Overwrites the associated Product entity for the loaded navigation property _Product.- Parameters:
value- New Product entity.
-
builder
-
getProduct
(Key Field) Constraints: Not nullable, Maximum length: 18Original property name from the Odata EDM: Product
- Returns:
- Product Number
-
getPurchaseOrderQuantityUnit
Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: PurchaseOrderQuantityUnit
- Returns:
- Purchase Order Unit of Measure
-
getPurchaseOrderQuantityISOUnit
Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: PurchaseOrderQuantityISOUnit
- Returns:
- Order unit in ISO code
-
getVarblPurOrdUnitStatus
Constraints: Not nullable, Maximum length: 1Original property name from the Odata EDM: VarblPurOrdUnitStatus
- Returns:
- Variable Purchase Order Unit Active
-
getPurchasingAcknProfile
Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: PurchasingAcknProfile
- Returns:
- Purchasing Value Key
-
toString
- Overrides:
toStringin classVdmObject<ProductProcurement>
-
equals
- Overrides:
equalsin classVdmEntity<ProductProcurement>
-
canEqual
- Overrides:
canEqualin classVdmEntity<ProductProcurement>
-
hashCode
public int hashCode()- Overrides:
hashCodein classVdmEntity<ProductProcurement>
-
getOdataType
- Specified by:
getOdataTypein classVdmObject<ProductProcurement>
-