Class RedirectVote

java.lang.Object
org.openwms.tms.impl.redirection.Vote
org.openwms.tms.impl.redirection.RedirectVote

public class RedirectVote extends Vote
A RedirectVote encapsulates a targetLocationGroup and a targetLocation to vote for as a target.
Author:
Heiko Scherrer
  • Field Details

    • targetLocation

      private final String targetLocation
    • targetLocationGroup

      private final String targetLocationGroup
    • transportOrder

      private final TransportOrder transportOrder
  • Constructor Details

    • RedirectVote

      public RedirectVote(String targetLocation, String targetLocationGroup, TransportOrder transportOrder)
      Create a new RedirectVote.
      Parameters:
      targetLocation - The target Location to verify
      targetLocationGroup - The target LocationGroup to verify
      transportOrder - The TransportOrder to vote for
  • Method Details

    • getTargetLocation

      public String getTargetLocation()
      Get the targetLocation.
      Returns:
      the LocationId.
    • getTargetLocationGroup

      public String getTargetLocationGroup()
      Get the targetLocationGroup.
      Returns:
      the LocationGroup name.
    • getTransportOrder

      public TransportOrder getTransportOrder()
      Get the transportOrder.
      Returns:
      The transportOrder