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
Nested Classes - 
Field Summary
FieldsModifier and TypeFieldDescriptionprivate @NotNull(groups={Create.class,Modified.class}) LocationMOThe actualLocation of the TransportUnit.private DateThe actualLocationDate of the TransportUnit.private @NotBlank(groups={ChangeTarget.class,Create.class,Modified.class}) StringThe business key of the TransportUnit.private StringThe business key of the parent TransportUnit.private @NotBlank(groups={Create.class,Request.class,Remove.class}) StringThe persistent key of TransportUnit.private StringThe plcCode of the TransportUnit.private StringThe state of the TransportUnit.private @NotNull(groups=ChangeTarget.class) LocationMOThe targetLocation of the TransportUnit.private @Valid @NotNull(groups=Modified.class) TransportUnitTypeMOThe transportUnitType of the TransportUnit. - 
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedRequired Default constructor.privateTransportUnitMO(TransportUnitMO.Builder builder)  - 
Method Summary
Modifier and TypeMethodDescriptiongetpKey()getState()static TransportUnitMO.BuildervoidsetActualLocation(LocationMO actualLocation) voidsetActualLocationDate(Date actualLocationDate) voidsetBarcode(String barcode) voidvoidvoidsetPlcCode(String plcCode) voidvoidsetTargetLocation(LocationMO targetLocation) voidsetTransportUnitType(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
 
 -