Package org.openwms.wms.transport.api
Class TransportUnitVO
java.lang.Object
org.springframework.hateoas.RepresentationModel<MinimalTransportUnitVO>
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) LocationVOThe actualLocation.private Dateprivate StringAn optional assignment to a customer order.private IntegerThe current height.private IntegerThe current length.static final Stringprivate ZonedDateTimeprivate Stringprivate StringThe state of the TransportUnit.private StringWhere the TransportUnit is routed to.private @NotBlank(message="{owms.wms.inv.tu.transportUnitType}",groups=CreateTransportUnit.class) StringThe name of the TransportUnit's type.private IntegerThe current width.Fields inherited from class org.openwms.wms.transport.api.MinimalTransportUnitVO
pKey, transportUnitBKFields inherited from class org.ameba.http.AbstractBase
DATETIME_FORMAT_ZULU -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedTransportUnitVO(String transportUnitBK) privateTransportUnitVO(TransportUnitVO.Builder builder) -
Method Summary
Modifier and TypeMethodDescriptionstatic TransportUnitVO.Builderbuilder()booleanAll fields.getState()getWidth()inthashCode()All fields.voidsetActualLocation(LocationVO actualLocation) voidsetActualLocationDate(Date actualLocationDate) voidsetCustomerOrderId(String customerOrderId) voidvoidvoidsetReconciledAt(ZonedDateTime reconciledAt) voidsetReconciledBy(String reconciledBy) voidvoidvoidsetTransportUnitType(String transportUnitType) voidMethods inherited from class org.openwms.wms.transport.api.MinimalTransportUnitVO
getpKey, getTransportUnitBK, minimalTransportUnitBuilder, setpKey, setTransportUnitBKMethods inherited from class org.ameba.http.AbstractBase
getCreateDt, getLastModifiedDt, getOl, setCreateDt, setLastModifiedDt, setOlMethods 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:
equalsin classMinimalTransportUnitVO
-
hashCode
public int hashCode()All fields.- Overrides:
hashCodein classMinimalTransportUnitVO
-
getActualLocation
-
setActualLocation
-
getActualLocationDate
-
setActualLocationDate
-
getState
-
setState
-
getTarget
-
setTarget
-
getTransportUnitType
-
setTransportUnitType
-
getLength
-
setLength
-
getWidth
-
setWidth
-
getHeight
-
setHeight
-
getCustomerOrderId
-
setCustomerOrderId
-
getReconciledBy
-
setReconciledBy
-
getReconciledAt
-
setReconciledAt
-