org.rimudb.configuration
Enum OptimisticLocking

java.lang.Object
  extended by java.lang.Enum<OptimisticLocking>
      extended by org.rimudb.configuration.OptimisticLocking
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<OptimisticLocking>

public enum OptimisticLocking
extends java.lang.Enum<OptimisticLocking>

Author:
Simon Ritchie

Enum Constant Summary
ALL
           
DIRTY
           
LAST_COMMIT_WINS
           
PRIOR_READ
           
VERSION
           
 
Method Summary
abstract  java.lang.String getXMLValue()
           
static OptimisticLocking valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static OptimisticLocking[] 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

PRIOR_READ

public static final OptimisticLocking PRIOR_READ

VERSION

public static final OptimisticLocking VERSION

ALL

public static final OptimisticLocking ALL

DIRTY

public static final OptimisticLocking DIRTY

LAST_COMMIT_WINS

public static final OptimisticLocking LAST_COMMIT_WINS
Method Detail

values

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

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

valueOf

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

getXMLValue

public abstract java.lang.String getXMLValue()


Copyright © 2008-2011 Simon Ritchie. All Rights Reserved.