Class ProductStorage
Original entity name from the Odata EDM: A_ProductStorageType
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final ProductStorageSelectableSelector for all available fields of ProductStorage.static final ProductStorageField<String>Use with available fluent helpers to apply the BaseUnit field to query operations.static final ProductStorageField<String>Use with available fluent helpers to apply the ExpirationDate field to query operations.static final ProductStorageField<String>Use with available fluent helpers to apply the HazardousMaterialNumber field to query operations.static final ProductStorageField<String>Use with available fluent helpers to apply the LabelForm field to query operations.static final ProductStorageField<String>Use with available fluent helpers to apply the LabelType field to query operations.static final ProductStorageField<BigDecimal>Use with available fluent helpers to apply the MinRemainingShelfLife field to query operations.static final ProductStorageField<BigDecimal>Use with available fluent helpers to apply the NmbrOfGROrGISlipsToPrintQty field to query operations.static final ProductStorageField<String>Use with available fluent helpers to apply the Product field to query operations.static final ProductStorageField<String>Use with available fluent helpers to apply the ShelfLifeExpirationDatePeriod field to query operations.static final ProductStorageField<String>Use with available fluent helpers to apply the StorageConditions field to query operations.static final ProductStorageField<String>Use with available fluent helpers to apply the TemperatureConditionInd field to query operations.static final ProductStorageField<BigDecimal>Use with available fluent helpers to apply the TotalShelfLife field to query operations.Fields inherited from class com.sap.cloud.sdk.datamodel.odata.helper.VdmObject
changedOriginalFields -
Constructor Summary
ConstructorsConstructorDescriptionProductStorage(String product, String storageConditions, String temperatureConditionInd, String hazardousMaterialNumber, BigDecimal nmbrOfGROrGISlipsToPrintQty, String labelType, String labelForm, BigDecimal minRemainingShelfLife, String expirationDate, String shelfLifeExpirationDatePeriod, BigDecimal totalShelfLife, String baseUnit) -
Method Summary
Modifier and TypeMethodDescriptionvoidattachToService(String servicePath, HttpDestinationProperties destination) builder()protected booleanbooleanstatic <T,DomainT>
ProductStorageField<T>field(String fieldName, TypeConverter<T, DomainT> typeConverter) Use with available fluent helpers to apply an extension field to query operations.static <T> ProductStorageField<T>Use with available fluent helpers to apply an extension field to query operations.protected voidConstraints: Not nullable, Maximum length: 3protected Stringprotected StringConstraints: Not nullable, Maximum length: 1Constraints: Not nullable, Maximum length: 40getKey()Constraints: Not nullable, Maximum length: 2Constraints: Not nullable, Maximum length: 2Constraints: Not nullable, Precision: 4, Scale: 0Constraints: Not nullable, Precision: 13, Scale: 3(Key Field) Constraints: Not nullable, Maximum length: 40Constraints: Not nullable, Maximum length: 1Constraints: Not nullable, Maximum length: 2Constraints: Not nullable, Maximum length: 2Constraints: Not nullable, Precision: 4, Scale: 0getType()inthashCode()voidsetBaseUnit(String baseUnit) Constraints: Not nullable, Maximum length: 3voidsetExpirationDate(String expirationDate) Constraints: Not nullable, Maximum length: 1voidsetHazardousMaterialNumber(String hazardousMaterialNumber) Constraints: Not nullable, Maximum length: 40voidsetLabelForm(String labelForm) Constraints: Not nullable, Maximum length: 2voidsetLabelType(String labelType) Constraints: Not nullable, Maximum length: 2voidsetMinRemainingShelfLife(BigDecimal minRemainingShelfLife) Constraints: Not nullable, Precision: 4, Scale: 0voidsetNmbrOfGROrGISlipsToPrintQty(BigDecimal nmbrOfGROrGISlipsToPrintQty) Constraints: Not nullable, Precision: 13, Scale: 3voidsetProduct(String product) (Key Field) Constraints: Not nullable, Maximum length: 40protected voidsetServicePathForFetch(String servicePathForFetch) voidsetShelfLifeExpirationDatePeriod(String shelfLifeExpirationDatePeriod) Constraints: Not nullable, Maximum length: 1voidsetStorageConditions(String storageConditions) Constraints: Not nullable, Maximum length: 2voidsetTemperatureConditionInd(String temperatureConditionInd) Constraints: Not nullable, Maximum length: 2voidsetTotalShelfLife(BigDecimal totalShelfLife) Constraints: Not nullable, Precision: 4, Scale: 0toString()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 ProductStorage. -
PRODUCT
Use with available fluent helpers to apply the Product field to query operations. -
STORAGE_CONDITIONS
Use with available fluent helpers to apply the StorageConditions field to query operations. -
TEMPERATURE_CONDITION_IND
Use with available fluent helpers to apply the TemperatureConditionInd field to query operations. -
HAZARDOUS_MATERIAL_NUMBER
Use with available fluent helpers to apply the HazardousMaterialNumber field to query operations. -
NMBR_OF_GR_OR_GI_SLIPS_TO_PRINT_QTY
Use with available fluent helpers to apply the NmbrOfGROrGISlipsToPrintQty field to query operations. -
LABEL_TYPE
Use with available fluent helpers to apply the LabelType field to query operations. -
LABEL_FORM
Use with available fluent helpers to apply the LabelForm field to query operations. -
MIN_REMAINING_SHELF_LIFE
Use with available fluent helpers to apply the MinRemainingShelfLife field to query operations. -
EXPIRATION_DATE
Use with available fluent helpers to apply the ExpirationDate field to query operations. -
SHELF_LIFE_EXPIRATION_DATE_PERIOD
Use with available fluent helpers to apply the ShelfLifeExpirationDatePeriod field to query operations. -
TOTAL_SHELF_LIFE
Use with available fluent helpers to apply the TotalShelfLife field to query operations. -
BASE_UNIT
Use with available fluent helpers to apply the BaseUnit field to query operations.
-
-
Constructor Details
-
ProductStorage
public ProductStorage() -
ProductStorage
public ProductStorage(@Nullable String product, @Nullable String storageConditions, @Nullable String temperatureConditionInd, @Nullable String hazardousMaterialNumber, @Nullable BigDecimal nmbrOfGROrGISlipsToPrintQty, @Nullable String labelType, @Nullable String labelForm, @Nullable BigDecimal minRemainingShelfLife, @Nullable String expirationDate, @Nullable String shelfLifeExpirationDatePeriod, @Nullable BigDecimal totalShelfLife, @Nullable String baseUnit)
-
-
Method Details
-
getType
- Specified by:
getTypein classVdmObject<ProductStorage>
-
setProduct
(Key Field) Constraints: Not nullable, Maximum length: 40Original property name from the Odata EDM: Product
- Parameters:
product- Material Number
-
setStorageConditions
Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: StorageConditions
- Parameters:
storageConditions- Storage conditions
-
setTemperatureConditionInd
Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: TemperatureConditionInd
- Parameters:
temperatureConditionInd- Temperature conditions indicator
-
setHazardousMaterialNumber
Constraints: Not nullable, Maximum length: 40Original property name from the Odata EDM: HazardousMaterialNumber
- Parameters:
hazardousMaterialNumber- 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: 4, Scale: 0Original property name from the Odata EDM: MinRemainingShelfLife
- Parameters:
minRemainingShelfLife- Minimum Remaining Shelf Life
-
setExpirationDate
Constraints: Not nullable, Maximum length: 1Original property name from the Odata EDM: ExpirationDate
- Parameters:
expirationDate- Expiration Date
-
setShelfLifeExpirationDatePeriod
Constraints: Not nullable, Maximum length: 1Original property name from the Odata EDM: ShelfLifeExpirationDatePeriod
- Parameters:
shelfLifeExpirationDatePeriod- Period Indicator for Shelf Life Expiration Date
-
setTotalShelfLife
Constraints: Not nullable, Precision: 4, Scale: 0Original 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
-
getEntityCollection
- Specified by:
getEntityCollectionin classVdmEntity<ProductStorage>
-
getKey
- Overrides:
getKeyin classVdmObject<ProductStorage>
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<ProductStorage>
-
fromMap
- Overrides:
fromMapin classVdmObject<ProductStorage>
-
field
@Nonnull public static <T> ProductStorageField<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> ProductStorageField<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<ProductStorage>
-
setServicePathForFetch
- Overrides:
setServicePathForFetchin classVdmEntity<ProductStorage>
-
attachToService
public void attachToService(@Nullable String servicePath, @Nonnull HttpDestinationProperties destination) - Overrides:
attachToServicein classVdmEntity<ProductStorage>
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<ProductStorage>
-
builder
-
getProduct
(Key Field) Constraints: Not nullable, Maximum length: 40Original property name from the Odata EDM: Product
- Returns:
- Material Number
-
getStorageConditions
Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: StorageConditions
- Returns:
- Storage conditions
-
getTemperatureConditionInd
Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: TemperatureConditionInd
- Returns:
- Temperature conditions indicator
-
getHazardousMaterialNumber
Constraints: Not nullable, Maximum length: 40Original property name from the Odata EDM: HazardousMaterialNumber
- 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: 4, Scale: 0Original property name from the Odata EDM: MinRemainingShelfLife
- Returns:
- Minimum Remaining Shelf Life
-
getExpirationDate
Constraints: Not nullable, Maximum length: 1Original property name from the Odata EDM: ExpirationDate
- Returns:
- Expiration Date
-
getShelfLifeExpirationDatePeriod
Constraints: Not nullable, Maximum length: 1Original property name from the Odata EDM: ShelfLifeExpirationDatePeriod
- Returns:
- Period Indicator for Shelf Life Expiration Date
-
getTotalShelfLife
Constraints: Not nullable, Precision: 4, Scale: 0Original 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
-
toString
- Overrides:
toStringin classVdmObject<ProductStorage>
-
equals
- Overrides:
equalsin classVdmEntity<ProductStorage>
-
canEqual
- Overrides:
canEqualin classVdmEntity<ProductStorage>
-
hashCode
public int hashCode()- Overrides:
hashCodein classVdmEntity<ProductStorage>
-