Package com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.productmasterdataincludingclassification
Class ProductPlantProcurement
java.lang.Object
com.sap.cloud.sdk.datamodel.odata.helper.VdmObject<EntityT>
com.sap.cloud.sdk.datamodel.odata.helper.VdmEntity<ProductPlantProcurement>
com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.productmasterdataincludingclassification.ProductPlantProcurement
Procurement Data
Original entity name from the Odata EDM: A_ProductPlantProcurementType
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final ProductPlantProcurementSelectableSelector for all available fields of ProductPlantProcurement.static final ProductPlantProcurementField<Boolean>Use with available fluent helpers to apply the IsAutoPurOrdCreationAllowed field to query operations.static final ProductPlantProcurementField<Boolean>Use with available fluent helpers to apply the IsSourceListRequired field to query operations.static final ProductPlantProcurementField<String>Use with available fluent helpers to apply the Plant field to query operations.static final ProductPlantProcurementField<String>Use with available fluent helpers to apply the Product field to query operations.static final ProductPlantProcurementField<String>Use with available fluent helpers to apply the SourceOfSupplyCategory field to query operations.Fields inherited from class com.sap.cloud.sdk.datamodel.odata.helper.VdmObject
changedOriginalFields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidattachToService(String servicePath, HttpDestinationProperties destination) builder()protected booleanbooleanstatic <T,DomainT>
ProductPlantProcurementField<T>field(String fieldName, TypeConverter<T, DomainT> typeConverter) Use with available fluent helpers to apply an extension field to query operations.static <T> ProductPlantProcurementField<T>Use with available fluent helpers to apply an extension field to query operations.protected voidprotected Stringprotected StringConstraints: noneConstraints: nonegetKey()getPlant()(Key Field) Constraints: Not nullable, Maximum length: 4(Key Field) Constraints: Not nullable, Maximum length: 40Constraints: Not nullable, Maximum length: 1getType()inthashCode()voidsetIsAutoPurOrdCreationAllowed(Boolean isAutoPurOrdCreationAllowed) Constraints: nonevoidsetIsSourceListRequired(Boolean isSourceListRequired) Constraints: nonevoid(Key Field) Constraints: Not nullable, Maximum length: 4voidsetProduct(String product) (Key Field) Constraints: Not nullable, Maximum length: 40protected voidsetServicePathForFetch(String servicePathForFetch) voidsetSourceOfSupplyCategory(String sourceOfSupplyCategory) 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 ProductPlantProcurement. -
PRODUCT
Use with available fluent helpers to apply the Product field to query operations. -
PLANT
Use with available fluent helpers to apply the Plant field to query operations. -
IS_AUTO_PUR_ORD_CREATION_ALLOWED
Use with available fluent helpers to apply the IsAutoPurOrdCreationAllowed field to query operations. -
IS_SOURCE_LIST_REQUIRED
Use with available fluent helpers to apply the IsSourceListRequired field to query operations. -
SOURCE_OF_SUPPLY_CATEGORY
Use with available fluent helpers to apply the SourceOfSupplyCategory field to query operations.
-
-
Constructor Details
-
ProductPlantProcurement
public ProductPlantProcurement() -
ProductPlantProcurement
-
-
Method Details
-
getType
- Specified by:
getTypein classVdmObject<ProductPlantProcurement>
-
setProduct
(Key Field) Constraints: Not nullable, Maximum length: 40Original property name from the Odata EDM: Product
- Parameters:
product- Product Number
-
setPlant
(Key Field) Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: Plant
- Parameters:
plant- Plant
-
setIsAutoPurOrdCreationAllowed
Constraints: noneOriginal property name from the Odata EDM: IsAutoPurOrdCreationAllowed
- Parameters:
isAutoPurOrdCreationAllowed- Indicator: "automatic purchase order allowed"
-
setIsSourceListRequired
Constraints: noneOriginal property name from the Odata EDM: IsSourceListRequired
- Parameters:
isSourceListRequired- Indicator: Source list requirement
-
setSourceOfSupplyCategory
Constraints: Not nullable, Maximum length: 1Original property name from the Odata EDM: SourceOfSupplyCategory
- Parameters:
sourceOfSupplyCategory- Source of Supply
-
getEntityCollection
- Specified by:
getEntityCollectionin classVdmEntity<ProductPlantProcurement>
-
getKey
- Overrides:
getKeyin classVdmObject<ProductPlantProcurement>
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<ProductPlantProcurement>
-
fromMap
- Overrides:
fromMapin classVdmObject<ProductPlantProcurement>
-
field
@Nonnull public static <T> ProductPlantProcurementField<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> ProductPlantProcurementField<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<ProductPlantProcurement>
-
setServicePathForFetch
- Overrides:
setServicePathForFetchin classVdmEntity<ProductPlantProcurement>
-
attachToService
public void attachToService(@Nullable String servicePath, @Nonnull HttpDestinationProperties destination) - Overrides:
attachToServicein classVdmEntity<ProductPlantProcurement>
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<ProductPlantProcurement>
-
builder
-
getProduct
(Key Field) Constraints: Not nullable, Maximum length: 40Original property name from the Odata EDM: Product
- Returns:
- Product Number
-
getPlant
(Key Field) Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: Plant
- Returns:
- Plant
-
getIsAutoPurOrdCreationAllowed
Constraints: noneOriginal property name from the Odata EDM: IsAutoPurOrdCreationAllowed
- Returns:
- Indicator: "automatic purchase order allowed"
-
getIsSourceListRequired
Constraints: noneOriginal property name from the Odata EDM: IsSourceListRequired
- Returns:
- Indicator: Source list requirement
-
getSourceOfSupplyCategory
Constraints: Not nullable, Maximum length: 1Original property name from the Odata EDM: SourceOfSupplyCategory
- Returns:
- Source of Supply
-
toString
- Overrides:
toStringin classVdmObject<ProductPlantProcurement>
-
equals
- Overrides:
equalsin classVdmEntity<ProductPlantProcurement>
-
canEqual
- Overrides:
canEqualin classVdmEntity<ProductPlantProcurement>
-
hashCode
public int hashCode()- Overrides:
hashCodein classVdmEntity<ProductPlantProcurement>
-