wt.content
Class HttpOperationType

java.lang.Object
  extended by wt.fc.EnumeratedType
      extended by wt.content.HttpOperationType
All Implemented Interfaces:
Serializable, Comparable, EnumeratedType, LocalizableMetadata, LocalizableMessage, Message

public class HttpOperationType
extends EnumeratedType
implements Serializable

This enumeration is used in the HttpContentOperation object to indicate that this is either an upload or a download.

Supported API: true

Extendable: false

See Also:
HttpContentOperation, Serialized Form

Field Summary
 
Fields inherited from interface wt.meta.EnumeratedType
DEFAULT_VALUE, ORDER, SELECTABLE
 
Method Summary
static HttpOperationType getHttpOperationTypeDefault()
          Returns the default value (instance) for the HttpOperationType set.
static HttpOperationType[] getHttpOperationTypeSet()
          Returns a copy of the set of valid values (instances) for the HttpOperationType class.
 EnumeratedType[] getValueSet()
          Returns a copy of the set of valid values (instances) for this instance, for the current user locale.
static HttpOperationType toHttpOperationType(String internal_value)
          Returns the HttpOperationType instance for the internal_value argument.
 
Methods inherited from class wt.fc.EnumeratedType
equals, getAbbreviatedDisplay, getDisplay, getDisplay, getFullDisplay, getLocalizedMessage, getLongDescription, getOrder, getSelectableValueSet, getShortDescription, getStringValue, getStringValue, hashCode, isDefaultValue, isDefaultValue, isSelectable, main, toEnumeratedType, toEnumeratedType, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Method Detail

toHttpOperationType

public static HttpOperationType toHttpOperationType(String internal_value)
                                             throws WTInvalidParameterException
Returns the HttpOperationType instance for the internal_value argument.

Supported API: true

Parameters:
internal_value - The internal (persistent) value for a valid instance of HttpOperationType.
Returns:
HttpOperationType
Throws:
WTInvalidParameterException

getHttpOperationTypeDefault

public static HttpOperationType getHttpOperationTypeDefault()
Returns the default value (instance) for the HttpOperationType set.

Supported API: true

Returns:
HttpOperationType

getHttpOperationTypeSet

public static HttpOperationType[] getHttpOperationTypeSet()
Returns a copy of the set of valid values (instances) for the HttpOperationType class.

Supported API: true

Returns:
HttpOperationType[]

getValueSet

public EnumeratedType[] getValueSet()
Returns a copy of the set of valid values (instances) for this instance, for the current user locale.

Supported API: true

Specified by:
getValueSet in class EnumeratedType
Returns:
EnumeratedType[]