public class ProductStorage extends VdmEntity<ProductStorage>
Original entity name from the Odata EDM: A_ProductStorageType
Modifier and Type | Class and Description |
---|---|
static class |
ProductStorage.ProductStorageBuilder |
Modifier and Type | Field and Description |
---|---|
static ProductStorageSelectable |
ALL_FIELDS
Selector for all available fields of ProductStorage.
|
static ProductStorageField<String> |
BASE_UNIT
Use with available fluent helpers to apply the BaseUnit field to query operations.
|
static ProductStorageField<String> |
EXPIRATION_DATE
Use with available fluent helpers to apply the ExpirationDate field to query operations.
|
static ProductStorageField<String> |
HAZARDOUS_MATERIAL_NUMBER
Use with available fluent helpers to apply the HazardousMaterialNumber field to query operations.
|
static ProductStorageField<String> |
LABEL_FORM
Use with available fluent helpers to apply the LabelForm field to query operations.
|
static ProductStorageField<String> |
LABEL_TYPE
Use with available fluent helpers to apply the LabelType field to query operations.
|
static ProductStorageField<BigDecimal> |
MIN_REMAINING_SHELF_LIFE
Use with available fluent helpers to apply the MinRemainingShelfLife field to query operations.
|
static ProductStorageField<BigDecimal> |
NMBR_OF_GR_OR_GI_SLIPS_TO_PRINT_QTY
Use with available fluent helpers to apply the NmbrOfGROrGISlipsToPrintQty field to query operations.
|
static ProductStorageField<String> |
PRODUCT
Use with available fluent helpers to apply the Product field to query operations.
|
static ProductStorageField<String> |
SHELF_LIFE_EXPIRATION_DATE_PERIOD
Use with available fluent helpers to apply the ShelfLifeExpirationDatePeriod field to query operations.
|
static ProductStorageField<String> |
STORAGE_CONDITIONS
Use with available fluent helpers to apply the StorageConditions field to query operations.
|
static ProductStorageField<String> |
TEMPERATURE_CONDITION_IND
Use with available fluent helpers to apply the TemperatureConditionInd field to query operations.
|
static ProductStorageField<BigDecimal> |
TOTAL_SHELF_LIFE
Use with available fluent helpers to apply the TotalShelfLife field to query operations.
|
changedOriginalFields
Constructor and Description |
---|
ProductStorage() |
ProductStorage(String product,
String storageConditions,
String temperatureConditionInd,
String hazardousMaterialNumber,
BigDecimal nmbrOfGROrGISlipsToPrintQty,
String labelType,
String labelForm,
BigDecimal minRemainingShelfLife,
String expirationDate,
String shelfLifeExpirationDatePeriod,
BigDecimal totalShelfLife,
String baseUnit) |
Modifier and Type | Method and Description |
---|---|
void |
attachToService(String servicePath,
HttpDestinationProperties destination)
Sets the service path and destination for the fetch commands of this entity.
|
static ProductStorage.ProductStorageBuilder |
builder() |
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
static <T> ProductStorageField<T> |
field(String fieldName,
Class<T> fieldType)
Use with available fluent helpers to apply an extension field to query operations.
|
static <T,DomainT> |
field(String fieldName,
TypeConverter<T,DomainT> typeConverter)
Use with available fluent helpers to apply an extension field to query operations.
|
protected void |
fromMap(Map<String,Object> inputValues) |
String |
getBaseUnit()
Constraints: Not nullable, Maximum length: 3
|
protected String |
getDefaultServicePath()
Used by fluent helpers and navigation property methods to construct OData queries.
|
HttpDestinationProperties |
getDestinationForFetch()
Convienence field for reusing the same destination with multiple queries (e.g.
|
protected String |
getEntityCollection()
Used by fluent helpers and navigation property methods to construct OData queries.
|
String |
getExpirationDate()
Constraints: Not nullable, Maximum length: 1
|
String |
getHazardousMaterialNumber()
Constraints: Not nullable, Maximum length: 40
|
protected Map<String,Object> |
getKey() |
String |
getLabelForm()
Constraints: Not nullable, Maximum length: 2
|
String |
getLabelType()
Constraints: Not nullable, Maximum length: 2
|
BigDecimal |
getMinRemainingShelfLife()
Constraints: Not nullable, Precision: 4, Scale: 0
|
BigDecimal |
getNmbrOfGROrGISlipsToPrintQty()
Constraints: Not nullable, Precision: 13, Scale: 3
|
String |
getProduct()
(Key Field) Constraints: Not nullable, Maximum length: 40
|
String |
getShelfLifeExpirationDatePeriod()
Constraints: Not nullable, Maximum length: 1
|
String |
getStorageConditions()
Constraints: Not nullable, Maximum length: 2
|
String |
getTemperatureConditionInd()
Constraints: Not nullable, Maximum length: 2
|
BigDecimal |
getTotalShelfLife()
Constraints: Not nullable, Precision: 4, Scale: 0
|
Class<ProductStorage> |
getType() |
int |
hashCode() |
void |
setBaseUnit(String baseUnit)
Constraints: Not nullable, Maximum length: 3
|
void |
setExpirationDate(String expirationDate)
Constraints: Not nullable, Maximum length: 1
|
void |
setHazardousMaterialNumber(String hazardousMaterialNumber)
Constraints: Not nullable, Maximum length: 40
|
void |
setLabelForm(String labelForm)
Constraints: Not nullable, Maximum length: 2
|
void |
setLabelType(String labelType)
Constraints: Not nullable, Maximum length: 2
|
void |
setMinRemainingShelfLife(BigDecimal minRemainingShelfLife)
Constraints: Not nullable, Precision: 4, Scale: 0
|
void |
setNmbrOfGROrGISlipsToPrintQty(BigDecimal nmbrOfGROrGISlipsToPrintQty)
Constraints: Not nullable, Precision: 13, Scale: 3
|
void |
setProduct(String product)
(Key Field) Constraints: Not nullable, Maximum length: 40
|
protected void |
setServicePathForFetch(String servicePathForFetch)
The service path only used for the fetch commands of this entity.
|
void |
setShelfLifeExpirationDatePeriod(String shelfLifeExpirationDatePeriod)
Constraints: Not nullable, Maximum length: 1
|
void |
setStorageConditions(String storageConditions)
Constraints: Not nullable, Maximum length: 2
|
void |
setTemperatureConditionInd(String temperatureConditionInd)
Constraints: Not nullable, Maximum length: 2
|
void |
setTotalShelfLife(BigDecimal totalShelfLife)
Constraints: Not nullable, Precision: 4, Scale: 0
|
protected Map<String,Object> |
toMapOfFields() |
String |
toString() |
getServicePathForFetch, getVersionIdentifier, setDestinationForFetch, setVersionIdentifier
getChangedFields, getCustomField, getCustomField, getCustomFieldNames, getCustomFields, getSetOfCustomFields, getSetOfFields, getSetOfNavigationProperties, hasCustomField, hasCustomField, rememberChangedField, resetChangedFields, setCustomField, setCustomField, toMap, toMapOfCustomFields, toMapOfNavigationProperties
public static final ProductStorageSelectable ALL_FIELDS
public static final ProductStorageField<String> PRODUCT
public static final ProductStorageField<String> STORAGE_CONDITIONS
public static final ProductStorageField<String> TEMPERATURE_CONDITION_IND
public static final ProductStorageField<String> HAZARDOUS_MATERIAL_NUMBER
public static final ProductStorageField<BigDecimal> NMBR_OF_GR_OR_GI_SLIPS_TO_PRINT_QTY
public static final ProductStorageField<String> LABEL_TYPE
public static final ProductStorageField<String> LABEL_FORM
public static final ProductStorageField<BigDecimal> MIN_REMAINING_SHELF_LIFE
public static final ProductStorageField<String> EXPIRATION_DATE
public static final ProductStorageField<String> SHELF_LIFE_EXPIRATION_DATE_PERIOD
public static final ProductStorageField<BigDecimal> TOTAL_SHELF_LIFE
public static final ProductStorageField<String> BASE_UNIT
public 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)
@Nonnull public Class<ProductStorage> getType()
getType
in class VdmObject<ProductStorage>
public void setProduct(@Nullable String product)
Original property name from the Odata EDM: Product
product
- Material Numberpublic void setStorageConditions(@Nullable String storageConditions)
Original property name from the Odata EDM: StorageConditions
storageConditions
- Storage conditionspublic void setTemperatureConditionInd(@Nullable String temperatureConditionInd)
Original property name from the Odata EDM: TemperatureConditionInd
temperatureConditionInd
- Temperature conditions indicatorpublic void setHazardousMaterialNumber(@Nullable String hazardousMaterialNumber)
Original property name from the Odata EDM: HazardousMaterialNumber
hazardousMaterialNumber
- Hazardous material numberpublic void setNmbrOfGROrGISlipsToPrintQty(@Nullable BigDecimal nmbrOfGROrGISlipsToPrintQty)
Original property name from the Odata EDM: NmbrOfGROrGISlipsToPrintQty
nmbrOfGROrGISlipsToPrintQty
- Quantity: Number of GR/GI slips to be printedpublic void setLabelType(@Nullable String labelType)
Original property name from the Odata EDM: LabelType
labelType
- Label typepublic void setLabelForm(@Nullable String labelForm)
Original property name from the Odata EDM: LabelForm
labelForm
- Label formpublic void setMinRemainingShelfLife(@Nullable BigDecimal minRemainingShelfLife)
Original property name from the Odata EDM: MinRemainingShelfLife
minRemainingShelfLife
- Minimum Remaining Shelf Lifepublic void setExpirationDate(@Nullable String expirationDate)
Original property name from the Odata EDM: ExpirationDate
expirationDate
- Expiration Datepublic void setShelfLifeExpirationDatePeriod(@Nullable String shelfLifeExpirationDatePeriod)
Original property name from the Odata EDM: ShelfLifeExpirationDatePeriod
shelfLifeExpirationDatePeriod
- Period Indicator for Shelf Life Expiration Datepublic void setTotalShelfLife(@Nullable BigDecimal totalShelfLife)
Original property name from the Odata EDM: TotalShelfLife
totalShelfLife
- Total shelf lifepublic void setBaseUnit(@Nullable String baseUnit)
Original property name from the Odata EDM: BaseUnit
baseUnit
- Base Unit of Measureprotected String getEntityCollection()
VdmEntity
getEntityCollection
in class VdmEntity<ProductStorage>
@Nonnull protected Map<String,Object> getKey()
getKey
in class VdmObject<ProductStorage>
@Nonnull protected Map<String,Object> toMapOfFields()
toMapOfFields
in class VdmObject<ProductStorage>
protected void fromMap(Map<String,Object> inputValues)
fromMap
in class VdmObject<ProductStorage>
@Nonnull public static <T> ProductStorageField<T> field(@Nonnull String fieldName, @Nonnull Class<T> fieldType)
T
- The type of the extension field when performing value comparisons.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.@Nonnull public static <T,DomainT> ProductStorageField<T> field(@Nonnull String fieldName, @Nonnull TypeConverter<T,DomainT> typeConverter)
T
- The type of the extension field when performing value comparisons.DomainT
- The type of the extension field as returned by the OData service.typeConverter
- A TypeConverterfieldName
- The name of the extension field as returned by the OData service.@Nullable public HttpDestinationProperties getDestinationForFetch()
VdmEntity
getDestinationForFetch
in class VdmEntity<ProductStorage>
protected void setServicePathForFetch(@Nullable String servicePathForFetch)
VdmEntity
Note: Use with caution, as this can easily break the fetch call on this entity. See the interface of the corresponding service for the default service path.
setServicePathForFetch
in class VdmEntity<ProductStorage>
public void attachToService(@Nullable String servicePath, @Nonnull HttpDestinationProperties destination)
VdmEntity
Note: Use with caution, as this can easily break the fetch calls on this entity. See the interface of the corresponding service for the default service path.
attachToService
in class VdmEntity<ProductStorage>
servicePath
- Optional parameter. New service path to apply to this entity and any associated entities that were
previously fetched. If a null value is provided and the service path has never been set, then the
service path will be set to the default defined in the corresponding service interface.destination
- New destination to apply to this entity and any associated entities that were previously fetched.protected String getDefaultServicePath()
VdmEntity
getDefaultServicePath
in class VdmEntity<ProductStorage>
protocol://hostname:port
and the OData resource name (entity set, $metadata
, etc.)@Nonnull public static ProductStorage.ProductStorageBuilder builder()
@Nullable public String getProduct()
Original property name from the Odata EDM: Product
@Nullable public String getStorageConditions()
Original property name from the Odata EDM: StorageConditions
@Nullable public String getTemperatureConditionInd()
Original property name from the Odata EDM: TemperatureConditionInd
@Nullable public String getHazardousMaterialNumber()
Original property name from the Odata EDM: HazardousMaterialNumber
@Nullable public BigDecimal getNmbrOfGROrGISlipsToPrintQty()
Original property name from the Odata EDM: NmbrOfGROrGISlipsToPrintQty
@Nullable public String getLabelType()
Original property name from the Odata EDM: LabelType
@Nullable public String getLabelForm()
Original property name from the Odata EDM: LabelForm
@Nullable public BigDecimal getMinRemainingShelfLife()
Original property name from the Odata EDM: MinRemainingShelfLife
@Nullable public String getExpirationDate()
Original property name from the Odata EDM: ExpirationDate
@Nullable public String getShelfLifeExpirationDatePeriod()
Original property name from the Odata EDM: ShelfLifeExpirationDatePeriod
@Nullable public BigDecimal getTotalShelfLife()
Original property name from the Odata EDM: TotalShelfLife
@Nullable public String getBaseUnit()
Original property name from the Odata EDM: BaseUnit
@Nonnull public String toString()
toString
in class VdmObject<ProductStorage>
public boolean equals(@Nullable Object o)
equals
in class VdmObject<ProductStorage>
protected boolean canEqual(@Nullable Object other)
canEqual
in class VdmObject<ProductStorage>
public int hashCode()
hashCode
in class VdmObject<ProductStorage>
Copyright © 2021 SAP SE. All rights reserved.