|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectblackboard.base.BbEnum
blackboard.data.course.CourseMembership.Role
public static final class CourseMembership.Role
| Field Summary | |
|---|---|
static CourseMembership.Role |
COURSE_BUILDER
|
static CourseMembership.Role |
DEFAULT
|
static CourseMembership.Role |
GRADER
|
static CourseMembership.Role |
GUEST
|
static CourseMembership.Role |
INSTRUCTOR
|
static CourseMembership.Role |
NONE
|
static CourseMembership.Role |
STUDENT
|
static CourseMembership.Role |
TEACHING_ASSISTANT
|
| Method Summary | |
|---|---|
int |
comparePrecedence(CourseMembership.Role role)
Compare the precedence of the roles. |
static CourseMembership.Role |
fromExternalString(java.lang.String externalString)
Returns the CourseMembership.Role element specified by the externalString. |
static CourseMembership.Role |
fromFieldName(java.lang.String fieldName)
Returns the FormattedText.Type element specified by the fieldName. |
Entitlements |
getEntitlements()
Return the set of entitlements held by this object. |
static CourseMembership.Role[] |
getValues()
Returns an array of all of the elements in this enumeration. |
| Methods inherited from class blackboard.base.BbEnum |
|---|
compareTo, defineAlias, defineDefault, fromExternalString, fromFieldName, fromFieldName, getDefaultElement, getValues, isDefault, readResolve, toExternalString, toFieldName, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final CourseMembership.Role INSTRUCTOR
public static final CourseMembership.Role TEACHING_ASSISTANT
public static final CourseMembership.Role COURSE_BUILDER
public static final CourseMembership.Role GRADER
public static final CourseMembership.Role STUDENT
public static final CourseMembership.Role GUEST
public static final CourseMembership.Role NONE
public static final CourseMembership.Role DEFAULT
| Method Detail |
|---|
public int comparePrecedence(CourseMembership.Role role)
role - The role to compare this with
public Entitlements getEntitlements()
Entitled
getEntitlements in interface Entitledpublic static CourseMembership.Role[] getValues()
public static CourseMembership.Role fromExternalString(java.lang.String externalString)
throws java.lang.IllegalArgumentException
externalString.
java.lang.IllegalArgumentException - if the given string is not an
external representation of one of the elements this
enumeration class.
public static CourseMembership.Role fromFieldName(java.lang.String fieldName)
throws java.lang.IllegalArgumentException
fieldName.
java.lang.IllegalArgumentException - if the given string is not a short
representation of one of the elements in this enumeration
class.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||