org.openwms.tms.service.spring.voter
Class RedirectVote

java.lang.Object
  extended by org.openwms.core.service.voter.Vote
      extended by org.openwms.tms.service.spring.voter.RedirectVote

public class RedirectVote
extends Vote

A RedirectVote. Encapsulates a targetLocationGroup and a targetLocation to vote for as targets.

Since:
0.1
Version:
$Revision: 1409 $
Author:
Heiko Scherrer

Constructor Summary
RedirectVote(LocationGroup targetLocationGroup, Location targetLocation)
          Create a new RedirectVote.
 
Method Summary
 Location getLocation()
          Get the location.
 LocationGroup getLocationGroup()
          Get the locationGroup.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RedirectVote

public RedirectVote(LocationGroup targetLocationGroup,
                    Location targetLocation)
Create a new RedirectVote.

Parameters:
targetLocationGroup - The target LocationGroup to vote for
targetLocation - The target Location to vote for
Method Detail

getLocation

public Location getLocation()
Get the location.

Returns:
the location.

getLocationGroup

public LocationGroup getLocationGroup()
Get the locationGroup.

Returns:
the locationGroup.


Copyright © 2005-2011 openwms.org. All Rights Reserved.