Package org.openwms.wms.receiving.impl
Class ReceivingTransportUnitOrderPosition
java.lang.Object
org.ameba.integration.jpa.BaseEntity
org.openwms.wms.receiving.impl.AbstractReceivingOrderPosition
org.openwms.wms.receiving.impl.ReceivingTransportUnitOrderPosition
- All Implemented Interfaces:
Serializable
,org.ameba.integration.TypedEntity<Long>
,Convertable
@Entity
public class ReceivingTransportUnitOrderPosition
extends AbstractReceivingOrderPosition
implements Convertable, Serializable
A ReceivingTransportUnitOrderPosition is a persisted entity class that represents an expected receipt of a
TransportUnit
.- Author:
- Heiko Scherrer
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionprivate @NotBlank(groups=CreateExpectedTUReceipt.class) String
The business key of the expectedTransportUnit
that is expected to be received.private @NotBlank(groups=CreateExpectedTUReceipt.class) String
The name of theTransportUnitType
the expectedTransportUnit
is of. -
Constructor Summary
ModifierConstructorDescriptionprotected
Used by the JPA provider.ReceivingTransportUnitOrderPosition
(@NotNull Integer posNo, @NotBlank String transportUnitBK, @NotBlank String transportUnitTypeName) -
Method Summary
Modifier and TypeMethodDescriptionvoid
accept
(BaseReceivingOrderPositionVisitor visitor) void
validateOnCreation
(jakarta.validation.Validator validator, Class<?> clazz) Subclasses may validate themselves.Methods inherited from class org.openwms.wms.receiving.impl.AbstractReceivingOrderPosition
addDetail, changePositionState, doesStateAllowCapturing, getDetails, getExpectedReceiptWarehouse, getLatestDueDate, getOrder, getPosNo, getState, preCreate, setDetails, setExpectedReceiptWarehouse, setLatestDueDate, setOrder, setState, toString
Methods inherited from class org.ameba.integration.jpa.BaseEntity
getCreatedBy, getCreateDt, getLastModifiedBy, getLastModifiedDt, getOl, getPk, isNew, setCreatedBy, setCreateDt, setLastModifiedBy, setLastModifiedDt, setOl
-
Field Details
-
transportUnitBK
@NotBlank(groups=CreateExpectedTUReceipt.class) private @NotBlank(groups=CreateExpectedTUReceipt.class) String transportUnitBKThe business key of the expectedTransportUnit
that is expected to be received. -
transportUnitTypeName
@NotBlank(groups=CreateExpectedTUReceipt.class) private @NotBlank(groups=CreateExpectedTUReceipt.class) String transportUnitTypeNameThe name of theTransportUnitType
the expectedTransportUnit
is of.
-
-
Constructor Details
-
ReceivingTransportUnitOrderPosition
protected ReceivingTransportUnitOrderPosition()Used by the JPA provider. -
ReceivingTransportUnitOrderPosition
-
-
Method Details
-
validateOnCreation
Subclasses may validate themselves.- Specified by:
validateOnCreation
in classAbstractReceivingOrderPosition
- Parameters:
validator
- The Validator instanceclazz
- The validation group
-
accept
- Specified by:
accept
in interfaceConvertable
-
getTransportUnitBK
-
getTransportUnitTypeName
-