public abstract class Schedule
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
CourseDB |
courses |
InstructorDB |
instructors |
java.lang.String |
name |
boolean |
published |
RoomDB |
rooms |
java.util.Collection<Section> |
sections |
Term |
term |
int |
year |
Constructor and Description |
---|
Schedule() |
Modifier and Type | Method and Description |
---|---|
abstract Schedule |
generateSchedule(java.lang.String name,
Term term,
int year,
CourseDB courses,
InstructorDB instructors,
RoomDB rooms)
Constructs a new schedule from the given name, term
year, and the resources databases (Instructor, Course, Room).
|
abstract void |
insertSection(Section section)
Inserts a Section into the Schedule.
|
abstract void |
removeSection(Section section)
Removes the specified Section from the Schedule.
|
public java.lang.String name
public Term term
public int year
public boolean published
public CourseDB courses
public RoomDB rooms
public InstructorDB instructors
public java.util.Collection<Section> sections
public abstract Schedule generateSchedule(java.lang.String name, Term term, int year, CourseDB courses, InstructorDB instructors, RoomDB rooms)
public abstract void insertSection(Section section)
public abstract void removeSection(Section section)