| Modifier and Type | Method and Description |
|---|---|
static TxType |
get(matrix.db.Context ctx)
Returns the current transaction type.
|
int |
getInt()
Returns the int value that is equal to the corresponding constant in
matrix.db.Context.
|
java.lang.String |
getName()
Returns the name of the transaction type.
|
java.lang.String |
toString() |
static TxType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static TxType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TxType INACTIVE
public static final TxType READ
public static final TxType UPDATE
public static final TxType ABORTING
public static TxType[] values()
for (TxType c : TxType.values()) System.out.println(c);
public static TxType valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic static TxType get(matrix.db.Context ctx)
ctx - The Context whose transaction type should be returned.public int getInt()
public java.lang.String getName()
public java.lang.String toString()
toString in class java.lang.Enum<TxType>Copyright ? Technia AB. All Rights Reserved.