org.jboss.system.server.profileservice.persistence.xml
Enum ModificationInfo

java.lang.Object
  extended by java.lang.Enum<ModificationInfo>
      extended by org.jboss.system.server.profileservice.persistence.xml.ModificationInfo
All Implemented Interfaces:
Serializable, Comparable<ModificationInfo>

public enum ModificationInfo
extends Enum<ModificationInfo>

Flag indicating the modification of a value.

Version:
$Revision: 85945 $
Author:
Emanuel Muckenhuber

Enum Constant Summary
ADDED
           
MODIFIED
           
REMOVED
           
 
Method Summary
static ModificationInfo valueOf(String name)
          Returns the enum constant of this type with the specified name.
static ModificationInfo[] 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

ADDED

public static final ModificationInfo ADDED

MODIFIED

public static final ModificationInfo MODIFIED

REMOVED

public static final ModificationInfo REMOVED
Method Detail

values

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

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

valueOf

public static ModificationInfo 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 © 2009 JBoss, a division of Red Hat, Inc.. All Rights Reserved.