Class StopResult
- java.lang.Object
-
- org.onebusaway.enterprise.webapp.actions.api.model.StopResult
-
- All Implemented Interfaces:
SearchResult
public class StopResult extends Object implements SearchResult
A stop as a top-level search result.- Author:
- jmaki
-
-
Constructor Summary
Constructors Constructor Description StopResult(StopBean stop, List<RouteAtStop> routesAvailable)
StopResult(StopBean stop, List<RouteAtStop> routesAvailable, List<StopsForRouteBean> fullStopList)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getCode()
String
getId()
Double
getLatitude()
Double
getLongitude()
String
getName()
List<RouteAtStop>
getRoutesAvailable()
String
getStopDirection()
List<String>
getStopIdsForRoute()
String
toString()
-
-
-
Constructor Detail
-
StopResult
public StopResult(StopBean stop, List<RouteAtStop> routesAvailable)
-
StopResult
public StopResult(StopBean stop, List<RouteAtStop> routesAvailable, List<StopsForRouteBean> fullStopList)
-
-
Method Detail
-
getId
public String getId()
-
getCode
public String getCode()
-
getName
public String getName()
-
getLatitude
public Double getLatitude()
-
getLongitude
public Double getLongitude()
-
getStopDirection
public String getStopDirection()
-
getRoutesAvailable
public List<RouteAtStop> getRoutesAvailable()
-
-