wt.lifecycle
Class Transition

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

public class Transition
extends EnumeratedType
implements Serializable



Supported API: true

Extendable: false

See Also:
Serialized Form

Field Summary
static Transition CHANGE
          Static final constant

Supported API: true
static Transition LOCK
          Static final constant.
static Transition NEXT
          Static final constant.
static Transition PROMOTE
          Static final constant

Supported API: true
static Transition REVISE
          Static final constant

Supported API: true
static Transition SET_STATE
          Static final constant

Supported API: true
 
Fields inherited from interface wt.meta.EnumeratedType
DEFAULT_VALUE, ORDER, SELECTABLE
 
Method Summary
static Transition getTransitionDefault()
          Returns the default value (instance) for the Transition set.
static Transition[] getTransitionSet()
          Returns a copy of the set of valid values (instances) for the Transition class.
 EnumeratedType[] getValueSet()
          Returns a copy of the set of valid values (instances) for this instance, for the current user locale.
static Transition toTransition(String internal_value)
          Returns the Transition 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

PROMOTE

public static final Transition PROMOTE
Static final constant

Supported API: true


CHANGE

public static final Transition CHANGE
Static final constant

Supported API: true


REVISE

public static final Transition REVISE
Static final constant

Supported API: true


SET_STATE

public static final Transition SET_STATE
Static final constant

Supported API: true


NEXT

public static final Transition NEXT
Static final constant. This is the value indicating the existing Lifecycle transtion.

Supported API: true


LOCK

public static final Transition LOCK
Static final constant. This is the value indicating the existing Lifecycle transtion.

Supported API: true

Method Detail

toTransition

public static Transition toTransition(String internal_value)
                               throws WTInvalidParameterException
Returns the Transition instance for the internal_value argument.

Supported API: true

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

getTransitionDefault

public static Transition getTransitionDefault()
Returns the default value (instance) for the Transition set.

Supported API: true

Returns:
Transition

getTransitionSet

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

Supported API: true

Returns:
Transition[]

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