scheduler.db.components
Class Instructor

java.lang.Object
  extended by scheduler.db.components.Instructor

public class Instructor
extends java.lang.Object


Constructor Summary
Instructor()
           
 
Method Summary
 void addInstructor(Instructor newInstructor)
          Adds a new instructor to the database.
 void editInstructor(Instructor oldInstructor, Instructor newInstructor)
          Edits an instructor already in the database.
 boolean isValidInstructor(Instructor instructor)
          Returns whether the instructor is a valid instructor.
 boolean isValidInstructorDB()
          Returns whether the current database is a valid instructor database.
 void removeInstructor(Instructor instructor)
          Removes an already-existing instructor from the database.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Instructor

public Instructor()
Method Detail

isValidInstructorDB

public boolean isValidInstructorDB()
Returns whether the current database is a valid instructor database.


isValidInstructor

public boolean isValidInstructor(Instructor instructor)
Returns whether the instructor is a valid instructor.


addInstructor

public void addInstructor(Instructor newInstructor)
Adds a new instructor to the database.


editInstructor

public void editInstructor(Instructor oldInstructor,
                           Instructor newInstructor)
Edits an instructor already in the database.


removeInstructor

public void removeInstructor(Instructor instructor)
Removes an already-existing instructor from the database.