Class ProductPlantProcurement
- All Implemented Interfaces:
VdmEntitySet
Original entity name from the Odata EDM: ProductPlantProcurement_Type
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classHelper class to allow for fluent creation of ProductPlantProcurement instances. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final SimpleProperty<ProductPlantProcurement>Selector for all available fields of ProductPlantProcurement.static final SimpleProperty.Boolean<ProductPlantProcurement>static final SimpleProperty.Boolean<ProductPlantProcurement>static final SimpleProperty.String<ProductPlantProcurement>static final SimpleProperty.String<ProductPlantProcurement>static final SimpleProperty.String<ProductPlantProcurement>static final SimpleProperty.String<ProductPlantProcurement>static final NavigationProperty.Single<ProductPlantProcurement,Product> Use with available request builders to apply the _Product navigation property to query operations.static final NavigationProperty.Single<ProductPlantProcurement,ProductPlant> Use with available request builders to apply the _ProductPlant 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
ConstructorsConstructorDescriptionProductPlantProcurement(String product, String plant, Boolean isAutoPurOrdCreationAllowed, Boolean isSourceListRequired, String justInTimeDeliveryScheduleCode, String purchasingGroup, Product to_Product, ProductPlant to_ProductPlant) -
Method Summary
Modifier and TypeMethodDescriptionbuilder()protected booleanbooleanprotected voidprotected Stringprotected StringConstraints: Not nullableConstraints: Not nullableConstraints: Not nullable, Maximum length: 1protected ODataEntityKeygetKey()getPlant()(Key Field) Constraints: Not nullable, Maximum length: 4(Key Field) Constraints: Not nullable, Maximum length: 18io.vavr.control.Option<Product>Retrieval of associated Product entity (one to one).io.vavr.control.Option<ProductPlant>Retrieval of associated ProductPlant entity (one to one).Constraints: Not nullable, Maximum length: 3getType()inthashCode()voidsetIsAutoPurOrdCreationAllowed(Boolean isAutoPurOrdCreationAllowed) Constraints: Not nullablevoidsetIsSourceListRequired(Boolean isSourceListRequired) Constraints: Not nullablevoidsetJustInTimeDeliveryScheduleCode(String justInTimeDeliveryScheduleCode) Constraints: Not nullable, Maximum length: 1void(Key Field) Constraints: Not nullable, Maximum length: 4voidsetProduct(Product value) Overwrites the associated Product entity for the loaded navigation property _Product.voidsetProduct(String product) (Key Field) Constraints: Not nullable, Maximum length: 18voidsetProductPlant(ProductPlant value) Overwrites the associated ProductPlant entity for the loaded navigation property _ProductPlant.voidsetPurchasingGroup(String purchasingGroup) Constraints: Not nullable, Maximum length: 3toString()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 ProductPlantProcurement. -
PRODUCT
-
PLANT
-
IS_AUTO_PUR_ORD_CREATION_ALLOWED
public static final SimpleProperty.Boolean<ProductPlantProcurement> IS_AUTO_PUR_ORD_CREATION_ALLOWED -
IS_SOURCE_LIST_REQUIRED
-
JUST_IN_TIME_DELIVERY_SCHEDULE_CODE
public static final SimpleProperty.String<ProductPlantProcurement> JUST_IN_TIME_DELIVERY_SCHEDULE_CODE -
PURCHASING_GROUP
-
TO__PRODUCT
Use with available request builders to apply the _Product navigation property to query operations. -
TO__PRODUCT_PLANT
public static final NavigationProperty.Single<ProductPlantProcurement,ProductPlant> TO__PRODUCT_PLANTUse with available request builders to apply the _ProductPlant navigation property to query operations.
-
-
Constructor Details
-
ProductPlantProcurement
public ProductPlantProcurement() -
ProductPlantProcurement
public ProductPlantProcurement(@Nullable String product, @Nullable String plant, @Nullable Boolean isAutoPurOrdCreationAllowed, @Nullable Boolean isSourceListRequired, @Nullable String justInTimeDeliveryScheduleCode, @Nullable String purchasingGroup, @Nullable Product to_Product, @Nullable ProductPlant to_ProductPlant)
-
-
Method Details
-
getType
- Specified by:
getTypein classVdmObject<ProductPlantProcurement>
-
setProduct
(Key Field) Constraints: Not nullable, Maximum length: 18Original 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: Not nullableOriginal property name from the Odata EDM: IsAutoPurOrdCreationAllowed
- Parameters:
isAutoPurOrdCreationAllowed- Indicator: "automatic purchase order allowed"
-
setIsSourceListRequired
Constraints: Not nullableOriginal property name from the Odata EDM: IsSourceListRequired
- Parameters:
isSourceListRequired- Indicator: Source list requirement
-
setJustInTimeDeliveryScheduleCode
Constraints: Not nullable, Maximum length: 1Original property name from the Odata EDM: JustInTimeDeliveryScheduleCode
- Parameters:
justInTimeDeliveryScheduleCode- JIT Delivery Schedules
-
setPurchasingGroup
Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: PurchasingGroup
- Parameters:
purchasingGroup- Purchasing Group
-
getEntityCollection
- Specified by:
getEntityCollectionin classVdmEntity<ProductPlantProcurement>
-
getKey
- Overrides:
getKeyin classVdmObject<ProductPlantProcurement>
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<ProductPlantProcurement>
-
fromMap
- Overrides:
fromMapin classVdmObject<ProductPlantProcurement>
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<ProductPlantProcurement>
-
getProductIfPresent
Retrieval of associated Product entity (one to one). This corresponds to the OData navigation property _Product.If the navigation property for an entity ProductPlantProcurement 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.
-
getProductPlantIfPresent
Retrieval of associated ProductPlant entity (one to one). This corresponds to the OData navigation property _ProductPlant.If the navigation property for an entity ProductPlantProcurement 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 _ProductPlant is already loaded, the result will
contain the ProductPlant entity. If not, an
Optionwith result stateemptyis returned.
-
setProductPlant
Overwrites the associated ProductPlant entity for the loaded navigation property _ProductPlant.- Parameters:
value- New ProductPlant entity.
-
builder
-
getProduct
(Key Field) Constraints: Not nullable, Maximum length: 18Original 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: Not nullableOriginal property name from the Odata EDM: IsAutoPurOrdCreationAllowed
- Returns:
- Indicator: "automatic purchase order allowed"
-
getIsSourceListRequired
Constraints: Not nullableOriginal property name from the Odata EDM: IsSourceListRequired
- Returns:
- Indicator: Source list requirement
-
getJustInTimeDeliveryScheduleCode
Constraints: Not nullable, Maximum length: 1Original property name from the Odata EDM: JustInTimeDeliveryScheduleCode
- Returns:
- JIT Delivery Schedules
-
getPurchasingGroup
Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: PurchasingGroup
- Returns:
- Purchasing Group
-
toString
- Overrides:
toStringin classVdmObject<ProductPlantProcurement>
-
equals
- Overrides:
equalsin classVdmEntity<ProductPlantProcurement>
-
canEqual
- Overrides:
canEqualin classVdmEntity<ProductPlantProcurement>
-
hashCode
public int hashCode()- Overrides:
hashCodein classVdmEntity<ProductPlantProcurement>
-
getOdataType
- Specified by:
getOdataTypein classVdmObject<ProductPlantProcurement>
-