wt.change2
Class Complexity

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

public class Complexity
extends EnumeratedType
implements Serializable

Complexity indicates the complexity of the WTChangeRequest2 which is used in managing the lifecycle.

Supported API: true

Extendable: false

See Also:
WTChangeRequest2, Serialized Form

Field Summary
static Complexity COMPLEX
          Static final constant meaning the change is complex (requires a complex approval process).
static Complexity SIMPLE
          Static final constant meaning the change is simple (requires a simple approval process).
 
Fields inherited from interface wt.meta.EnumeratedType
DEFAULT_VALUE, ORDER, SELECTABLE
 
Method Summary
static Complexity getComplexityDefault()
          Returns the default value (instance) for the Complexity set.
static Complexity[] getComplexitySet()
          Returns a copy of the set of valid values (instances) for the Complexity class.
 EnumeratedType[] getValueSet()
          Returns a copy of the set of valid values (instances) for this instance, for the current user locale.
static Complexity toComplexity(String internal_value)
          Returns the Complexity 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
 

Field Detail

SIMPLE

public static final Complexity SIMPLE
Static final constant meaning the change is simple (requires a simple approval process).

Supported API: true


COMPLEX

public static final Complexity COMPLEX
Static final constant meaning the change is complex (requires a complex approval process).

Supported API: true

Method Detail

toComplexity

public static Complexity toComplexity(String internal_value)
                               throws WTInvalidParameterException
Returns the Complexity instance for the internal_value argument.

Supported API: true

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

getComplexityDefault

public static Complexity getComplexityDefault()
Returns the default value (instance) for the Complexity set.

Supported API: true

Returns:
Complexity

getComplexitySet

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

Supported API: true

Returns:
Complexity[]

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[]