Class TransportUnitMO
java.lang.Object
org.openwms.common.transport.api.messages.TransportUnitMO
- All Implemented Interfaces:
Serializable
A TransportUnitMO is a Message Object representing a
TransportUnit
.- Author:
- Heiko Scherrer
- See Also:
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionprivate @NotNull(groups={Create.class,Modified.class}) LocationMO
The actualLocation of the TransportUnit.private Date
The actualLocationDate of the TransportUnit.private @NotBlank(groups={ChangeTarget.class,Create.class,Modified.class}) String
The business key of the TransportUnit.private String
The business key of the parent TransportUnit.private @NotBlank(groups={Create.class,Request.class,Remove.class}) String
The persistent key of TransportUnit.private String
The plcCode of the TransportUnit.private String
The state of the TransportUnit.private @NotNull(groups=ChangeTarget.class) LocationMO
The targetLocation of the TransportUnit.private @Valid @NotNull(groups=Modified.class) TransportUnitTypeMO
The transportUnitType of the TransportUnit. -
Constructor Summary
ModifierConstructorDescriptionprotected
Required Default constructor.private
TransportUnitMO
(TransportUnitMO.Builder builder) -
Method Summary
Modifier and TypeMethodDescriptiongetpKey()
getState()
static TransportUnitMO.Builder
void
setActualLocation
(LocationMO actualLocation) void
setActualLocationDate
(Date actualLocationDate) void
setBarcode
(String barcode) void
void
void
setPlcCode
(String plcCode) void
void
setTargetLocation
(LocationMO targetLocation) void
setTransportUnitType
(TransportUnitTypeMO transportUnitType) toString()
-
Field Details
-
pKey
@NotBlank(groups={Create.class,Request.class,Remove.class}) private @NotBlank(groups={Create.class,Request.class,Remove.class}) String pKeyThe persistent key of TransportUnit. -
barcode
@NotBlank(groups={ChangeTarget.class,Create.class,Modified.class}) private @NotBlank(groups={ChangeTarget.class,Create.class,Modified.class}) String barcodeThe business key of the TransportUnit. -
actualLocationDate
The actualLocationDate of the TransportUnit. -
state
The state of the TransportUnit. -
actualLocation
@NotNull(groups={Create.class,Modified.class}) private @NotNull(groups={Create.class,Modified.class}) LocationMO actualLocationThe actualLocation of the TransportUnit. -
plcCode
The plcCode of the TransportUnit. -
targetLocation
@NotNull(groups=ChangeTarget.class) private @NotNull(groups=ChangeTarget.class) LocationMO targetLocationThe targetLocation of the TransportUnit. -
transportUnitType
@Valid @NotNull(groups=Modified.class) private @Valid @NotNull(groups=Modified.class) TransportUnitTypeMO transportUnitTypeThe transportUnitType of the TransportUnit. -
parent
The business key of the parent TransportUnit.
-
-
Constructor Details
-
TransportUnitMO
protected TransportUnitMO()Required Default constructor. -
TransportUnitMO
-
-
Method Details
-
newBuilder
-
getpKey
-
setpKey
-
getBarcode
-
setBarcode
-
getActualLocationDate
-
setActualLocationDate
-
getState
-
setState
-
getActualLocation
-
setActualLocation
-
getPlcCode
-
setPlcCode
-
getTargetLocation
-
setTargetLocation
-
getTransportUnitType
-
setTransportUnitType
-
getParent
-
setParent
-
toString
-