|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<TransactionTypeValue>
javacardx.framework.TransactionTypeValue
public enum TransactionTypeValue
The TransactionTypeValue enum class enumerates the possible values of the TransactionType annotation. The Java Card RE specification chapter on Application Programming Models describes the meaning of each value in more detail
Enum Constant Summary | |
---|---|
MANDATORY
The method must be associated with an ongoing transaction. |
|
NEVER
The method must not be associated with any ongoing transaction. |
|
NOT_SUPPORTED
This method does not associate with an ongoing transaction, if any. |
|
REQUIRED
The method associates with an ongoing transaction, if any. |
|
REQUIRES_NEW
The method does not associate with an ongoing transaction, if any. |
|
SUPPORTS
The method associates with an ongoing transaction, if any. |
Method Summary | |
---|---|
static TransactionTypeValue |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static TransactionTypeValue[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
equals, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final TransactionTypeValue MANDATORY
public static final TransactionTypeValue REQUIRED
public static final TransactionTypeValue REQUIRES_NEW
public static final TransactionTypeValue SUPPORTS
public static final TransactionTypeValue NOT_SUPPORTED
public static final TransactionTypeValue NEVER
Method Detail |
---|
public static TransactionTypeValue[] values()
for (TransactionTypeValue c : TransactionTypeValue.values()) System.out.println(c);
public static TransactionTypeValue valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is null
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |