public static enum TransactionDataType.Type extends Enum<TransactionDataType.Type>
Enum Constant and Description |
---|
DEPOSIT |
WITHDRAWAL |
Modifier and Type | Method and Description |
---|---|
static TransactionDataType.Type |
fromOrdinal(int ordinal) |
static TransactionDataType.Type |
fromString(String ordinal) |
static boolean |
isMember(String key) |
String |
toString() |
static TransactionDataType.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TransactionDataType.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TransactionDataType.Type WITHDRAWAL
public static final TransactionDataType.Type DEPOSIT
public static TransactionDataType.Type[] values()
for (TransactionDataType.Type c : TransactionDataType.Type.values()) System.out.println(c);
public static TransactionDataType.Type valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant
with the specified nameNullPointerException
- if the argument is nullpublic String toString()
toString
in class Enum<TransactionDataType.Type>
public static boolean isMember(String key)
public static TransactionDataType.Type fromString(String ordinal) throws ClearcheckbookException
ClearcheckbookException
public static TransactionDataType.Type fromOrdinal(int ordinal) throws ClearcheckbookException
ClearcheckbookException
Copyright © 2014 Leonard UK Ltd. All rights reserved.