Package org.openwms.tms.impl.redirection
Class RedirectVote
java.lang.Object
org.openwms.tms.impl.redirection.Vote
org.openwms.tms.impl.redirection.RedirectVote
A RedirectVote encapsulates a targetLocationGroup and a targetLocation to vote for as a target.
- Author:
- Heiko Scherrer
-
Field Summary
Modifier and TypeFieldDescriptionprivate final String
private final String
private final TransportOrder
-
Constructor Summary
ConstructorDescriptionRedirectVote
(String targetLocation, String targetLocationGroup, TransportOrder transportOrder) Create a new RedirectVote. -
Method Summary
Modifier and TypeMethodDescriptionGet the targetLocation.Get the targetLocationGroup.Get the transportOrder.Methods inherited from class org.openwms.tms.impl.redirection.Vote
addMessage, complete, getMessages, hasMessages, isCompleted
-
Field Details
-
targetLocation
-
targetLocationGroup
-
transportOrder
-
-
Constructor Details
-
RedirectVote
public RedirectVote(String targetLocation, String targetLocationGroup, TransportOrder transportOrder) Create a new RedirectVote.- Parameters:
targetLocation
- The target Location to verifytargetLocationGroup
- The target LocationGroup to verifytransportOrder
- The TransportOrder to vote for
-
-
Method Details
-
getTargetLocation
Get the targetLocation.- Returns:
- the LocationId.
-
getTargetLocationGroup
Get the targetLocationGroup.- Returns:
- the LocationGroup name.
-
getTransportOrder
Get the transportOrder.- Returns:
- The transportOrder
-