Package org.openwms.wms.transport.spi
Class CommonTransportUnitVO
java.lang.Object
org.springframework.hateoas.RepresentationModel<T>
org.ameba.http.AbstractBase<CommonTransportUnitVO>
org.openwms.wms.transport.spi.CommonTransportUnitVO
- All Implemented Interfaces:
Serializable
public class CommonTransportUnitVO
extends org.ameba.http.AbstractBase<CommonTransportUnitVO>
implements Serializable
A TransportUnitVO.
- Author:
- Heiko Scherrer
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate @NotNull(message="{owms.common.common.tu.actualLocation}",groups=org.openwms.common.transport.api.ValidationGroups.TransportUnit.Create.class) org.openwms.common.location.api.LocationVO
private Date
private String
private @NotEmpty(message="{owms.common.common.tu.barcode}") String
private Date
private String
An optional assignment to a customer order.private Integer
private Integer
private String
The persistent key.private String
The state of the TransportUnit.private String
private @NotEmpty(message="{owms.common.common.tu.transportUnitTypeName}",groups={org.openwms.common.transport.api.ValidationGroups.TransportUnit.Create.class,org.openwms.common.transport.api.ValidationGroups.TransportUnit.WithTuT.class}) CommonTransportUnitTypeVO
private Integer
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
CommonTransportUnitVO
(String barcode) CommonTransportUnitVO
(String barcode, CommonTransportUnitTypeVO transportUnitType, org.openwms.common.location.api.LocationVO actualLocation) private
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
boolean
org.openwms.common.location.api.LocationVO
getpKey()
getState()
getWidth()
int
hashCode()
void
setActualLocation
(org.openwms.common.location.api.LocationVO actualLocation) void
setActualLocationDate
(Date actualLocationDate) void
setActualPlcCode
(String actualPlcCode) void
setBarcode
(String barcode) void
setCreateDate
(Date createDate) void
setCustomerOrderId
(String customerOrderId) void
void
void
void
void
void
setTransportUnitType
(CommonTransportUnitTypeVO transportUnitType) void
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
-
pKey
The persistent key. -
barcode
@NotEmpty(message="{owms.common.common.tu.barcode}") private @NotEmpty(message="{owms.common.common.tu.barcode}") String barcode -
actualLocation
@NotNull(message="{owms.common.common.tu.actualLocation}", groups=org.openwms.common.transport.api.ValidationGroups.TransportUnit.Create.class) private @NotNull(message="{owms.common.common.tu.actualLocation}",groups=org.openwms.common.transport.api.ValidationGroups.TransportUnit.Create.class) org.openwms.common.location.api.LocationVO actualLocation -
state
The state of the TransportUnit. -
target
-
transportUnitType
@NotEmpty(message="{owms.common.common.tu.transportUnitTypeName}", groups={org.openwms.common.transport.api.ValidationGroups.TransportUnit.Create.class,org.openwms.common.transport.api.ValidationGroups.TransportUnit.WithTuT.class}) private @NotEmpty(message="{owms.common.common.tu.transportUnitTypeName}",groups={org.openwms.common.transport.api.ValidationGroups.TransportUnit.Create.class,org.openwms.common.transport.api.ValidationGroups.TransportUnit.WithTuT.class}) CommonTransportUnitTypeVO transportUnitType -
length
-
width
-
height
-
actualPlcCode
-
actualLocationDate
-
createDate
-
customerOrderId
An optional assignment to a customer order.
-
-
Constructor Details
-
CommonTransportUnitVO
protected CommonTransportUnitVO() -
CommonTransportUnitVO
-
CommonTransportUnitVO
public CommonTransportUnitVO(String barcode, CommonTransportUnitTypeVO transportUnitType, org.openwms.common.location.api.LocationVO actualLocation) -
CommonTransportUnitVO
-
-
Method Details
-
newBuilder
-
builder
-
getpKey
-
setpKey
-
getBarcode
-
setBarcode
-
getActualLocation
public org.openwms.common.location.api.LocationVO getActualLocation() -
setActualLocation
public void setActualLocation(org.openwms.common.location.api.LocationVO actualLocation) -
getState
-
setState
-
getTarget
-
setTarget
-
getTransportUnitType
-
setTransportUnitType
-
getLength
-
setLength
-
getWidth
-
setWidth
-
getHeight
-
setHeight
-
getActualPlcCode
-
setActualPlcCode
-
getActualLocationDate
-
setActualLocationDate
-
getCreateDate
-
setCreateDate
-
getCustomerOrderId
-
setCustomerOrderId
-
equals
- Overrides:
equals
in classorg.springframework.hateoas.RepresentationModel<CommonTransportUnitVO>
-
hashCode
public int hashCode()- Overrides:
hashCode
in classorg.springframework.hateoas.RepresentationModel<CommonTransportUnitVO>
-