Class SearchResultCollection
- java.lang.Object
-
- org.onebusaway.presentation.model.SearchResultCollection
-
- All Implemented Interfaces:
Serializable
public class SearchResultCollection extends Object implements Serializable
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description SearchResultCollection()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddMatch(SearchResult thing)voidaddRouteFilter(RouteBean route)voidaddRouteFilters(Set<RouteBean> routes)voidaddSuggestion(SearchResult thing)StringgetHint()BooleangetIsGeocode()List<SearchResult>getMatches()DoublegetQueryLat()DoublegetQueryLon()StringgetResultType()Set<RouteBean>getRouteFilter()List<SearchResult>getSuggestions()booleanisEmpty()voidsetGeocode(Boolean isGeocode)voidsetHint(String hint)voidsetQueryLat(Double queryLat)voidsetQueryLon(Double queryLon)StringtoString()
-
-
-
Method Detail
-
addMatch
public void addMatch(SearchResult thing) throws IllegalArgumentException
- Throws:
IllegalArgumentException
-
addSuggestion
public void addSuggestion(SearchResult thing) throws IllegalArgumentException
- Throws:
IllegalArgumentException
-
addRouteFilter
public void addRouteFilter(RouteBean route)
-
isEmpty
public boolean isEmpty()
-
getMatches
public List<SearchResult> getMatches()
-
getSuggestions
public List<SearchResult> getSuggestions()
-
getResultType
public String getResultType()
-
getQueryLat
public Double getQueryLat()
-
setQueryLat
public void setQueryLat(Double queryLat)
-
getQueryLon
public Double getQueryLon()
-
setQueryLon
public void setQueryLon(Double queryLon)
-
setGeocode
public void setGeocode(Boolean isGeocode)
-
getIsGeocode
public Boolean getIsGeocode()
-
setHint
public void setHint(String hint)
-
getHint
public String getHint()
-
-