blackboard.data.course
Class Course.Duration

java.lang.Object
  extended by blackboard.base.BbEnum
      extended by blackboard.data.course.Course.Duration
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable
Enclosing class:
Course

public static final class Course.Duration
extends BbEnum

Specifies the intended length of the course.

See Also:
Serialized Form

Field Summary
static Course.Duration CONTINUOUS
          Course is active on an ongoing basis.
static Course.Duration DATE_RANGE
          Course is only intended to be available between specific date ranges
static Course.Duration DEFAULT
          Default value, CONTINUOUS
static Course.Duration FIXED_NUM_DAYS
          Course is only available for a set number of days
 
Method Summary
static Course.Duration fromExternalString(java.lang.String externalString)
          Returns the Course.Duration element specified by the externalString.
static Course.Duration[] 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

CONTINUOUS

public static final Course.Duration CONTINUOUS
Course is active on an ongoing basis.


DATE_RANGE

public static final Course.Duration DATE_RANGE
Course is only intended to be available between specific date ranges


FIXED_NUM_DAYS

public static final Course.Duration FIXED_NUM_DAYS
Course is only available for a set number of days


DEFAULT

public static final Course.Duration DEFAULT
Default value, CONTINUOUS

Method Detail

getValues

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


fromExternalString

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