Class ProductProcurement
java.lang.Object
com.sap.cloud.sdk.datamodel.odata.helper.VdmObject<EntityT>
com.sap.cloud.sdk.datamodel.odata.helper.VdmEntity<ProductProcurement>
com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.productmaster.ProductProcurement
Basic Procurement Data
Original entity name from the Odata EDM: A_ProductProcurementType
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final ProductProcurementSelectableSelector for all available fields of ProductProcurement.static final ProductProcurementField<String>Use with available fluent helpers to apply the Product field to query operations.static final ProductProcurementField<String>Use with available fluent helpers to apply the PurchaseOrderQuantityUnit field to query operations.static final ProductProcurementField<String>Use with available fluent helpers to apply the PurchasingAcknProfile field to query operations.static final ProductProcurementField<String>Use with available fluent helpers to apply the VarblPurOrdUnitStatus field to query operations.Fields inherited from class com.sap.cloud.sdk.datamodel.odata.helper.VdmObject
changedOriginalFields -
Constructor Summary
ConstructorsConstructorDescriptionProductProcurement(String product, String purchaseOrderQuantityUnit, String varblPurOrdUnitStatus, String purchasingAcknProfile) -
Method Summary
Modifier and TypeMethodDescriptionvoidattachToService(String servicePath, HttpDestinationProperties destination) builder()protected booleanbooleanstatic <T,DomainT>
ProductProcurementField<T>field(String fieldName, TypeConverter<T, DomainT> typeConverter) Use with available fluent helpers to apply an extension field to query operations.static <T> ProductProcurementField<T>Use with available fluent helpers to apply an extension field to query operations.protected voidprotected Stringprotected StringgetKey()(Key Field) Constraints: Not nullable, Maximum length: 40Constraints: Not nullable, Maximum length: 3Constraints: Not nullable, Maximum length: 4getType()Constraints: Not nullable, Maximum length: 1inthashCode()voidsetProduct(String product) (Key Field) Constraints: Not nullable, Maximum length: 40voidsetPurchaseOrderQuantityUnit(String purchaseOrderQuantityUnit) Constraints: Not nullable, Maximum length: 3voidsetPurchasingAcknProfile(String purchasingAcknProfile) Constraints: Not nullable, Maximum length: 4protected voidsetServicePathForFetch(String servicePathForFetch) voidsetVarblPurOrdUnitStatus(String varblPurOrdUnitStatus) Constraints: Not nullable, Maximum length: 1toString()Methods inherited from class com.sap.cloud.sdk.datamodel.odata.helper.VdmEntity
fetchFieldAsList, fetchFieldAsSingle, getServicePathForFetch, getVersionIdentifier, setDestinationForFetch, setVersionIdentifierMethods inherited from class com.sap.cloud.sdk.datamodel.odata.helper.VdmObject
getChangedFields, getCustomField, getCustomField, getCustomFieldNames, getCustomFields, getSetOfCustomFields, getSetOfFields, getSetOfNavigationProperties, hasCustomField, hasCustomField, rememberChangedField, resetChangedFields, setCustomField, setCustomField, toMap, toMapOfCustomFields, toMapOfNavigationProperties
-
Field Details
-
ALL_FIELDS
Selector for all available fields of ProductProcurement. -
PRODUCT
Use with available fluent helpers to apply the Product field to query operations. -
PURCHASE_ORDER_QUANTITY_UNIT
Use with available fluent helpers to apply the PurchaseOrderQuantityUnit field to query operations. -
VARBL_PUR_ORD_UNIT_STATUS
Use with available fluent helpers to apply the VarblPurOrdUnitStatus field to query operations. -
PURCHASING_ACKN_PROFILE
Use with available fluent helpers to apply the PurchasingAcknProfile field 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: 40Original property name from the Odata EDM: Product
- Parameters:
product- Material Number
-
setPurchaseOrderQuantityUnit
Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: PurchaseOrderQuantityUnit
- Parameters:
purchaseOrderQuantityUnit- Purchase Order Unit of Measure
-
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>
-
field
@Nonnull public static <T> ProductProcurementField<T> field(@Nonnull String fieldName, @Nonnull Class<T> fieldType) Use with available fluent helpers to apply an extension field to query operations.- Type Parameters:
T- The type of the extension field when performing value comparisons.- Parameters:
fieldName- The name of the extension field as returned by the OData service.fieldType- The Java type to use for the extension field when performing value comparisons.- Returns:
- A representation of an extension field from this entity.
-
field
@Nonnull public static <T,DomainT> ProductProcurementField<T> field(@Nonnull String fieldName, @Nonnull TypeConverter<T, DomainT> typeConverter) Use with available fluent helpers to apply an extension field to query operations.- Type Parameters:
T- The type of the extension field when performing value comparisons.DomainT- The type of the extension field as returned by the OData service.- Parameters:
typeConverter- A TypeConverter<T, DomainT> instance whose first generic type matches the Java type of the fieldfieldName- The name of the extension field as returned by the OData service.- Returns:
- A representation of an extension field from this entity, holding a reference to the given TypeConverter.
-
getDestinationForFetch
- Overrides:
getDestinationForFetchin classVdmEntity<ProductProcurement>
-
setServicePathForFetch
- Overrides:
setServicePathForFetchin classVdmEntity<ProductProcurement>
-
attachToService
public void attachToService(@Nullable String servicePath, @Nonnull HttpDestinationProperties destination) - Overrides:
attachToServicein classVdmEntity<ProductProcurement>
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<ProductProcurement>
-
builder
-
getProduct
(Key Field) Constraints: Not nullable, Maximum length: 40Original property name from the Odata EDM: Product
- Returns:
- Material Number
-
getPurchaseOrderQuantityUnit
Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: PurchaseOrderQuantityUnit
- Returns:
- Purchase Order Unit of Measure
-
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>
-