de.danet.an.workflow.api
Class FormalParameter.Mode

java.lang.Object
  extended byde.danet.an.workflow.api.FormalParameter.Mode
All Implemented Interfaces:
java.io.Serializable
Enclosing class:
FormalParameter

public static final class FormalParameter.Mode
extends java.lang.Object
implements java.io.Serializable

Defines a class for representing priorities in a type save way.

See Also:
Serialized Form

Field Summary
static FormalParameter.Mode IN
          Mode as Input Parameter.
static FormalParameter.Mode INOUT
          Mode as input and output parameter.
static FormalParameter.Mode OUT
          Mode as Output Parameter.
 
Method Summary
static FormalParameter.Mode fromString(java.lang.String text)
          Get a Mode by name.
 java.lang.String toString()
          Returns the mode as text.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

IN

public static final FormalParameter.Mode IN
Mode as Input Parameter.


OUT

public static final FormalParameter.Mode OUT
Mode as Output Parameter.


INOUT

public static final FormalParameter.Mode INOUT
Mode as input and output parameter.

Method Detail

fromString

public static FormalParameter.Mode fromString(java.lang.String text)
                                       throws java.lang.IllegalArgumentException
Get a Mode by name.

Parameters:
text - mode name to search
Returns:
mode object
Throws:
java.lang.IllegalArgumentException - if text is not a valid mode name.

toString

public final java.lang.String toString()
Returns the mode as text.

Returns:
mode as text