schedule
Class Schedule

java.lang.Object
  extended by schedule.Schedule

public abstract class Schedule
extends java.lang.Object

A Schedule object is generated from the Schedule generator.


Field Summary
(package private)  java.util.Collection<Day> days
          The collection of days in a schedule.
(package private)  java.lang.String scheduleName
          The schedule name, i.e.
 
Constructor Summary
Schedule()
           
 
Method Summary
abstract  void addScheduledItem(Day day, ScheduledItem scheduledItem)
          Function that will add a course to the schedule.
abstract  void removeScheduledItem(Day day, ScheduledItem scheduledItem)
          Removes the given ScheduledItem from the schedule
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

scheduleName

java.lang.String scheduleName
The schedule name, i.e. Fall 2013 Schedule 1


days

java.util.Collection<Day> days
The collection of days in a schedule. There should be 5 days - Monday, Tuesday, Wednesday, Thursday, and Friday

Constructor Detail

Schedule

public Schedule()
Method Detail

addScheduledItem

public abstract void addScheduledItem(Day day,
                                      ScheduledItem scheduledItem)
Function that will add a course to the schedule.


removeScheduledItem

public abstract void removeScheduledItem(Day day,
                                         ScheduledItem scheduledItem)
Removes the given ScheduledItem from the schedule