Class ProductPlantStorageLocation
- All Implemented Interfaces:
VdmEntitySet
Original entity name from the Odata EDM: ProductPlantStorageLocation_Type
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classHelper class to allow for fluent creation of ProductPlantStorageLocation instances. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final SimpleProperty<ProductPlantStorageLocation>Selector for all available fields of ProductPlantStorageLocation.static final SimpleProperty.Boolean<ProductPlantStorageLocation>static final SimpleProperty.String<ProductPlantStorageLocation>static final SimpleProperty.String<ProductPlantStorageLocation>static final SimpleProperty.String<ProductPlantStorageLocation>static final NavigationProperty.Single<ProductPlantStorageLocation,Product> Use with available request builders to apply the _Product navigation property to query operations.static final NavigationProperty.Single<ProductPlantStorageLocation,ProductPlant> Use with available request builders to apply the _ProductPlant navigation property to query operations.static final SimpleProperty.String<ProductPlantStorageLocation>Fields inherited from class com.sap.cloud.sdk.datamodel.odatav4.core.VdmObject
changedOriginalFields, ODATA_TYPE_ANNOTATIONS, ODATA_VERSION_ANNOTATIONS -
Constructor Summary
ConstructorsConstructorDescriptionProductPlantStorageLocation(String product, String plant, String storageLocation, String warehouseStorageBin, Boolean isMarkedForDeletion, Product to_Product, ProductPlant to_ProductPlant) -
Method Summary
Modifier and TypeMethodDescriptionbuilder()protected booleanbooleanprotected voidprotected Stringprotected StringConstraints: Not nullableprotected 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).(Key Field) Constraints: Not nullable, Maximum length: 4getType()Constraints: Not nullable, Maximum length: 10inthashCode()voidsetIsMarkedForDeletion(Boolean isMarkedForDeletion) Constraints: Not nullablevoid(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.voidsetStorageLocation(String storageLocation) (Key Field) Constraints: Not nullable, Maximum length: 4voidsetWarehouseStorageBin(String warehouseStorageBin) Constraints: Not nullable, Maximum length: 10toString()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 ProductPlantStorageLocation. -
PRODUCT
-
PLANT
-
STORAGE_LOCATION
-
WAREHOUSE_STORAGE_BIN
-
IS_MARKED_FOR_DELETION
-
TO__PRODUCT
Use with available request builders to apply the _Product navigation property to query operations. -
TO__PRODUCT_PLANT
public static final NavigationProperty.Single<ProductPlantStorageLocation,ProductPlant> TO__PRODUCT_PLANTUse with available request builders to apply the _ProductPlant navigation property to query operations.
-
-
Constructor Details
-
ProductPlantStorageLocation
public ProductPlantStorageLocation() -
ProductPlantStorageLocation
-
-
Method Details
-
getType
- Specified by:
getTypein classVdmObject<ProductPlantStorageLocation>
-
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
-
setStorageLocation
(Key Field) Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: StorageLocation
- Parameters:
storageLocation- Storage Location
-
setWarehouseStorageBin
Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: WarehouseStorageBin
- Parameters:
warehouseStorageBin- Storage Bin
-
setIsMarkedForDeletion
Constraints: Not nullableOriginal property name from the Odata EDM: IsMarkedForDeletion
- Parameters:
isMarkedForDeletion- Flag Material for Deletion at Storage Location Level
-
getEntityCollection
- Specified by:
getEntityCollectionin classVdmEntity<ProductPlantStorageLocation>
-
getKey
- Overrides:
getKeyin classVdmObject<ProductPlantStorageLocation>
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<ProductPlantStorageLocation>
-
fromMap
- Overrides:
fromMapin classVdmObject<ProductPlantStorageLocation>
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<ProductPlantStorageLocation>
-
getProductIfPresent
Retrieval of associated Product entity (one to one). This corresponds to the OData navigation property _Product.If the navigation property for an entity ProductPlantStorageLocation 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 ProductPlantStorageLocation 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
-
getStorageLocation
(Key Field) Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: StorageLocation
- Returns:
- Storage Location
-
getWarehouseStorageBin
Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: WarehouseStorageBin
- Returns:
- Storage Bin
-
getIsMarkedForDeletion
Constraints: Not nullableOriginal property name from the Odata EDM: IsMarkedForDeletion
- Returns:
- Flag Material for Deletion at Storage Location Level
-
toString
- Overrides:
toStringin classVdmObject<ProductPlantStorageLocation>
-
equals
- Overrides:
equalsin classVdmEntity<ProductPlantStorageLocation>
-
canEqual
- Overrides:
canEqualin classVdmEntity<ProductPlantStorageLocation>
-
hashCode
public int hashCode()- Overrides:
hashCodein classVdmEntity<ProductPlantStorageLocation>
-
getOdataType
- Specified by:
getOdataTypein classVdmObject<ProductPlantStorageLocation>
-