org.jboss.cache
Enum Modification.ModificationType

java.lang.Object
  extended by java.lang.Enum<Modification.ModificationType>
      extended by org.jboss.cache.Modification.ModificationType
All Implemented Interfaces:
Serializable, Comparable<Modification.ModificationType>
Enclosing class:
Modification

public static enum Modification.ModificationType
extends Enum<Modification.ModificationType>


Enum Constant Summary
MOVE
           
PUT_DATA
           
PUT_DATA_ERASE
           
PUT_KEY_VALUE
           
REMOVE_DATA
           
REMOVE_KEY_VALUE
           
REMOVE_NODE
           
UNKNOWN
           
 
Method Summary
static Modification.ModificationType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static Modification.ModificationType[] 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

PUT_KEY_VALUE

public static final Modification.ModificationType PUT_KEY_VALUE

PUT_DATA

public static final Modification.ModificationType PUT_DATA

PUT_DATA_ERASE

public static final Modification.ModificationType PUT_DATA_ERASE

REMOVE_NODE

public static final Modification.ModificationType REMOVE_NODE

REMOVE_KEY_VALUE

public static final Modification.ModificationType REMOVE_KEY_VALUE

REMOVE_DATA

public static final Modification.ModificationType REMOVE_DATA

MOVE

public static final Modification.ModificationType MOVE

UNKNOWN

public static final Modification.ModificationType UNKNOWN
Method Detail

values

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

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

valueOf

public static Modification.ModificationType 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


Copyright © 2009 JBoss, a division of Red Hat. All Rights Reserved.