blackboard.data.content
Class UploadedFile.Action

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

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

EMBED

public static final UploadedFile.Action EMBED

LINK

public static final UploadedFile.Action LINK

PACKAGE

public static final UploadedFile.Action PACKAGE

DEFAULT

public static final UploadedFile.Action DEFAULT
Method Detail

getValues

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

Returns:
DOCUMENT ME!

fromExternalString

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

Parameters:
externalString - DOCUMENT ME!
Returns:
DOCUMENT ME!
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 UploadedFile.Action fromFieldName(java.lang.String fieldName)
Returns the Action element specified by the fieldName.

Parameters:
fieldName - DOCUMENT ME!
Returns:
DOCUMENT ME!


Copyright © 2003 Blackboard, Inc. All Rights Reserved.