fri.util.database.jpa.tree.util
Enum TreeActionLocation.ActionType

java.lang.Object
  extended by java.lang.Enum<TreeActionLocation.ActionType>
      extended by fri.util.database.jpa.tree.util.TreeActionLocation.ActionType
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<TreeActionLocation.ActionType>
Enclosing class:
TreeActionLocation<N extends TreeNode>

public static enum TreeActionLocation.ActionType
extends java.lang.Enum<TreeActionLocation.ActionType>

Describes what tree action is happening.


Enum Constant Summary
COPY
           
INSERT
           
MOVE
           
UPDATE
           
 
Method Summary
static TreeActionLocation.ActionType valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static TreeActionLocation.ActionType[] 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

INSERT

public static final TreeActionLocation.ActionType INSERT

UPDATE

public static final TreeActionLocation.ActionType UPDATE

COPY

public static final TreeActionLocation.ActionType COPY

MOVE

public static final TreeActionLocation.ActionType MOVE
Method Detail

values

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

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

valueOf

public static TreeActionLocation.ActionType 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