import java.rmi.*;


/**
 * Methods that must be implemented by a database of Course objects
 *
 * @author  Prof. David Bernstein, James Madison University
 * @version 1.0rmi
 */
public interface CourseDatabase extends Remote
{
    /**
     * Add a Course
     *
     * @param course   The Course to add
     */
    public void add(Course course)  throws RemoteException;


    /**
     * Get a Course
     *
     * @param course   The Course to add
     */
    public Course get(String department, int number)  throws RemoteException;


    /**
     * Remove a Course
     *
     *
     * @param department   The department code
     * @param number       The course number
     */
    public void remove(String department, int number)  throws RemoteException;

}
