blackboard.data.user
Class User.Gender

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

public static final class User.Gender
extends BbEnum

Enumeration for reflecting user's gender

See Also:
Serialized Form

Field Summary
static User.Gender DEFAULT
          Default is UNKNOWN
static User.Gender FEMALE
          Female
static User.Gender MALE
          Male
static User.Gender UNKNOWN
          Gender is not known, or not specified.
 
Method Summary
static User.Gender fromExternalString(java.lang.String externalString)
          Returns the User.Gender element specified by the externalString.
static User.Gender[] 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

FEMALE

public static final User.Gender FEMALE
Female


MALE

public static final User.Gender MALE
Male


UNKNOWN

public static final User.Gender UNKNOWN
Gender is not known, or not specified.


DEFAULT

public static final User.Gender DEFAULT
Default is UNKNOWN

Method Detail

getValues

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


fromExternalString

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