Class ProductStorage
- All Implemented Interfaces:
VdmEntitySet
Original entity name from the Odata EDM: ProductStorage_Type
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classHelper class to allow for fluent creation of ProductStorage instances. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final SimpleProperty<ProductStorage>Selector for all available fields of ProductStorage.static final SimpleProperty.String<ProductStorage>static final SimpleProperty.String<ProductStorage>static final SimpleProperty.String<ProductStorage>static final SimpleProperty.String<ProductStorage>static final SimpleProperty.String<ProductStorage>static final SimpleProperty.NumericDecimal<ProductStorage>static final SimpleProperty.NumericDecimal<ProductStorage>static final SimpleProperty.String<ProductStorage>static final SimpleProperty.String<ProductStorage>static final SimpleProperty.String<ProductStorage>static final SimpleProperty.String<ProductStorage>static final SimpleProperty.String<ProductStorage>static final SimpleProperty.String<ProductStorage>static final SimpleProperty.String<ProductStorage>static final NavigationProperty.Single<ProductStorage,Product> Use with available request builders to apply the _Product navigation property to query operations.static final SimpleProperty.NumericDecimal<ProductStorage>static final SimpleProperty.NumericDecimal<ProductStorage>Fields inherited from class com.sap.cloud.sdk.datamodel.odatav4.core.VdmObject
changedOriginalFields, ODATA_TYPE_ANNOTATIONS, ODATA_VERSION_ANNOTATIONS -
Constructor Summary
ConstructorsConstructorDescriptionProductStorage(String product, String storageConditions, String prodTemperatureConditionCode, String hazardousProduct, BigDecimal nmbrOfGROrGISlipsToPrintQty, String labelType, String labelForm, BigDecimal minRemainingShelfLife, String productExpirationDateType, String storageBinInstruction, String shelfLifeExpirationDatePeriod, String shelfLifeExprtnDateRndngRule, BigDecimal totalShelfLifeStoragePercent, BigDecimal totalShelfLife, String baseUnit, String baseISOUnit, Product to_Product) -
Method Summary
Modifier and TypeMethodDescriptionbuilder()protected booleanbooleanprotected voidConstraints: Not nullable, Maximum length: 3Constraints: Not nullable, Maximum length: 3protected Stringprotected StringConstraints: Not nullable, Maximum length: 18protected ODataEntityKeygetKey()Constraints: Not nullable, Maximum length: 2Constraints: Not nullable, Maximum length: 2Constraints: Not nullable, Precision: 4Constraints: Not nullable, Precision: 13, Scale: 3Constraints: Not nullable, Maximum length: 2(Key Field) Constraints: Not nullable, Maximum length: 18Constraints: Not nullable, Maximum length: 1io.vavr.control.Option<Product>Retrieval of associated Product entity (one to one).Constraints: Not nullable, Maximum length: 1Constraints: Not nullable, Maximum length: 1Constraints: Not nullable, Maximum length: 2Constraints: Not nullable, Maximum length: 2Constraints: Not nullable, Precision: 4Constraints: Not nullable, Precision: 3getType()inthashCode()voidsetBaseISOUnit(String baseISOUnit) Constraints: Not nullable, Maximum length: 3voidsetBaseUnit(String baseUnit) Constraints: Not nullable, Maximum length: 3voidsetHazardousProduct(String hazardousProduct) Constraints: Not nullable, Maximum length: 18voidsetLabelForm(String labelForm) Constraints: Not nullable, Maximum length: 2voidsetLabelType(String labelType) Constraints: Not nullable, Maximum length: 2voidsetMinRemainingShelfLife(BigDecimal minRemainingShelfLife) Constraints: Not nullable, Precision: 4voidsetNmbrOfGROrGISlipsToPrintQty(BigDecimal nmbrOfGROrGISlipsToPrintQty) Constraints: Not nullable, Precision: 13, Scale: 3voidsetProdTemperatureConditionCode(String prodTemperatureConditionCode) Constraints: Not nullable, Maximum length: 2voidsetProduct(Product value) Overwrites the associated Product entity for the loaded navigation property _Product.voidsetProduct(String product) (Key Field) Constraints: Not nullable, Maximum length: 18voidsetProductExpirationDateType(String productExpirationDateType) Constraints: Not nullable, Maximum length: 1voidsetShelfLifeExpirationDatePeriod(String shelfLifeExpirationDatePeriod) Constraints: Not nullable, Maximum length: 1voidsetShelfLifeExprtnDateRndngRule(String shelfLifeExprtnDateRndngRule) Constraints: Not nullable, Maximum length: 1voidsetStorageBinInstruction(String storageBinInstruction) Constraints: Not nullable, Maximum length: 2voidsetStorageConditions(String storageConditions) Constraints: Not nullable, Maximum length: 2voidsetTotalShelfLife(BigDecimal totalShelfLife) Constraints: Not nullable, Precision: 4voidsetTotalShelfLifeStoragePercent(BigDecimal totalShelfLifeStoragePercent) Constraints: Not nullable, Precision: 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 ProductStorage. -
PRODUCT
-
STORAGE_CONDITIONS
-
PROD_TEMPERATURE_CONDITION_CODE
-
HAZARDOUS_PRODUCT
-
NMBR_OF_GR_OR_GI_SLIPS_TO_PRINT_QTY
public static final SimpleProperty.NumericDecimal<ProductStorage> NMBR_OF_GR_OR_GI_SLIPS_TO_PRINT_QTY -
LABEL_TYPE
-
LABEL_FORM
-
MIN_REMAINING_SHELF_LIFE
-
PRODUCT_EXPIRATION_DATE_TYPE
-
STORAGE_BIN_INSTRUCTION
-
SHELF_LIFE_EXPIRATION_DATE_PERIOD
-
SHELF_LIFE_EXPRTN_DATE_RNDNG_RULE
-
TOTAL_SHELF_LIFE_STORAGE_PERCENT
-
TOTAL_SHELF_LIFE
-
BASE_UNIT
-
BASE_ISO_UNIT
-
TO__PRODUCT
Use with available request builders to apply the _Product navigation property to query operations.
-
-
Constructor Details
-
ProductStorage
public ProductStorage() -
ProductStorage
public ProductStorage(@Nullable String product, @Nullable String storageConditions, @Nullable String prodTemperatureConditionCode, @Nullable String hazardousProduct, @Nullable BigDecimal nmbrOfGROrGISlipsToPrintQty, @Nullable String labelType, @Nullable String labelForm, @Nullable BigDecimal minRemainingShelfLife, @Nullable String productExpirationDateType, @Nullable String storageBinInstruction, @Nullable String shelfLifeExpirationDatePeriod, @Nullable String shelfLifeExprtnDateRndngRule, @Nullable BigDecimal totalShelfLifeStoragePercent, @Nullable BigDecimal totalShelfLife, @Nullable String baseUnit, @Nullable String baseISOUnit, @Nullable Product to_Product)
-
-
Method Details
-
getType
- Specified by:
getTypein classVdmObject<ProductStorage>
-
setProduct
(Key Field) Constraints: Not nullable, Maximum length: 18Original property name from the Odata EDM: Product
- Parameters:
product- Product Number
-
setStorageConditions
Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: StorageConditions
- Parameters:
storageConditions- Storage conditions
-
setProdTemperatureConditionCode
Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: ProdTemperatureConditionCode
- Parameters:
prodTemperatureConditionCode- Temperature conditions indicator
-
setHazardousProduct
Constraints: Not nullable, Maximum length: 18Original property name from the Odata EDM: HazardousProduct
- Parameters:
hazardousProduct- Hazardous material number
-
setNmbrOfGROrGISlipsToPrintQty
Constraints: Not nullable, Precision: 13, Scale: 3Original property name from the Odata EDM: NmbrOfGROrGISlipsToPrintQty
- Parameters:
nmbrOfGROrGISlipsToPrintQty- Quantity: Number of GR/GI slips to be printed
-
setLabelType
Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: LabelType
- Parameters:
labelType- Label type
-
setLabelForm
Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: LabelForm
- Parameters:
labelForm- Label form
-
setMinRemainingShelfLife
Constraints: Not nullable, Precision: 4Original property name from the Odata EDM: MinRemainingShelfLife
- Parameters:
minRemainingShelfLife- Minimum Remaining Shelf Life
-
setProductExpirationDateType
Constraints: Not nullable, Maximum length: 1Original property name from the Odata EDM: ProductExpirationDateType
- Parameters:
productExpirationDateType- Expiration Date
-
setStorageBinInstruction
Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: StorageBinInstruction
- Parameters:
storageBinInstruction- Container requirements
-
setShelfLifeExpirationDatePeriod
Constraints: Not nullable, Maximum length: 1Original property name from the Odata EDM: ShelfLifeExpirationDatePeriod
- Parameters:
shelfLifeExpirationDatePeriod- Period Indicator for Shelf Life Expiration Date
-
setShelfLifeExprtnDateRndngRule
Constraints: Not nullable, Maximum length: 1Original property name from the Odata EDM: ShelfLifeExprtnDateRndngRule
- Parameters:
shelfLifeExprtnDateRndngRule- Rounding rule for calculation of SLED
-
setTotalShelfLifeStoragePercent
Constraints: Not nullable, Precision: 3Original property name from the Odata EDM: TotalShelfLifeStoragePercent
- Parameters:
totalShelfLifeStoragePercent- Storage percentage
-
setTotalShelfLife
Constraints: Not nullable, Precision: 4Original property name from the Odata EDM: TotalShelfLife
- Parameters:
totalShelfLife- Total shelf life
-
setBaseUnit
Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: BaseUnit
- Parameters:
baseUnit- Base Unit of Measure
-
setBaseISOUnit
Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: BaseISOUnit
- Parameters:
baseISOUnit- Base unit of measure in ISO code
-
getEntityCollection
- Specified by:
getEntityCollectionin classVdmEntity<ProductStorage>
-
getKey
- Overrides:
getKeyin classVdmObject<ProductStorage>
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<ProductStorage>
-
fromMap
- Overrides:
fromMapin classVdmObject<ProductStorage>
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<ProductStorage>
-
getProductIfPresent
Retrieval of associated Product entity (one to one). This corresponds to the OData navigation property _Product.If the navigation property for an entity ProductStorage 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.
-
builder
-
getProduct
(Key Field) Constraints: Not nullable, Maximum length: 18Original property name from the Odata EDM: Product
- Returns:
- Product Number
-
getStorageConditions
Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: StorageConditions
- Returns:
- Storage conditions
-
getProdTemperatureConditionCode
Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: ProdTemperatureConditionCode
- Returns:
- Temperature conditions indicator
-
getHazardousProduct
Constraints: Not nullable, Maximum length: 18Original property name from the Odata EDM: HazardousProduct
- Returns:
- Hazardous material number
-
getNmbrOfGROrGISlipsToPrintQty
Constraints: Not nullable, Precision: 13, Scale: 3Original property name from the Odata EDM: NmbrOfGROrGISlipsToPrintQty
- Returns:
- Quantity: Number of GR/GI slips to be printed
-
getLabelType
Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: LabelType
- Returns:
- Label type
-
getLabelForm
Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: LabelForm
- Returns:
- Label form
-
getMinRemainingShelfLife
Constraints: Not nullable, Precision: 4Original property name from the Odata EDM: MinRemainingShelfLife
- Returns:
- Minimum Remaining Shelf Life
-
getProductExpirationDateType
Constraints: Not nullable, Maximum length: 1Original property name from the Odata EDM: ProductExpirationDateType
- Returns:
- Expiration Date
-
getStorageBinInstruction
Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: StorageBinInstruction
- Returns:
- Container requirements
-
getShelfLifeExpirationDatePeriod
Constraints: Not nullable, Maximum length: 1Original property name from the Odata EDM: ShelfLifeExpirationDatePeriod
- Returns:
- Period Indicator for Shelf Life Expiration Date
-
getShelfLifeExprtnDateRndngRule
Constraints: Not nullable, Maximum length: 1Original property name from the Odata EDM: ShelfLifeExprtnDateRndngRule
- Returns:
- Rounding rule for calculation of SLED
-
getTotalShelfLifeStoragePercent
Constraints: Not nullable, Precision: 3Original property name from the Odata EDM: TotalShelfLifeStoragePercent
- Returns:
- Storage percentage
-
getTotalShelfLife
Constraints: Not nullable, Precision: 4Original property name from the Odata EDM: TotalShelfLife
- Returns:
- Total shelf life
-
getBaseUnit
Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: BaseUnit
- Returns:
- Base Unit of Measure
-
getBaseISOUnit
Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: BaseISOUnit
- Returns:
- Base unit of measure in ISO code
-
toString
- Overrides:
toStringin classVdmObject<ProductStorage>
-
equals
- Overrides:
equalsin classVdmEntity<ProductStorage>
-
canEqual
- Overrides:
canEqualin classVdmEntity<ProductStorage>
-
hashCode
public int hashCode()- Overrides:
hashCodein classVdmEntity<ProductStorage>
-
getOdataType
- Specified by:
getOdataTypein classVdmObject<ProductStorage>
-