|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectscheduler.db.components.Course
public class Course
| Constructor Summary | |
|---|---|
Course()
|
|
| Method Summary | |
|---|---|
void |
addCourse(Course newCourse)
This method adds a course to the database. |
void |
editCourse(Course oldCourse,
Course newCourse)
This method edits a course alread in the database. |
boolean |
isValidCourse(Course course)
Returns whether this is a valid course. |
boolean |
isValidCourseDB()
Returns whether the current database is valid. |
void |
removeCourse(Course course)
This method removes an alread-existing course from the database. |
int |
sumOfSections()
Returns how many sections are available for this course. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Course()
| Method Detail |
|---|
public void addCourse(Course newCourse)
public void editCourse(Course oldCourse,
Course newCourse)
public void removeCourse(Course course)
public boolean isValidCourse(Course course)
public boolean isValidCourseDB()
public int sumOfSections()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||