Info
Class ClassGroup

java.lang.Object
  extended by Info.ClassGroup

public abstract class ClassGroup
extends java.lang.Object

Represents a group of classes, representing the top level of a users gradebook.


Field Summary
 java.util.Collection<UserClass> classes
          The collection of user classes.
 User user
          The user of this class group.
 
Constructor Summary
ClassGroup()
           
 
Method Summary
abstract  void addClass(UserClass newClass)
          Add the given UserClass to the given ClassGroup.
abstract  void deleteClass(UserClass toRemove)
          Deletes the given UserClass from the given ClassGroup.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

classes

public java.util.Collection<UserClass> classes
The collection of user classes.


user

public User user
The user of this class group.

Constructor Detail

ClassGroup

public ClassGroup()
Method Detail

addClass

public abstract void addClass(UserClass newClass)
Add the given UserClass to the given ClassGroup. The class name must not be the same as a UserClass already in the ClassGroup.


deleteClass

public abstract void deleteClass(UserClass toRemove)
Deletes the given UserClass from the given ClassGroup.