Package org.openwms.wms.transport.api
Class TransportUnitVO
java.lang.Object
org.springframework.hateoas.RepresentationModel<T>
org.ameba.http.AbstractBase<MinimalTransportUnitVO>
org.openwms.wms.transport.api.MinimalTransportUnitVO
org.openwms.wms.transport.api.TransportUnitVO
- All Implemented Interfaces:
Serializable
A TransportUnitVO.
- Author:
- Heiko Scherrer
- See Also:
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class org.openwms.wms.transport.api.MinimalTransportUnitVO
MinimalTransportUnitVO.MinimalTransportUnitBuilder
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate @NotNull(message="{owms.wms.inv.tu.actualLocation}",groups=CreateTransportUnit.class) LocationVO
The actualLocation
.private Date
private String
An optional assignment to a customer order.private Integer
The current height.private Integer
The current length.static final String
private ZonedDateTime
private String
private String
The state of the TransportUnit.private String
Where the TransportUnit is routed to.private @NotBlank(message="{owms.wms.inv.tu.transportUnitType}",groups=CreateTransportUnit.class) String
The name of the TransportUnit's type.private Integer
The current width.Fields inherited from class org.openwms.wms.transport.api.MinimalTransportUnitVO
pKey, transportUnitBK
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
TransportUnitVO
(String transportUnitBK) private
TransportUnitVO
(TransportUnitVO.Builder builder) -
Method Summary
Modifier and TypeMethodDescriptionstatic TransportUnitVO.Builder
builder()
boolean
All fields.getState()
getWidth()
int
hashCode()
All fields.void
setActualLocation
(LocationVO actualLocation) void
setActualLocationDate
(Date actualLocationDate) void
setCustomerOrderId
(String customerOrderId) void
void
void
setReconciledAt
(ZonedDateTime reconciledAt) void
setReconciledBy
(String reconciledBy) void
void
void
setTransportUnitType
(String transportUnitType) void
Methods inherited from class org.openwms.wms.transport.api.MinimalTransportUnitVO
getpKey, getTransportUnitBK, minimalTransportUnitBuilder, setpKey, setTransportUnitBK
Methods inherited from class org.ameba.http.AbstractBase
getOl, setOl
Methods inherited from class org.springframework.hateoas.RepresentationModel
add, add, add, addAllIf, addIf, getLink, getLink, getLinks, getLinks, getLinks, getRequiredLink, getRequiredLink, hasLink, hasLink, hasLinks, mapLink, mapLinkIf, of, of, removeLinks, toString
-
Field Details
-
MEDIA_TYPE
- See Also:
-
actualLocation
@NotNull(message="{owms.wms.inv.tu.actualLocation}", groups=CreateTransportUnit.class) private @NotNull(message="{owms.wms.inv.tu.actualLocation}",groups=CreateTransportUnit.class) LocationVO actualLocationThe actualLocation
. -
actualLocationDate
-
state
The state of the TransportUnit. -
target
Where the TransportUnit is routed to. -
transportUnitType
@NotBlank(message="{owms.wms.inv.tu.transportUnitType}", groups=CreateTransportUnit.class) private @NotBlank(message="{owms.wms.inv.tu.transportUnitType}",groups=CreateTransportUnit.class) String transportUnitTypeThe name of the TransportUnit's type. -
length
The current length. -
width
The current width. -
height
The current height. -
customerOrderId
An optional assignment to a customer order. -
reconciledBy
-
reconciledAt
-
-
Constructor Details
-
TransportUnitVO
protected TransportUnitVO() -
TransportUnitVO
-
TransportUnitVO
-
-
Method Details
-
builder
-
equals
All fields.- Overrides:
equals
in classMinimalTransportUnitVO
-
hashCode
public int hashCode()All fields.- Overrides:
hashCode
in classMinimalTransportUnitVO
-
getActualLocation
-
setActualLocation
-
getActualLocationDate
-
setActualLocationDate
-
getState
-
setState
-
getTarget
-
setTarget
-
getTransportUnitType
-
setTransportUnitType
-
getLength
-
setLength
-
getWidth
-
setWidth
-
getHeight
-
setHeight
-
getCustomerOrderId
-
setCustomerOrderId
-
getReconciledBy
-
setReconciledBy
-
getReconciledAt
-
setReconciledAt
-