org.onebusaway.presentation.impl
Class ArrivalsAndDeparturesModel

java.lang.Object
  extended by org.onebusaway.presentation.impl.ArrivalsAndDeparturesModel
Direct Known Subclasses:
PhoneArrivalsAndDeparturesModel, SmsArrivalsAndDeparturesModel, WebappArrivalsAndDeparturesModel

public class ArrivalsAndDeparturesModel
extends Object


Field Summary
protected  StopsWithArrivalsAndDeparturesBean _result
           
protected  UserBean _user
           
 
Constructor Summary
ArrivalsAndDeparturesModel()
           
 
Method Summary
 List<AgencyBean> getAgencies()
           
 int getRefresh()
           
 StopsWithArrivalsAndDeparturesBean getResult()
           
 Set<String> getRouteFilter()
           
 List<String> getStopIds()
           
 TimeZone getTimeZone()
           
 boolean isFiltered()
           
 boolean isMissingData()
           
 void process()
           
 void setCurrentUserService(CurrentUserService currentUserService)
           
 void setDefaultSearchLocationService(DefaultSearchLocationService defaultSearchLocationService)
           
 void setFrequencyMinutesAfter(int frequencyMinutesAfter)
           
 void setFrequencyMinutesBefore(int frequencyMinutesBefore)
           
 void setMinutesAfter(int minutesAfter)
           
 void setMinutesBefore(int minutesBefore)
           
 void setOnlyNext(boolean onlyNext)
           
 boolean setOrderFromString(String order)
           
 void setRefresh(int refresh)
           
 void setResult(StopsWithArrivalsAndDeparturesBean result)
           
 void setRouteFilter(Set<String> routeFilter)
           
 void setShowArrivals(boolean showArrivals)
           
 void setStopIds(List<String> stopIds)
           
 void setTargetTime(Date time)
           
 void setTransitDataService(TransitDataService transitDataService)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_result

protected StopsWithArrivalsAndDeparturesBean _result

_user

protected UserBean _user
Constructor Detail

ArrivalsAndDeparturesModel

public ArrivalsAndDeparturesModel()
Method Detail

setTransitDataService

public void setTransitDataService(TransitDataService transitDataService)

setCurrentUserService

public void setCurrentUserService(CurrentUserService currentUserService)

setDefaultSearchLocationService

public void setDefaultSearchLocationService(DefaultSearchLocationService defaultSearchLocationService)

setStopIds

public void setStopIds(List<String> stopIds)

getStopIds

public List<String> getStopIds()

setRouteFilter

public void setRouteFilter(Set<String> routeFilter)

getRouteFilter

public Set<String> getRouteFilter()

setOrderFromString

public boolean setOrderFromString(String order)

setTargetTime

public void setTargetTime(Date time)

setMinutesBefore

public void setMinutesBefore(int minutesBefore)

setMinutesAfter

public void setMinutesAfter(int minutesAfter)

setFrequencyMinutesBefore

public void setFrequencyMinutesBefore(int frequencyMinutesBefore)

setFrequencyMinutesAfter

public void setFrequencyMinutesAfter(int frequencyMinutesAfter)

setOnlyNext

public void setOnlyNext(boolean onlyNext)

setShowArrivals

public void setShowArrivals(boolean showArrivals)

setRefresh

public void setRefresh(int refresh)

getRefresh

public int getRefresh()

isMissingData

public boolean isMissingData()

process

public void process()

getTimeZone

public TimeZone getTimeZone()

getResult

public StopsWithArrivalsAndDeparturesBean getResult()

setResult

public void setResult(StopsWithArrivalsAndDeparturesBean result)

isFiltered

public boolean isFiltered()

getAgencies

public List<AgencyBean> getAgencies()


Copyright © 2011 OneBusAway. All Rights Reserved.