blackboard.dataintegration.ims.data
Enum Role.RoleType

java.lang.Object
  extended by java.lang.Enum<Role.RoleType>
      extended by blackboard.dataintegration.ims.data.Role.RoleType
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<Role.RoleType>
Enclosing class:
Role

public static enum Role.RoleType
extends java.lang.Enum<Role.RoleType>

The Member's function within a group.


Enum Constant Summary
Administrator
           
ContentDeveloper
           
Instructor
           
Learner
           
Manager
           
Member
           
Mentor
           
TeachingAssistant
           
 
Method Summary
static Role.RoleType fromIMSString(java.lang.String val)
          Retrieves the RoleType value from the IMS representation.
static Role.RoleType valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static Role.RoleType[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

Administrator

public static final Role.RoleType Administrator

ContentDeveloper

public static final Role.RoleType ContentDeveloper

Instructor

public static final Role.RoleType Instructor

Learner

public static final Role.RoleType Learner

Manager

public static final Role.RoleType Manager

Member

public static final Role.RoleType Member

Mentor

public static final Role.RoleType Mentor

TeachingAssistant

public static final Role.RoleType TeachingAssistant
Method Detail

values

public static Role.RoleType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (Role.RoleType c : Role.RoleType.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static Role.RoleType valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null

fromIMSString

public static Role.RoleType fromIMSString(java.lang.String val)
Retrieves the RoleType value from the IMS representation.

Parameters:
val - The IMS representation
Returns:
The corresponding RoleType value.
Throws:
java.lang.EnumConstantNotPresentException - if no RoleType value maps to the IMS value.


Copyright © 2012 Blackboard, Inc. All Rights Reserved.