Enum TransactionStatusElement
- java.lang.Object
-
- java.lang.Enum<TransactionStatusElement>
-
- org.jboss.jbossts.star.client.extended.txstatusext.TransactionStatusElement
-
- All Implemented Interfaces:
Serializable,Comparable<TransactionStatusElement>
public enum TransactionStatusElement extends Enum<TransactionStatusElement>
-
-
Enum Constant Summary
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static TransactionStatusElementvalueOf(String name)Returns the enum constant of this type with the specified name.static TransactionStatusElement[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
TransactionRollbackOnly
public static final TransactionStatusElement TransactionRollbackOnly
-
TransactionRollingBack
public static final TransactionStatusElement TransactionRollingBack
-
TransactionRolledBack
public static final TransactionStatusElement TransactionRolledBack
-
TransactionCommitting
public static final TransactionStatusElement TransactionCommitting
-
TransactionCommitted
public static final TransactionStatusElement TransactionCommitted
-
TransactionHeuristicRollback
public static final TransactionStatusElement TransactionHeuristicRollback
-
TransactionHeuristicCommit
public static final TransactionStatusElement TransactionHeuristicCommit
-
TransactionHeuristicHazard
public static final TransactionStatusElement TransactionHeuristicHazard
-
TransactionHeuristicMixed
public static final TransactionStatusElement TransactionHeuristicMixed
-
TransactionPreparing
public static final TransactionStatusElement TransactionPreparing
-
TransactionPrepared
public static final TransactionStatusElement TransactionPrepared
-
TransactionActive
public static final TransactionStatusElement TransactionActive
-
TransactionCommittedOnePhase
public static final TransactionStatusElement TransactionCommittedOnePhase
-
TransactionReadOnly
public static final TransactionStatusElement TransactionReadOnly
-
TransactionStatusNone
public static final TransactionStatusElement TransactionStatusNone
-
-
Method Detail
-
values
public static TransactionStatusElement[] 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 (TransactionStatusElement c : TransactionStatusElement.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static TransactionStatusElement 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 nameNullPointerException- if the argument is null
-
-