org.onebusaway.webapp.actions.where
Class TripAction

java.lang.Object
  extended by com.opensymphony.xwork2.ActionSupport
      extended by org.onebusaway.webapp.actions.where.TripAction
All Implemented Interfaces:
com.opensymphony.xwork2.Action, com.opensymphony.xwork2.LocaleProvider, com.opensymphony.xwork2.TextProvider, com.opensymphony.xwork2.Validateable, com.opensymphony.xwork2.ValidationAware, Serializable

public class TripAction
extends com.opensymphony.xwork2.ActionSupport

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.opensymphony.xwork2.ActionSupport
LOG
 
Fields inherited from interface com.opensymphony.xwork2.Action
ERROR, INPUT, LOGIN, NONE, SUCCESS
 
Constructor Summary
TripAction()
           
 
Method Summary
 String execute()
           
 String getId()
           
 TripDetailsBean getResult()
           
 Date getServiceDate()
           
 String getStopId()
           
 Date getStopTime(TripStopTimeBean stopTime)
           
 int getStopTimeRaw(TripStopTimeBean stopTime)
           
 Date getTime()
           
 TimeZone getTimeZone()
           
 String getVehicleId()
           
 boolean isShowArrivals()
           
 void setId(String id)
           
 void setServiceDate(Date serviceDate)
           
 void setShowArrivals(boolean showArrivals)
           
 void setStopId(String stopId)
           
 void setTime(Date time)
           
 void setVehicleId(String vehicleId)
           
 
Methods inherited from class com.opensymphony.xwork2.ActionSupport
addActionError, addActionMessage, addFieldError, clearActionErrors, clearErrors, clearErrorsAndMessages, clearFieldErrors, clearMessages, clone, doDefault, getActionErrors, getActionMessages, getErrorMessages, getErrors, getFieldErrors, getLocale, getText, getText, getText, getText, getText, getText, getText, getText, getText, getTexts, getTexts, hasActionErrors, hasActionMessages, hasErrors, hasFieldErrors, hasKey, input, pause, setActionErrors, setActionMessages, setFieldErrors, validate
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TripAction

public TripAction()
Method Detail

setId

public void setId(String id)

getId

public String getId()

setServiceDate

public void setServiceDate(Date serviceDate)

getServiceDate

public Date getServiceDate()

setTime

public void setTime(Date time)

getTime

public Date getTime()

setVehicleId

public void setVehicleId(String vehicleId)

getVehicleId

public String getVehicleId()

setStopId

public void setStopId(String stopId)

getStopId

public String getStopId()

setShowArrivals

public void setShowArrivals(boolean showArrivals)

isShowArrivals

public boolean isShowArrivals()

getResult

public TripDetailsBean getResult()

getTimeZone

public TimeZone getTimeZone()

execute

public String execute()
               throws ServiceException
Specified by:
execute in interface com.opensymphony.xwork2.Action
Overrides:
execute in class com.opensymphony.xwork2.ActionSupport
Throws:
ServiceException

getStopTimeRaw

public int getStopTimeRaw(TripStopTimeBean stopTime)

getStopTime

public Date getStopTime(TripStopTimeBean stopTime)


Copyright © 2011 OneBusAway. All Rights Reserved.