blackboard.data.course
Class CourseMembership.Role

java.lang.Object
  extended by blackboard.base.BbEnum
      extended by blackboard.data.course.CourseMembership.Role
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable
Enclosing class:
CourseMembership

public static final class CourseMembership.Role
extends BbEnum

See Also:
Serialized Form

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
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.
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

STUDENT

public static final CourseMembership.Role STUDENT

INSTRUCTOR

public static final CourseMembership.Role INSTRUCTOR

TEACHING_ASSISTANT

public static final CourseMembership.Role TEACHING_ASSISTANT

COURSE_BUILDER

public static final CourseMembership.Role COURSE_BUILDER

GRADER

public static final CourseMembership.Role GRADER

GUEST

public static final CourseMembership.Role GUEST

NONE

public static final CourseMembership.Role NONE

DEFAULT

public static final CourseMembership.Role DEFAULT
Method Detail

getValues

public static CourseMembership.Role[] getValues()
Returns an array of all of the elements in this enumeration.


fromExternalString

public static CourseMembership.Role fromExternalString(java.lang.String externalString)
                                                throws java.lang.IllegalArgumentException
Returns the CourseMembership.Role element specified by the externalString.

Throws:
java.lang.IllegalArgumentException - if the given string is not an external representation of one of the elements this enumeration class.

fromFieldName

public static CourseMembership.Role fromFieldName(java.lang.String fieldName)
                                           throws java.lang.IllegalArgumentException
Returns the FormattedText.Type element specified by the fieldName.

Throws:
java.lang.IllegalArgumentException - if the given string is not a short representation of one of the elements in this enumeration class.


Copyright © 2003 Blackboard, Inc. All Rights Reserved.