blackboard.data.content
Class ContentFile.StorageType

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

public static final class ContentFile.StorageType
extends BbEnum

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

See Also:
Serialized Form

Field Summary
static ContentFile.StorageType CS
           
static ContentFile.StorageType DEFAULT
           
static ContentFile.StorageType LOCAL
           
 
Method Summary
static ContentFile.StorageType fromExternalString(java.lang.String externalString)
          Returns the ContentFile.StorageType element specified by the externalString .
static ContentFile.StorageType fromFieldName(java.lang.String fieldName)
          Returns the ContentFile.StorageType element specified by the fieldName.
static ContentFile.StorageType[] 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

LOCAL

public static final ContentFile.StorageType LOCAL

CS

public static final ContentFile.StorageType CS

DEFAULT

public static final ContentFile.StorageType DEFAULT
Method Detail

getValues

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


fromExternalString

public static ContentFile.StorageType fromExternalString(java.lang.String externalString)
                                                  throws java.lang.IllegalArgumentException
Returns the ContentFile.StorageType 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.StorageType fromFieldName(java.lang.String fieldName)
Returns the ContentFile.StorageType 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.