public class ClassRoom extends java.lang.Object implements java.lang.Comparable<ClassRoom>, java.io.Serializable
| Constructor and Description |
|---|
ClassRoom() |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(ClassRoom otherClass) |
java.lang.String |
getName()
Get the name of the class.
|
boolean |
isInSession()
Get whether a class is in session.
|
void |
setInSession(boolean inSession)
Set whether a class is in session.
|
void |
setName(java.lang.String name)
Set the name of the class.
|
public int compareTo(ClassRoom otherClass)
compareTo in interface java.lang.Comparable<ClassRoom>public java.lang.String getName()
public boolean isInSession()
public void setInSession(boolean inSession)
inSession - A boolean value representing whether the class is in
sessionpublic void setName(java.lang.String name)
name - The name of the class.