Package org.openwms.wms.receiving.api
Class ProductVO
java.lang.Object
org.openwms.wms.receiving.api.ProductVO
- All Implemented Interfaces:
Serializable
A ProductVO.
- Author:
- Heiko Scherrer
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate org.openwms.core.units.api.MeasurableProducts may be defined with different base units.private StringTextual descriptive text.private StringThe foreign persistent key of theProduct.private StringAn identifying label of the Product.private @NotBlank(groups=Capture.class) StringThe product id is part of the unique business key. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanorg.openwms.core.units.api.MeasurablegetLabel()getSku()inthashCode()@jakarta.validation.Valid booleanisValid()voidsetBaseUnit(org.openwms.core.units.api.Measurable baseUnit) voidsetDescription(String description) voidsetForeignPKey(String foreignPKey) voidvoid
-
Field Details
-
foreignPKey
The foreign persistent key of theProduct. -
sku
The product id is part of the unique business key. -
label
An identifying label of the Product. -
description
Textual descriptive text. -
baseUnit
private org.openwms.core.units.api.Measurable baseUnitProducts may be defined with different base units.
-
-
Constructor Details
-
ProductVO
ProductVO() -
ProductVO
-
ProductVO
-
-
Method Details
-
isValid
@Valid @Validated({Create.class,CreateBlindTUReceipt.class,CreateQuantityReceipt.class,CreateExpectedTUReceipt.class}) public @jakarta.validation.Valid boolean isValid() -
getSku
-
getLabel
-
setLabel
-
getDescription
-
setSku
-
setDescription
-
getBaseUnit
public org.openwms.core.units.api.Measurable getBaseUnit() -
setBaseUnit
public void setBaseUnit(org.openwms.core.units.api.Measurable baseUnit) -
getForeignPKey
-
setForeignPKey
-
equals
-
hashCode
public int hashCode()
-