scheduler.db.coursedb
Class CourseDB.SectionsTuple

java.lang.Object
  extended by scheduler.db.coursedb.CourseDB.SectionsTuple
Enclosing class:
CourseDB

public static class CourseDB.SectionsTuple
extends java.lang.Object

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

id

private java.lang.String id
String that represents the course id.


sections

private int sections
Integer that represents the number of sections per course id.

Constructor Detail

CourseDB.SectionsTuple

public CourseDB.SectionsTuple(java.lang.String id,
                              int sections)
Constructor for the Sections Tuple class

Parameters:
id - The id of the course.
sections - The number of sections
Method Detail

setId

public void setId(java.lang.String id)
Method to set the id of the Tuple

Parameters:
id - The id of the course.

getId

public java.lang.String getId()
Method to get the id of the Tuple

Returns:
The id of the course.

setSections

public void setSections(int sections)
Method to set the number of sections per tuple.

Parameters:
sections - The number of sections in the tuple.

getSections

public int getSections()
Get the sections in the tuple

Returns:
The sections in the tuple.