adams.flow.core
Enum MissingLookUpKey

java.lang.Object
  extended by java.lang.Enum<MissingLookUpKey>
      extended by adams.flow.core.MissingLookUpKey
All Implemented Interfaces:
Serializable, Comparable<MissingLookUpKey>

public enum MissingLookUpKey
extends Enum<MissingLookUpKey>

Describes the behaviors if a lookup key is not found.

Version:
$Revision: 6561 $
Author:
fracpete (fracpete at waikato dot ac dot nz)

Enum Constant Summary
CAUSE_ERROR
          report an error.
NO_OUTPUT
          don't output anything.
OUTPUT_KEY
          output the key.
OUTPUT_MISSING_VALUE
          output the missing value.
 
Method Summary
static MissingLookUpKey valueOf(String name)
          Returns the enum constant of this type with the specified name.
static MissingLookUpKey[] 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

NO_OUTPUT

public static final MissingLookUpKey NO_OUTPUT
don't output anything.


OUTPUT_MISSING_VALUE

public static final MissingLookUpKey OUTPUT_MISSING_VALUE
output the missing value.


OUTPUT_KEY

public static final MissingLookUpKey OUTPUT_KEY
output the key.


CAUSE_ERROR

public static final MissingLookUpKey CAUSE_ERROR
report an error.

Method Detail

values

public static MissingLookUpKey[] 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 (MissingLookUpKey c : MissingLookUpKey.values())
    System.out.println(c);

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

valueOf

public static MissingLookUpKey valueOf(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:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null


Copyright © 2013 University of Waikato, Hamilton, NZ. All Rights Reserved.