Package org.openwms.wms.receiving.api
Class ReceivingOrderPositionVO
java.lang.Object
org.openwms.wms.receiving.api.BaseReceivingOrderPositionVO
org.openwms.wms.receiving.api.ReceivingOrderPositionVO
- All Implemented Interfaces:
Serializable
,ConvertableVO
public class ReceivingOrderPositionVO
extends BaseReceivingOrderPositionVO
implements ConvertableVO, Serializable
A ReceivingOrderPositionVO.
- Author:
- Heiko Scherrer
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionprivate @NotNull(groups=CreateQuantityReceipt.class) ProductVO
The unique SKU of the expectedProduct
- must not be empty.private @NotNull(groups=CreateQuantityReceipt.class) org.openwms.core.units.api.Measurable
<?, ?, ?> The expected quantity of the expected product - must not be null.private org.openwms.core.units.api.Measurable
<?, ?, ?> The already received quantity of the product. -
Constructor Summary
ModifierConstructorDescriptionprotected
ReceivingOrderPositionVO
(@NotNull Integer positionId, @NotNull(groups=CreateQuantityReceipt.class) org.openwms.core.units.api.Measurable<?, ?, ?> quantityExpected, @NotNull(groups=CreateQuantityReceipt.class) ProductVO product) -
Method Summary
Modifier and TypeMethodDescriptionvoid
boolean
All fields.org.openwms.core.units.api.Measurable
<?, ?, ?> org.openwms.core.units.api.Measurable
<?, ?, ?> int
hashCode()
All fields.void
setProduct
(@NotNull(groups=CreateQuantityReceipt.class) ProductVO product) void
setQuantityExpected
(@NotNull(groups=CreateQuantityReceipt.class) org.openwms.core.units.api.Measurable<?, ?, ?> quantityExpected) void
setQuantityReceived
(org.openwms.core.units.api.Measurable<?, ?, ?> quantityReceived) Methods inherited from class org.openwms.wms.receiving.api.BaseReceivingOrderPositionVO
getCreateDt, getDetails, getExpectedReceiptWarehouse, getOrder, getOrderId, getPositionId, getPriority, getStartMode, getState, setCreateDt, setDetails, setExpectedReceiptWarehouse, setOrder, setOrderId, setPositionId, setPriority, setStartMode, setState, toString
-
Field Details
-
quantityExpected
@NotNull(groups=CreateQuantityReceipt.class) private @NotNull(groups=CreateQuantityReceipt.class) org.openwms.core.units.api.Measurable<?,?, quantityExpected?> The expected quantity of the expected product - must not be null. -
quantityReceived
private org.openwms.core.units.api.Measurable<?,?, quantityReceived?> The already received quantity of the product. -
product
@NotNull(groups=CreateQuantityReceipt.class) private @NotNull(groups=CreateQuantityReceipt.class) ProductVO productThe unique SKU of the expectedProduct
- must not be empty.
-
-
Constructor Details
-
ReceivingOrderPositionVO
protected ReceivingOrderPositionVO() -
ReceivingOrderPositionVO
@ConstructorProperties({"positionId","quantityExpected","product"}) public ReceivingOrderPositionVO(@NotNull @NotNull Integer positionId, @NotNull(groups=CreateQuantityReceipt.class) @NotNull(groups=CreateQuantityReceipt.class) org.openwms.core.units.api.Measurable<?, ?, ?> quantityExpected, @NotNull(groups=CreateQuantityReceipt.class) @NotNull(groups=CreateQuantityReceipt.class) ProductVO product)
-
-
Method Details
-
getQuantityExpected
public org.openwms.core.units.api.Measurable<?,?, getQuantityExpected()?> -
setQuantityExpected
public void setQuantityExpected(@NotNull(groups=CreateQuantityReceipt.class) @NotNull(groups=CreateQuantityReceipt.class) org.openwms.core.units.api.Measurable<?, ?, ?> quantityExpected) -
getQuantityReceived
public org.openwms.core.units.api.Measurable<?,?, getQuantityReceived()?> -
setQuantityReceived
public void setQuantityReceived(org.openwms.core.units.api.Measurable<?, ?, ?> quantityReceived) -
getProduct
-
setProduct
public void setProduct(@NotNull(groups=CreateQuantityReceipt.class) @NotNull(groups=CreateQuantityReceipt.class) ProductVO product) -
equals
All fields. All fields.- Overrides:
equals
in classBaseReceivingOrderPositionVO
-
hashCode
public int hashCode()All fields. All fields.- Overrides:
hashCode
in classBaseReceivingOrderPositionVO
-
accept
- Specified by:
accept
in interfaceConvertableVO
-