org.onebusaway.gtfs.model
Class ServiceCalendar

java.lang.Object
  extended by org.onebusaway.gtfs.model.IdentityBean<java.lang.Integer>
      extended by 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

Constructor Summary
ServiceCalendar()
           
ServiceCalendar(ServiceCalendar sc)
           
 
Method Summary
 ServiceDate getEndDate()
           
 int getFriday()
           
 java.lang.Integer getId()
           
 int getMonday()
           
 int getSaturday()
           
 AgencyAndId getServiceId()
           
 ServiceDate getStartDate()
           
 int getSunday()
           
 int getThursday()
           
 int getTuesday()
           
 int getWednesday()
           
 void setEndDate(ServiceDate endDate)
           
 void setFriday(int friday)
           
 void setId(java.lang.Integer id)
           
 void setMonday(int monday)
           
 void setSaturday(int saturday)
           
 void setServiceId(AgencyAndId serviceId)
           
 void setStartDate(ServiceDate startDate)
           
 void setSunday(int sunday)
           
 void setThursday(int thursday)
           
 void setTuesday(int tuesday)
           
 void setWednesday(int wednesday)
           
 java.lang.String toString()
           
 
Methods inherited from class org.onebusaway.gtfs.model.IdentityBean
equals, hashCode
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ServiceCalendar

public ServiceCalendar()

ServiceCalendar

public ServiceCalendar(ServiceCalendar sc)
Method Detail

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.