|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectscheduler.db.instructordb.CoursePreference
public class CoursePreference
This class will house the preference an instructor has for a particular course.
| Field Summary | |
|---|---|
private Course |
course
The prefered course |
private int |
desire
The desire value |
| Constructor Summary | |
|---|---|
CoursePreference(Course course,
int desire)
This constructor will create a preference for a particular course. |
|
| Method Summary | |
|---|---|
Course |
getCourse()
This method returns the course in this preference. |
int |
getDesire()
This method returns the desire value of this preference. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private Course course
private int desire
| Constructor Detail |
|---|
public CoursePreference(Course course,
int desire)
course - the desired course.desire - the desire level, between 1 and 10.| Method Detail |
|---|
public Course getCourse()
public int getDesire()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||