Package org.openwms.wms.inventory.api
Class ProductVO
java.lang.Object
org.springframework.hateoas.RepresentationModel<T>
org.ameba.http.AbstractBase<ProductVO>
org.openwms.wms.inventory.api.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, ie.private StringTextual descriptive text.Arbitrary detail information on thisProduct, might by populated with ERP information.private DimensionVOThe defined dimension of theProductin in'sbaseUnit.private StringProducts may be grouped.private StringAn identifying label of theProduct.private org.openwms.core.units.api.WeightThe defined netto 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. -
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
getOl, 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
-
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, ie. 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 in'sbaseUnit. -
netWeight
private org.openwms.core.units.api.Weight netWeightThe defined netto 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 by 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.springframework.hateoas.RepresentationModel<ProductVO>
-
hashCode
public int hashCode()- Overrides:
hashCodein classorg.springframework.hateoas.RepresentationModel<ProductVO>
-