Method Summary |
|
public boolean | equals(Object o) This role is considered equal if it is a Role whos getValue() is equal
to this object's getValue(). |
public String | getDescription() |
public String | getName() Returns the name. |
public int | getValue() Returns the value. |
public int | hashCode() Do not use commons-lang HashCodeBuilder, since this class will be
deployed to sakai's shared/lib. |
public boolean | isInstructor() Returns whether this instance is the
Role.INSTRUCTOR instance. |
public boolean | isNone() Returns whether this instance is the
Role.NONE instance. |
public boolean | isStudent() Returns whether this instance is the
Role.STUDENT instance. |
public boolean | isTeachingAssistant() Returns whether this instance is the
Role.INSTRUCTOR instance. |
public String | toString() Returns a String description of this Role . |