org.onebusaway.gtfs.model
Class ServiceCalendar
java.lang.Object
org.onebusaway.gtfs.model.IdentityBean<java.lang.Integer>
org.onebusaway.gtfs.model.ServiceCalendar
- All Implemented Interfaces:
- java.io.Serializable
public final class ServiceCalendar
- extends IdentityBean<java.lang.Integer>
Note that I decided to call this class ServiceCalendar instead of Calendar,
so as to avoid confusion with java.util.Calendar
- Author:
- bdferris
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
ServiceCalendar
public ServiceCalendar()
ServiceCalendar
public ServiceCalendar(ServiceCalendar sc)
getId
public java.lang.Integer getId()
- Specified by:
getId in class IdentityBean<java.lang.Integer>
setId
public void setId(java.lang.Integer id)
- Specified by:
setId in class IdentityBean<java.lang.Integer>
getServiceId
public AgencyAndId getServiceId()
setServiceId
public void setServiceId(AgencyAndId serviceId)
getMonday
public int getMonday()
setMonday
public void setMonday(int monday)
getTuesday
public int getTuesday()
setTuesday
public void setTuesday(int tuesday)
getWednesday
public int getWednesday()
setWednesday
public void setWednesday(int wednesday)
getThursday
public int getThursday()
setThursday
public void setThursday(int thursday)
getFriday
public int getFriday()
setFriday
public void setFriday(int friday)
getSaturday
public int getSaturday()
setSaturday
public void setSaturday(int saturday)
getSunday
public int getSunday()
setSunday
public void setSunday(int sunday)
getStartDate
public ServiceDate getStartDate()
setStartDate
public void setStartDate(ServiceDate startDate)
getEndDate
public ServiceDate getEndDate()
setEndDate
public void setEndDate(ServiceDate endDate)
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object
Copyright © 2010 OneBusAway. All Rights Reserved.