Package org.openwms.wms.receiving.impl
Class ReceivingTransportUnitOrderPosition
java.lang.Object
org.ameba.integration.jpa.BaseEntity
org.openwms.wms.receiving.impl.BaseReceivingOrderPosition
org.openwms.wms.receiving.impl.ReceivingTransportUnitOrderPosition
- All Implemented Interfaces:
Serializable
,org.ameba.integration.TypedEntity<Long>
,Convertable
@Entity
public class ReceivingTransportUnitOrderPosition
extends BaseReceivingOrderPosition
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
FieldsModifier and TypeFieldDescriptionprivate @NotNull(groups=CreateExpectedTUReceipt.class) String
The business key of the expectedTransportUnit
that is expected to be received.private @NotNull(groups=CreateExpectedTUReceipt.class) String
The name of theTransportUnitType
the expectedTransportUnit
is of. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
Used by the JPA provider.ReceivingTransportUnitOrderPosition
(Integer posNo, String transportUnitBK, String transportUnitTypeName) -
Method Summary
Modifier and TypeMethodDescriptionvoid
accept
(BaseReceivingOrderPositionVisitor visitor) void
validateOnCreation
(javax.validation.Validator validator, Class<?> clazz) Subclasses may validate themselves.Methods inherited from class org.openwms.wms.receiving.impl.BaseReceivingOrderPosition
addDetail, changeOrderState, getDetails, getLatestDueDate, getOrder, getPosNo, getState, preCreate, setDetails, setOrder, setState, toString
Methods inherited from class org.ameba.integration.jpa.BaseEntity
getCreatedBy, getCreateDt, getLastModifiedBy, getLastModifiedDt, getOl, getPk, isNew, setOl
-
Field Details
-
transportUnitBK
@NotNull(groups=CreateExpectedTUReceipt.class) private @NotNull(groups=CreateExpectedTUReceipt.class) String transportUnitBKThe business key of the expectedTransportUnit
that is expected to be received. -
transportUnitTypeName
@NotNull(groups=CreateExpectedTUReceipt.class) private @NotNull(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
Description copied from class:BaseReceivingOrderPosition
Subclasses may validate themselves.- Specified by:
validateOnCreation
in classBaseReceivingOrderPosition
- Parameters:
validator
- The Validator instanceclazz
- The validation group
-
accept
- Specified by:
accept
in interfaceConvertable
-
getTransportUnitBK
-
getTransportUnitTypeName
-