TrueUpdate Manager Specification 0.2

net.java.trueupdate.manager.spec.tx
Enum Transactions.Method

java.lang.Object
  extended by java.lang.Enum<Transactions.Method>
      extended by net.java.trueupdate.manager.spec.tx.Transactions.Method
All Implemented Interfaces:
Serializable, Comparable<Transactions.Method>
Enclosing class:
Transactions

public static enum Transactions.Method
extends Enum<Transactions.Method>


Enum Constant Summary
commit
           
perform
           
prepare
           
rollback
           
 
Method Summary
static Transactions.Method valueOf(String name)
          Returns the enum constant of this type with the specified name.
static Transactions.Method[] 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

commit

public static final Transactions.Method commit

perform

public static final Transactions.Method perform

prepare

public static final Transactions.Method prepare

rollback

public static final Transactions.Method rollback
Method Detail

valueOf

public static Transactions.Method 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

values

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

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

TrueUpdate Manager Specification 0.2

Copyright © 2013 Schlichtherle IT Services. All rights reserved.