wt.workflow.definer
Class WfDestination

java.lang.Object
  extended bywt.fc.EnumeratedType
      extended bywt.workflow.definer.WfDestination
All Implemented Interfaces:
EnumeratedType, LocalizableMessage, LocalizableMetadata, Message, Serializable

public class WfDestination
extends EnumeratedType
implements Serializable

Enumeration of possible INPUT/OUTPUT roles a variable can play.

Supported API: false

Extendable: false

See Also:
Serialized Form

Nested Class Summary
 
Nested classes inherited from class wt.fc.EnumeratedType
 
Field Summary
private static String CLASS_RESOURCE
           
private static String CLASSNAME
           
static WfDestination INOUT
          

Supported API: false
static WfDestination INPUT
          

Supported API: false
static WfDestination LOCAL
          

Supported API: false
private static Hashtable localeSets
           
static WfDestination OUTPUT
          

Supported API: false
private static String RESOURCE
           
private static EnumeratedType[] valueSet
           
 
Fields inherited from class wt.fc.EnumeratedType
secretHandshake, SEP_CHAR
 
Fields inherited from interface wt.meta.EnumeratedType
DEFAULT_VALUE, ORDER, SELECTABLE
 
Constructor Summary
protected WfDestination()
          Used by sub-classes that need a default constructor.
 
Method Summary
protected  EnumeratedType[] getLocaleSet(Locale locale)
          Returns the set of values (instances) for this instance, for the specified locale.
 EnumeratedType[] getValueSet()
          Returns a copy of the set of valid values (instances) for this instance, for the current user locale.
static WfDestination getWfDestinationDefault()
          Returns the default value (instance) for the WfDestination set.
static WfDestination[] getWfDestinationSet()
          Returns a copy of the set of valid values (instances) for the WfDestination class.
private static EnumeratedType[] initializeLocaleSet(Locale locale)
           
static WfDestination newWfDestination(int secretHandshake)
          Used by EnumeratedType for constructing instances of WfDestination, from a resource bundle.
static WfDestination toWfDestination(String internal_value)
          Returns the WfDestination instance for the internal_value argument.
protected  EnumeratedType[] valueSet()
          Returns a reference to the set of valid values (instances) for this instance.
 
Methods inherited from class wt.fc.EnumeratedType
defaultEnumeratedType, dynamicInstance, equals, getAbbreviatedDisplay, getComment, getComment, getDisplay, getDisplay, getFullDisplay, getInternalKey, getLocalizedMessage, getLocalizedValues, getLongDescription, getOrder, getSelectableValueSet, getShortDescription, getShortDescription, getStringValue, getStringValue, getValidSet, getValue, hashCode, instantiateSet, isDefaultValue, isDefaultValue, isPrimaryKey, isSelectable, main, readResolve, toEnumeratedType, toEnumeratedType, toEnumeratedType, toString, validateFriendship
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

RESOURCE

private static final String RESOURCE
See Also:
Constant Field Values

CLASSNAME

private static final String CLASSNAME

CLASS_RESOURCE

private static final String CLASS_RESOURCE
See Also:
Constant Field Values

valueSet

private static final EnumeratedType[] valueSet

localeSets

private static Hashtable localeSets

INPUT

public static final WfDestination INPUT


Supported API: false


OUTPUT

public static final WfDestination OUTPUT


Supported API: false


INOUT

public static final WfDestination INOUT


Supported API: false


LOCAL

public static final WfDestination LOCAL


Supported API: false

Constructor Detail

WfDestination

protected WfDestination()
Used by sub-classes that need a default constructor.

Supported API: false

Method Detail

newWfDestination

public static WfDestination newWfDestination(int secretHandshake)
                                      throws IllegalAccessException
Used by EnumeratedType for constructing instances of WfDestination, from a resource bundle.

Supported API: false

Parameters:
secretHandshake -
Returns:
WfDestination
Throws:
IllegalAccessException

toWfDestination

public static WfDestination toWfDestination(String internal_value)
                                     throws WTInvalidParameterException
Returns the WfDestination instance for the internal_value argument.

Supported API: false

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

getWfDestinationDefault

public static WfDestination getWfDestinationDefault()
Returns the default value (instance) for the WfDestination set.

Supported API: false

Returns:
WfDestination

getWfDestinationSet

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

Supported API: false

Returns:
WfDestination[]

getValueSet

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

Supported API: false

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

valueSet

protected EnumeratedType[] valueSet()
Returns a reference to the set of valid values (instances) for this instance.

Supported API: false

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

getLocaleSet

protected EnumeratedType[] getLocaleSet(Locale locale)
Returns the set of values (instances) for this instance, for the specified locale.

Supported API: false

Specified by:
getLocaleSet in class EnumeratedType
Parameters:
locale -
Returns:
EnumeratedType[]

initializeLocaleSet

private static EnumeratedType[] initializeLocaleSet(Locale locale)
                                             throws Throwable
Parameters:
locale -
Returns:
EnumeratedType[]
Throws:
Throwable