blackboard.dataintegration.ss.data
Enum SSCourse.EnrollmentType

java.lang.Object
  extended by java.lang.Enum<SSCourse.EnrollmentType>
      extended by blackboard.dataintegration.ss.data.SSCourse.EnrollmentType
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<SSCourse.EnrollmentType>
Enclosing class:
SSCourse

public static enum SSCourse.EnrollmentType
extends java.lang.Enum<SSCourse.EnrollmentType>

Possible values for Enrollment Type


Enum Constant Summary
Email
           
Instructor
           
Self
           
 
Method Summary
static SSCourse.EnrollmentType fromExternalString(java.lang.String val)
          Gets the EnrollmentType value from the external representation.
static SSCourse.EnrollmentType valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static SSCourse.EnrollmentType[] 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

Instructor

public static final SSCourse.EnrollmentType Instructor

Email

public static final SSCourse.EnrollmentType Email

Self

public static final SSCourse.EnrollmentType Self
Method Detail

values

public static SSCourse.EnrollmentType[] 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 (SSCourse.EnrollmentType c : SSCourse.EnrollmentType.values())
    System.out.println(c);

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

valueOf

public static SSCourse.EnrollmentType 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

fromExternalString

public static SSCourse.EnrollmentType fromExternalString(java.lang.String val)
Gets the EnrollmentType value from the external representation.

If no value directly matches, Instructor will be returned.

Parameters:
val - The external representation of the EnrollmentType
Returns:
The corresponding EnrollmentType value, or Instructor if no value matches.


Copyright © 2012 Blackboard, Inc. All Rights Reserved.