blackboard.data.user
Class User.EducationLevel

java.lang.Object
  extended by blackboard.base.BbEnum
      extended by blackboard.data.user.User.EducationLevel
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable
Enclosing class:
User

public static final class User.EducationLevel
extends BbEnum

Enumeration to capture standard education level.

See Also:
Serialized Form

Field Summary
static User.EducationLevel DEFAULT
          Default is FRESHMAN
static User.EducationLevel FRESHMAN
          College or university freshman.
static User.EducationLevel GRADUATE_SCHOOL
          Graduate school student.
static User.EducationLevel HIGH_SCHOOL
          Grades 9 through 12.
static User.EducationLevel JUNIOR
          College or university junior.
static User.EducationLevel K_8
          Kindergarten through 8th grade
static User.EducationLevel POST_GRADUATE_SCHOOL
          Post-graduate school student.
static User.EducationLevel SENIOR
          College or university senior.
static User.EducationLevel SOPHOMORE
          College or university sophomore.
static User.EducationLevel UNKNOWN
          Education Level is not known, or not specified.
 
Method Summary
static User.EducationLevel fromExternalString(java.lang.String externalString)
          Returns the User.EducationLevel element specified by the externalString.
static User.EducationLevel[] 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

K_8

public static final User.EducationLevel K_8
Kindergarten through 8th grade


HIGH_SCHOOL

public static final User.EducationLevel HIGH_SCHOOL
Grades 9 through 12.


FRESHMAN

public static final User.EducationLevel FRESHMAN
College or university freshman.


SOPHOMORE

public static final User.EducationLevel SOPHOMORE
College or university sophomore.


JUNIOR

public static final User.EducationLevel JUNIOR
College or university junior.


SENIOR

public static final User.EducationLevel SENIOR
College or university senior.


GRADUATE_SCHOOL

public static final User.EducationLevel GRADUATE_SCHOOL
Graduate school student.


POST_GRADUATE_SCHOOL

public static final User.EducationLevel POST_GRADUATE_SCHOOL
Post-graduate school student.


UNKNOWN

public static final User.EducationLevel UNKNOWN
Education Level is not known, or not specified.


DEFAULT

public static final User.EducationLevel DEFAULT
Default is FRESHMAN

Method Detail

getValues

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


fromExternalString

public static User.EducationLevel fromExternalString(java.lang.String externalString)
                                              throws java.lang.IllegalArgumentException
Returns the User.EducationLevel 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.


Copyright © 2003 Blackboard, Inc. All Rights Reserved.