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
Modifier and TypeFieldDescriptionprivate ZonedDateTime
When theMovement
has been created.private ZonedDateTime
When theMovement
has been finished.private String
Initiator of theMovement
, who ordered or triggered it.private ZonedDateTime
Latest possible finish date of theMovement
.private String
The persistent key is returned from the service as soon as theMovement
has been created.private Integer
A priority how fast theMovement
needs to be processed; A higher value means less prior than lower values.private String
Refers to the demandedProduct
for that theMovement
has been created.private @NotBlank(groups={Create.class,Move.class}) String
The sourceLocation
where theTransportUnit
shall be picked up.private String
The name of theLocationGroup
thesourceLocation
belongs to.private ZonedDateTime
When theMovement
has been started.private StartMode
Whether theMovement
should be directly processed (AUTOMATIC) or delayed (MANUAL).private @NotBlank(groups=Move.class) String
The current state of theMovement
.private @NotBlank(groups={Create.class,Complete.class}) String
The target where to move theTransportUnit
.private String
The targetLocationGroup
used to define in what areaprivate String
The business key of theTransportUnit
.private MovementType
The type ofMovement
. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Checks whether a target is set or not.boolean
Methods inherited from class org.ameba.http.AbstractBase
getOl, setOl
Methods inherited from class org.springframework.hateoas.RepresentationModel
add, add, add, addAllIf, addIf, equals, getLink, getLink, getLinks, getLinks, getLinks, getRequiredLink, getRequiredLink, hashCode, hasLink, hasLink, hasLinks, mapLink, mapLinkIf, of, of, removeLinks, toString
-
Field Details
-
persistentKey
The persistent key is returned from the service as soon as theMovement
has been created. -
transportUnitBk
The business key of theTransportUnit
. -
type
The type ofMovement
. -
initiator
Initiator of theMovement
, who ordered or triggered it. -
startMode
Whether theMovement
should be directly processed (AUTOMATIC) or delayed (MANUAL). -
sku
Refers to the demandedProduct
for that theMovement
has been created. -
priority
A priority how fast theMovement
needs 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 sourceLocation
where theTransportUnit
shall be picked up. -
sourceLocationGroupName
The name of theLocationGroup
thesourceLocation
belongs to. -
target
@NotBlank(groups={Create.class,Complete.class}) private @NotBlank(groups={Create.class,Complete.class}) String targetThe target where to move theTransportUnit
. -
targetLocationGroup
The targetLocationGroup
used to define in what area -
startedAt
When theMovement
has been started. -
latestDueDate
Latest possible finish date of theMovement
. -
finishedAt
When theMovement
has been finished. -
createdAt
When theMovement
has 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()
-