Class StopSelectionBean
- java.lang.Object
-
- org.onebusaway.presentation.model.StopSelectionBean
-
- All Implemented Interfaces:
Serializable
public class StopSelectionBean extends Object implements Serializable
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description StopSelectionBean()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddName(NameBean name)voidaddNameWithStop(NameBean name, StopBean stop)voidaddSelected(NameBean name)voidaddStop(StopBean stop)Set<NameBean>getNames()The set of name branches at our current position in theStopSelectionTreeBeanList<NameBean>getSelected()The set of names in theStopSelectionTreeBeanthat have been selected thus far to get us to this pointStopBeangetStop()StopBeangetStop(NameBean name)List<StopBean>getStops()The set of stops at our current position in theStopSelectionTreeBeanStringgetType()booleanhasStop()booleanhasStop(NameBean name)voidsetStop(StopBean stop)
-
-
-
Method Detail
-
getSelected
public List<NameBean> getSelected()
The set of names in theStopSelectionTreeBeanthat 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 theStopSelectionTreeBean
-
hasStop
public boolean hasStop(NameBean name)
-
addName
public void addName(NameBean name)
-
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 theStopSelectionTreeBean- Returns:
-
getType
public String getType()
-
-