Package org.openwms.wms.transport.spi
Class CommonTransportUnitVO
java.lang.Object
org.springframework.hateoas.RepresentationModel<CommonTransportUnitVO>
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.LocationVOprivate Dateprivate Stringprivate @NotEmpty(message="{owms.common.common.tu.barcode}") Stringprivate Dateprivate StringAn optional assignment to a customer order.private Integerprivate Integerprivate StringThe persistent key.private StringThe state of the TransportUnit.private Stringprivate @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}) CommonTransportUnitTypeVOprivate IntegerFields inherited from class org.ameba.http.AbstractBase
DATETIME_FORMAT_ZULU -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCommonTransportUnitVO(String barcode) CommonTransportUnitVO(String barcode, CommonTransportUnitTypeVO transportUnitType, org.openwms.common.location.api.LocationVO actualLocation) private -
Method Summary
Modifier and TypeMethodDescriptionbuilder()booleanorg.openwms.common.location.api.LocationVOgetpKey()getState()getWidth()inthashCode()voidsetActualLocation(org.openwms.common.location.api.LocationVO actualLocation) voidsetActualLocationDate(Date actualLocationDate) voidsetActualPlcCode(String actualPlcCode) voidsetBarcode(String barcode) voidsetCreateDate(Date createDate) voidsetCustomerOrderId(String customerOrderId) voidvoidvoidvoidvoidvoidsetTransportUnitType(CommonTransportUnitTypeVO transportUnitType) voidMethods 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
-
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:
equalsin classorg.ameba.http.AbstractBase<CommonTransportUnitVO>
-
hashCode
public int hashCode()- Overrides:
hashCodein classorg.ameba.http.AbstractBase<CommonTransportUnitVO>
-