|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.cpsolver.studentsct.model.Course
public class Course
Representation of a course offering. A course offering contains id, subject area, course number and an instructional offering.
Each instructional offering (see Offering) is offered under one or more course offerings.
| Constructor Summary | |
|---|---|
Course(long id,
String subjectArea,
String courseNumber,
Offering offering)
Constructor |
|
Course(long id,
String subjectArea,
String courseNumber,
Offering offering,
int limit,
int projected)
Constructor |
|
| Method Summary | |
|---|---|
String |
getCourseNumber()
Course number |
long |
getId()
Course offering unique id |
int |
getLimit()
Course offering limit |
String |
getName()
Course offering name: subject area + course number |
Offering |
getOffering()
Instructional offering which is offered under this course offering. |
int |
getProjected()
Course offering projected number of students |
String |
getSubjectArea()
Subject area |
void |
setLimit(int limit)
Set course offering limit |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Course(long id,
String subjectArea,
String courseNumber,
Offering offering)
id - course offering unique idsubjectArea - subject area (e.g., MA, CS, ENGL)courseNumber - course number under the given subject areaoffering - instructional offering which is offered under this course offering
public Course(long id,
String subjectArea,
String courseNumber,
Offering offering,
int limit,
int projected)
id - course offering unique idsubjectArea - subject area (e.g., MA, CS, ENGL)courseNumber - course number under the given subject areaoffering - instructional offering which is offered under this course offeringlimit - course offering limitprojected - projected demand| Method Detail |
|---|
public long getId()
public String getSubjectArea()
public String getCourseNumber()
public String getName()
public String toString()
toString in class Objectpublic Offering getOffering()
public int getLimit()
public void setLimit(int limit)
public int getProjected()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||