de.unihalle.informatik.Alida.annotations
Enum Parameter.Direction

java.lang.Object
  extended by java.lang.Enum<Parameter.Direction>
      extended by de.unihalle.informatik.Alida.annotations.Parameter.Direction
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<Parameter.Direction>
Enclosing class:
Parameter

public static enum Parameter.Direction
extends java.lang.Enum<Parameter.Direction>

Enumerates the different directions a parameter may, e.g. into or out of an operator. Used for documentation of the processing history and code genereration. UNKNOWN is used for compatibility. If the direction of a Parameter is UNKOWN, the old way using Type is assumed.


Enum Constant Summary
IN
          input parameter
INOUT
          this parameter is as well input as also output of the operator
OUT
          output parameter
UNKNOWN
          undefine direction, used for compatibility with oder Alida version.
 
Method Summary
static Parameter.Direction valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static Parameter.Direction[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

IN

public static final Parameter.Direction IN
input parameter


INOUT

public static final Parameter.Direction INOUT
this parameter is as well input as also output of the operator


OUT

public static final Parameter.Direction OUT
output parameter


UNKNOWN

public static final Parameter.Direction UNKNOWN
undefine direction, used for compatibility with oder Alida version.

Method Detail

valueOf

public static Parameter.Direction valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null

values

public static Parameter.Direction[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (Parameter.Direction c : Parameter.Direction.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared