Package org.openwms.wms.inventory.api
Class ProductVO
A ProductVO.
- Author:
- Heiko Scherrer
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate StringThe name of theAccounttheProductbelongs to.private AvailabilityStateTheProductdefinition can be set to be unavailable for further operations.private @NotNull(message="{owms.wms.inv.product.baseUnit}",groups=CreateProduct.class) org.openwms.core.units.api.MeasurableProducts may be defined with different base units.private StringProducts may be classified, e.g. hazardous.private StringTextual descriptive text.Arbitrary detail information on thisProduct, might be populated with ERP information.private DimensionVOThe defined dimension of theProductin it'sbaseUnit.static final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringprivate StringProducts may be grouped.private StringAn identifying label of theProduct.private org.openwms.core.units.api.WeightThe defined net weight of theProduct.private BooleanIs it allowed to receive a higher quantity as expected/announced of this Product?private @NotEmpty(message="{owms.wms.inv.product.pKey}",groups=UpdateProduct.class) StringThe persistent unique key.private LocationVOWhat is typically the preferableLocationwhere theProductshall be stored.private @NotEmpty(message="{owms.wms.inv.product.sku}",groups=CreateProduct.class) StringThe product id is part of the unique business key.private List<StackingRuleVO> A list of rules that define what kind ofProductcan be stacked on top of this one.private StringWhere theProducthas to be placed in stock.AProductcan be packed and stored in different box sizes.Fields inherited from class org.ameba.http.AbstractBase
DATETIME_FORMAT_ZULU -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanorg.openwms.core.units.api.MeasurablegetGroup()getLabel()org.openwms.core.units.api.WeightgetpKey()getSku()getUnits()inthashCode()static ProductVO.BuildervoidsetAccountId(String accountId) voidsetAvailabilityState(AvailabilityState availabilityState) voidsetBaseUnit(org.openwms.core.units.api.Measurable baseUnit) voidsetClassification(String classification) voidsetDescription(String description) voidsetDetails(Map<String, String> details) voidsetDimension(DimensionVO dimension) voidvoidvoidsetNetWeight(org.openwms.core.units.api.Weight netWeight) voidsetOverbookingAllowed(Boolean overbookingAllowed) voidvoidsetPreferableStorageLocation(LocationVO preferableStorageLocation) voidvoidsetStackingRules(List<StackingRuleVO> stackingRules) voidsetStockZone(String stockZone) voidsetUnits(List<UomRelationVO> units) toString()Methods inherited from class org.ameba.http.AbstractBase
getCreateDt, getLastModifiedDt, getOl, setCreateDt, setLastModifiedDt, setOlMethods inherited from class org.springframework.hateoas.RepresentationModel
add, add, add, addAllIf, addIf, getLink, getLink, getLinks, getLinks, getLinks, getRequiredLink, getRequiredLink, hasLink, hasLink, hasLinks, mapLink, mapLinkIf, of, of, removeLinks
-
Field Details
-
FIELD_PKEY
- See Also:
-
FIELD_SKU
- See Also:
-
FIELD_LABEL
- See Also:
-
FIELD_ACCOUNT_ID
- See Also:
-
FIELD_BASE_UNIT
- See Also:
-
FIELD_OVERBOOKING_ALLOWED
- See Also:
-
FIELD_DESCRIPTION
- See Also:
-
FIELD_AVAILABILITY_STATE
- See Also:
-
FIELD_CLASSIFICATION
- See Also:
-
FIELD_GROUP
- See Also:
-
FIELD_STOCK_ZONE
- See Also:
-
FIELD_UNITS
- See Also:
-
FIELD_DIMENSION
- See Also:
-
FIELD_NET_WEIGHT
- See Also:
-
FIELD_PREFERABLE_STORAGE_LOCATION
- See Also:
-
FIELD_STACKING_RULES
- See Also:
-
FIELD_DETAILS
- See Also:
-
FIELD_NAMES
-
pKey
@NotEmpty(message="{owms.wms.inv.product.pKey}", groups=UpdateProduct.class) private @NotEmpty(message="{owms.wms.inv.product.pKey}",groups=UpdateProduct.class) String pKeyThe persistent unique key. -
sku
@NotEmpty(message="{owms.wms.inv.product.sku}", groups=CreateProduct.class) private @NotEmpty(message="{owms.wms.inv.product.sku}",groups=CreateProduct.class) String skuThe product id is part of the unique business key. -
label
An identifying label of theProduct. -
accountId
The name of theAccounttheProductbelongs to. -
baseUnit
@NotNull(message="{owms.wms.inv.product.baseUnit}", groups=CreateProduct.class) private @NotNull(message="{owms.wms.inv.product.baseUnit}",groups=CreateProduct.class) org.openwms.core.units.api.Measurable baseUnitProducts may be defined with different base units. -
overbookingAllowed
Is it allowed to receive a higher quantity as expected/announced of this Product? -
description
Textual descriptive text. -
availabilityState
TheProductdefinition can be set to be unavailable for further operations. -
classification
Products may be classified, e.g. hazardous. -
group
Products may be grouped. -
stockZone
Where theProducthas to be placed in stock. -
units
AProductcan be packed and stored in different box sizes. -
dimension
The defined dimension of theProductin it'sbaseUnit. -
netWeight
private org.openwms.core.units.api.Weight netWeightThe defined net weight of theProduct. -
preferableStorageLocation
What is typically the preferableLocationwhere theProductshall be stored. -
stackingRules
A list of rules that define what kind ofProductcan be stacked on top of this one. -
details
Arbitrary detail information on thisProduct, might be populated with ERP information.
-
-
Constructor Details
-
ProductVO
public ProductVO() -
ProductVO
-
ProductVO
-
-
Method Details
-
skuAndLabel
-
toString
- Overrides:
toStringin classorg.springframework.hateoas.RepresentationModel<ProductVO>
-
newBuilder
-
getpKey
-
setpKey
-
getSku
-
setSku
-
getLabel
-
setLabel
-
getAccountId
-
setAccountId
-
getBaseUnit
public org.openwms.core.units.api.Measurable getBaseUnit() -
setBaseUnit
public void setBaseUnit(org.openwms.core.units.api.Measurable baseUnit) -
getOverbookingAllowed
-
setOverbookingAllowed
-
getDescription
-
setDescription
-
getAvailabilityState
-
setAvailabilityState
-
getClassification
-
setClassification
-
getGroup
-
setGroup
-
getStockZone
-
setStockZone
-
getUnits
-
setUnits
-
getDimension
-
setDimension
-
getNetWeight
public org.openwms.core.units.api.Weight getNetWeight() -
setNetWeight
public void setNetWeight(org.openwms.core.units.api.Weight netWeight) -
getPreferableStorageLocation
-
setPreferableStorageLocation
-
getStackingRules
-
setStackingRules
-
getDetails
-
setDetails
-
equals
- Overrides:
equalsin classorg.ameba.http.AbstractBase<ProductVO>
-
hashCode
public int hashCode()- Overrides:
hashCodein classorg.ameba.http.AbstractBase<ProductVO>
-