Package adams.flow.core
Enum MissingLookUpKey
- java.lang.Object
-
- java.lang.Enum<MissingLookUpKey>
-
- 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$
- Author:
- fracpete (fracpete at waikato dot ac dot nz)
-
-
Enum Constant Summary
Enum Constants Enum Constant Description 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
All Methods Static Methods Concrete Methods Modifier and Type Method Description 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.
-
-
-
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 nameNullPointerException
- if the argument is null
-
-