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
Modifier and TypeFieldDescriptionprivate org.openwms.core.units.api.Measurable
Products may be defined with different base units.private String
Textual descriptive text.private String
The foreign persistent key of theProduct
.private String
An identifying label of the Product.private @NotBlank(groups=Capture.class) String
The product id is part of the unique business key. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
org.openwms.core.units.api.Measurable
getLabel()
getSku()
int
hashCode()
@jakarta.validation.Valid boolean
isValid()
void
setBaseUnit
(org.openwms.core.units.api.Measurable baseUnit) void
setDescription
(String description) void
setForeignPKey
(String foreignPKey) void
void
-
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()
-