Package org.openwms.wms.movements.api
Class MovementVO
java.lang.Object
org.springframework.hateoas.RepresentationModel<MovementVO>
org.ameba.http.AbstractBase<MovementVO>
org.openwms.wms.movements.api.MovementVO
- All Implemented Interfaces:
Serializable
A MovementVO encapsulates details about the actual request to move a
TransportUnit to a target.- Author:
- Heiko Scherrer
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate ZonedDateTimeWhen theMovementhas been created.private ZonedDateTimeWhen theMovementhas been finished.private StringInitiator of theMovement, who ordered or triggered it.private ZonedDateTimeLatest possible finish date of theMovement.private StringThe persistent key is returned from the service as soon as theMovementhas been created.private IntegerA priority how fast theMovementneeds to be processed; A higher value means less prior than lower values.private StringRefers to the demandedProductfor that theMovementhas been created.private @NotBlank(groups={Create.class,Move.class}) StringThe sourceLocationwhere theTransportUnitshall be picked up.private StringThe name of theLocationGroupthesourceLocationbelongs to.private ZonedDateTimeWhen theMovementhas been started.private StartModeWhether theMovementshould be directly processed (AUTOMATIC) or delayed (MANUAL).private @NotBlank(groups=Move.class) StringThe current state of theMovement.private @NotBlank(groups={Create.class,Complete.class}) StringThe target where to move theTransportUnit.private StringThe targetLocationGroupused to define in what area.private StringThe business key of theTransportUnit.private MovementTypeThe type ofMovement.Fields inherited from class org.ameba.http.AbstractBase
DATETIME_FORMAT_ZULU -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanChecks whether a target is set or not.booleanMethods inherited from class org.ameba.http.AbstractBase
equals, getCreateDt, getLastModifiedDt, getOl, hashCode, 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
-
persistentKey
The persistent key is returned from the service as soon as theMovementhas been created. -
transportUnitBk
The business key of theTransportUnit. -
type
The type ofMovement. -
initiator
Initiator of theMovement, who ordered or triggered it. -
startMode
Whether theMovementshould be directly processed (AUTOMATIC) or delayed (MANUAL). -
sku
Refers to the demandedProductfor that theMovementhas been created. -
priority
A priority how fast theMovementneeds to be processed; A higher value means less prior than lower values. -
state
The current state of theMovement. -
sourceLocation
@NotBlank(groups={Create.class,Move.class}) private @NotBlank(groups={Create.class,Move.class}) String sourceLocationThe sourceLocationwhere theTransportUnitshall be picked up. -
sourceLocationGroupName
The name of theLocationGroupthesourceLocationbelongs to. -
target
@NotBlank(groups={Create.class,Complete.class}) private @NotBlank(groups={Create.class,Complete.class}) String targetThe target where to move theTransportUnit. -
targetLocationGroup
The targetLocationGroupused to define in what area. -
startedAt
When theMovementhas been started. -
latestDueDate
Latest possible finish date of theMovement. -
finishedAt
When theMovementhas been finished. -
createdAt
When theMovementhas been created.
-
-
Constructor Details
-
MovementVO
public MovementVO()
-
-
Method Details
-
hasTarget
public boolean hasTarget()Checks whether a target is set or not.- Returns:
- true if so
-
hasTransportUnitBK
public boolean hasTransportUnitBK()
-