blackboard.data.content
Class ContentFile.Action

java.lang.Object
  extended by blackboard.base.BbEnum
      extended by blackboard.data.content.ContentFile.Action
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable
Enclosing class:
ContentFile

public static final class ContentFile.Action
extends BbEnum

Type-safe enumeration of possible values for the Action attribute of a file. This is specified in the UI via the the "Special Action" drop down list.

See Also:
Serialized Form

Field Summary
static ContentFile.Action BROKEN_IMAGE
           
static ContentFile.Action DEFAULT
           
static ContentFile.Action EMBED
           
static ContentFile.Action LINK
           
static ContentFile.Action PACKAGE
           
 
Method Summary
static ContentFile.Action fromExternalString(java.lang.String externalString)
          Returns the ContentFile.Action element specified by the externalString .
static ContentFile.Action fromFieldName(java.lang.String fieldName)
          Returns the ContentFile.Action element specified by the fieldName.
static ContentFile.Action[] 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

BROKEN_IMAGE

public static final ContentFile.Action BROKEN_IMAGE

EMBED

public static final ContentFile.Action EMBED

LINK

public static final ContentFile.Action LINK

PACKAGE

public static final ContentFile.Action PACKAGE

DEFAULT

public static final ContentFile.Action DEFAULT
Method Detail

getValues

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


fromExternalString

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

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

fromFieldName

public static ContentFile.Action fromFieldName(java.lang.String fieldName)
Returns the ContentFile.Action element specified by the fieldName.

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


Copyright © 2003 Blackboard, Inc. All Rights Reserved.