org.eigenbase.jmi
Enum JmiValidationAction

java.lang.Object
  extended by java.lang.Enum<JmiValidationAction>
      extended by org.eigenbase.jmi.JmiValidationAction
All Implemented Interfaces:
Serializable, Comparable<JmiValidationAction>

public enum JmiValidationAction
extends Enum<JmiValidationAction>

Enumerates the possible actions taken during validation of a JmiChangeSet.

Version:
$Id: //open/dev/farrago/src/org/eigenbase/jmi/JmiValidationAction.java#9 $
Author:
John V. Sichi

Enum Constant Summary
CREATION
           
DELETION
           
MODIFICATION
           
 
Method Summary
static JmiValidationAction valueOf(String name)
          Returns the enum constant of this type with the specified name.
static JmiValidationAction[] values()
          Returns an array containing the constants of this enum type, in the order they're declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

CREATION

public static final JmiValidationAction CREATION

MODIFICATION

public static final JmiValidationAction MODIFICATION

DELETION

public static final JmiValidationAction DELETION
Method Detail

values

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

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

valueOf

public static JmiValidationAction 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