|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectscheduler.db.coursedb.CourseDB.SectionsTuple
public static class CourseDB.SectionsTuple
A tuple representing the number of sectons for the courses.
Field Summary | |
---|---|
private java.lang.String |
id
String that represents the course id. |
private int |
sections
Integer that represents the number of sections per course id. |
Constructor Summary | |
---|---|
CourseDB.SectionsTuple(java.lang.String id,
int sections)
Constructor for the Sections Tuple class |
Method Summary | |
---|---|
java.lang.String |
getId()
Method to get the id of the Tuple |
int |
getSections()
Get the sections in the tuple |
void |
setId(java.lang.String id)
Method to set the id of the Tuple |
void |
setSections(int sections)
Method to set the number of sections per tuple. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private java.lang.String id
private int sections
Constructor Detail |
---|
public CourseDB.SectionsTuple(java.lang.String id, int sections)
id
- The id of the course.sections
- The number of sectionsMethod Detail |
---|
public void setId(java.lang.String id)
id
- The id of the course.public java.lang.String getId()
public void setSections(int sections)
sections
- The number of sections in the tuple.public int getSections()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |