Class ProductPlantStorage
- All Implemented Interfaces:
VdmEntitySet
Original entity name from the Odata EDM: ProductPlantStorage_Type
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classHelper class to allow for fluent creation of ProductPlantStorage instances. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final SimpleProperty<ProductPlantStorage>Selector for all available fields of ProductPlantStorage.static final SimpleProperty.Boolean<ProductPlantStorage>static final SimpleProperty.NumericDecimal<ProductPlantStorage>static final SimpleProperty.String<ProductPlantStorage>static final SimpleProperty.String<ProductPlantStorage>static final SimpleProperty.String<ProductPlantStorage>static final SimpleProperty.String<ProductPlantStorage>static final SimpleProperty.String<ProductPlantStorage>static final NavigationProperty.Single<ProductPlantStorage,Product> Use with available request builders to apply the _Product navigation property to query operations.static final NavigationProperty.Single<ProductPlantStorage,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
ConstructorsConstructorDescriptionProductPlantStorage(String product, String plant, String physInventoryForCycleCounting, BigDecimal maximumStoragePeriod, String prodMaximumStoragePeriodUnit, String maximumStoragePeriodISOUnit, Boolean cycleCountingIndicatorIsFixed, Product to_Product, ProductPlant to_ProductPlant) -
Method Summary
Modifier and TypeMethodDescriptionbuilder()protected booleanbooleanprotected voidConstraints: Not nullableprotected Stringprotected Stringprotected ODataEntityKeygetKey()Constraints: Not nullable, Precision: 5Constraints: Not nullable, Maximum length: 3Constraints: Not nullable, Maximum length: 1getPlant()(Key Field) Constraints: Not nullable, Maximum length: 4Constraints: Not nullable, Maximum length: 3(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).getType()inthashCode()voidsetCycleCountingIndicatorIsFixed(Boolean cycleCountingIndicatorIsFixed) Constraints: Not nullablevoidsetMaximumStoragePeriod(BigDecimal maximumStoragePeriod) Constraints: Not nullable, Precision: 5voidsetMaximumStoragePeriodISOUnit(String maximumStoragePeriodISOUnit) Constraints: Not nullable, Maximum length: 3voidsetPhysInventoryForCycleCounting(String physInventoryForCycleCounting) Constraints: Not nullable, Maximum length: 1void(Key Field) Constraints: Not nullable, Maximum length: 4voidsetProdMaximumStoragePeriodUnit(String prodMaximumStoragePeriodUnit) Constraints: Not nullable, Maximum length: 3voidsetProduct(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.toString()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 ProductPlantStorage. -
PRODUCT
-
PLANT
-
PHYS_INVENTORY_FOR_CYCLE_COUNTING
-
MAXIMUM_STORAGE_PERIOD
-
PROD_MAXIMUM_STORAGE_PERIOD_UNIT
-
MAXIMUM_STORAGE_PERIOD_ISO_UNIT
-
CYCLE_COUNTING_INDICATOR_IS_FIXED
-
TO__PRODUCT
Use with available request builders to apply the _Product navigation property to query operations. -
TO__PRODUCT_PLANT
Use with available request builders to apply the _ProductPlant navigation property to query operations.
-
-
Constructor Details
-
ProductPlantStorage
public ProductPlantStorage() -
ProductPlantStorage
public ProductPlantStorage(@Nullable String product, @Nullable String plant, @Nullable String physInventoryForCycleCounting, @Nullable BigDecimal maximumStoragePeriod, @Nullable String prodMaximumStoragePeriodUnit, @Nullable String maximumStoragePeriodISOUnit, @Nullable Boolean cycleCountingIndicatorIsFixed, @Nullable Product to_Product, @Nullable ProductPlant to_ProductPlant)
-
-
Method Details
-
getType
- Specified by:
getTypein classVdmObject<ProductPlantStorage>
-
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
-
setPhysInventoryForCycleCounting
Constraints: Not nullable, Maximum length: 1Original property name from the Odata EDM: PhysInventoryForCycleCounting
- Parameters:
physInventoryForCycleCounting- Physical Inventory Indicator for Cycle Counting
-
setMaximumStoragePeriod
Constraints: Not nullable, Precision: 5Original property name from the Odata EDM: MaximumStoragePeriod
- Parameters:
maximumStoragePeriod- Maximum Storage Period
-
setProdMaximumStoragePeriodUnit
Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: ProdMaximumStoragePeriodUnit
- Parameters:
prodMaximumStoragePeriodUnit- Unit for maximum storage period
-
setMaximumStoragePeriodISOUnit
Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: MaximumStoragePeriodISOUnit
- Parameters:
maximumStoragePeriodISOUnit- Unit for the maximum storage period in ISO code
-
setCycleCountingIndicatorIsFixed
Constraints: Not nullableOriginal property name from the Odata EDM: CycleCountingIndicatorIsFixed
- Parameters:
cycleCountingIndicatorIsFixed- CC indicator is fixed
-
getEntityCollection
- Specified by:
getEntityCollectionin classVdmEntity<ProductPlantStorage>
-
getKey
- Overrides:
getKeyin classVdmObject<ProductPlantStorage>
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<ProductPlantStorage>
-
fromMap
- Overrides:
fromMapin classVdmObject<ProductPlantStorage>
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<ProductPlantStorage>
-
getProductIfPresent
Retrieval of associated Product entity (one to one). This corresponds to the OData navigation property _Product.If the navigation property for an entity ProductPlantStorage 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 ProductPlantStorage 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
-
getPhysInventoryForCycleCounting
Constraints: Not nullable, Maximum length: 1Original property name from the Odata EDM: PhysInventoryForCycleCounting
- Returns:
- Physical Inventory Indicator for Cycle Counting
-
getMaximumStoragePeriod
Constraints: Not nullable, Precision: 5Original property name from the Odata EDM: MaximumStoragePeriod
- Returns:
- Maximum Storage Period
-
getProdMaximumStoragePeriodUnit
Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: ProdMaximumStoragePeriodUnit
- Returns:
- Unit for maximum storage period
-
getMaximumStoragePeriodISOUnit
Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: MaximumStoragePeriodISOUnit
- Returns:
- Unit for the maximum storage period in ISO code
-
getCycleCountingIndicatorIsFixed
Constraints: Not nullableOriginal property name from the Odata EDM: CycleCountingIndicatorIsFixed
- Returns:
- CC indicator is fixed
-
toString
- Overrides:
toStringin classVdmObject<ProductPlantStorage>
-
equals
- Overrides:
equalsin classVdmEntity<ProductPlantStorage>
-
canEqual
- Overrides:
canEqualin classVdmEntity<ProductPlantStorage>
-
hashCode
public int hashCode()- Overrides:
hashCodein classVdmEntity<ProductPlantStorage>
-
getOdataType
- Specified by:
getOdataTypein classVdmObject<ProductPlantStorage>
-