org.onebusaway.presentation.model
Class StopSelectionBean

java.lang.Object
  extended by org.onebusaway.presentation.model.StopSelectionBean
All Implemented Interfaces:
Serializable

public class StopSelectionBean
extends Object
implements Serializable

See Also:
Serialized Form

Constructor Summary
StopSelectionBean()
           
 
Method Summary
 void addName(NameBean name)
           
 void addNameWithStop(NameBean name, StopBean stop)
           
 void addSelected(NameBean name)
           
 void addStop(StopBean stop)
           
 Set<NameBean> getNames()
          The set of name branches at our current position in the StopSelectionTreeBean
 List<NameBean> getSelected()
          The set of names in the StopSelectionTreeBean that have been selected thus far to get us to this point
 StopBean getStop()
           
 StopBean getStop(NameBean name)
           
 List<StopBean> getStops()
          The set of stops at our current position in the StopSelectionTreeBean
 boolean hasStop()
           
 boolean hasStop(NameBean name)
           
 void setStop(StopBean stop)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StopSelectionBean

public StopSelectionBean()
Method Detail

getSelected

public List<NameBean> getSelected()
The set of names in the StopSelectionTreeBean that have been selected thus far to get us to this point


addSelected

public void addSelected(NameBean name)

getNames

public Set<NameBean> getNames()
The set of name branches at our current position in the StopSelectionTreeBean


hasStop

public boolean hasStop(NameBean name)

getStop

public StopBean getStop(NameBean name)

addName

public void addName(NameBean name)

addNameWithStop

public void addNameWithStop(NameBean name,
                            StopBean stop)

hasStop

public boolean hasStop()

getStop

public StopBean getStop()

setStop

public void setStop(StopBean stop)

addStop

public void addStop(StopBean stop)

getStops

public List<StopBean> getStops()
The set of stops at our current position in the StopSelectionTreeBean

Returns:


Copyright © 2011 OneBusAway. All Rights Reserved.