blackboard.data.announcement
Class Announcement.Type

java.lang.Object
  extended by blackboard.base.BbEnum
      extended by blackboard.data.announcement.Announcement.Type
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable
Enclosing class:
Announcement

public static final class Announcement.Type
extends BbEnum

Enumeration for defining the different kinds of announcement that Blackboard supports.

See Also:
Serialized Form

Field Summary
static Announcement.Type COURSE
          The announcement is associated with a course, and viewable from that course's (or organization's) Announcements tool.
static Announcement.Type DEFAULT
          Default is COURSE.
static Announcement.Type SYSTEM
          The announcement is viewable from the system-level Announcement tool.
 
Method Summary
static Announcement.Type fromExternalString(java.lang.String externalString)
          Returns the Announcement.Type element specified by the externalString.
static Announcement.Type[] 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

COURSE

public static final Announcement.Type COURSE
The announcement is associated with a course, and viewable from that course's (or organization's) Announcements tool.


SYSTEM

public static final Announcement.Type SYSTEM
The announcement is viewable from the system-level Announcement tool.


DEFAULT

public static final Announcement.Type DEFAULT
Default is COURSE.

Method Detail

getValues

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


fromExternalString

public static Announcement.Type fromExternalString(java.lang.String externalString)
                                            throws java.lang.IllegalArgumentException
Returns the Announcement.Type element specified by the externalString.

Throws:
java.lang.IllegalArgumentException - if the given string is not an external representation of one of the elements of this enumeration class.


Copyright © 2003 Blackboard, Inc. All Rights Reserved.