blackboard.dataintegration.ims.data
Enum IMSPerson.SystemRole
java.lang.Object
java.lang.Enum<IMSPerson.SystemRole>
blackboard.dataintegration.ims.data.IMSPerson.SystemRole
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<IMSPerson.SystemRole>
- Enclosing class:
- IMSPerson
public static enum IMSPerson.SystemRole
- extends java.lang.Enum<IMSPerson.SystemRole>
Possible values for person system roles.
| 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 |
AccountAdmin
public static final IMSPerson.SystemRole AccountAdmin
Administrator
public static final IMSPerson.SystemRole Administrator
Creator
public static final IMSPerson.SystemRole Creator
None
public static final IMSPerson.SystemRole None
SysAdmin
public static final IMSPerson.SystemRole SysAdmin
SysSupport
public static final IMSPerson.SystemRole SysSupport
User
public static final IMSPerson.SystemRole User
values
public static IMSPerson.SystemRole[] 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 (IMSPerson.SystemRole c : IMSPerson.SystemRole.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static IMSPerson.SystemRole 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
fromString
public static IMSPerson.SystemRole fromString(java.lang.String sysRole)
- Retrieves the SystemRole value from the IMS representation.
- Parameters:
sysRole - The IMS representation
- Returns:
- The corresponding SystemRole value
- Throws:
java.lang.EnumConstantNotPresentException - if no system role maps to the specified string.
Copyright © 2012 Blackboard, Inc. All Rights Reserved.