public static enum CurrencyType.Type extends java.lang.Enum<CurrencyType.Type>
Modifier and Type | Method and Description |
---|---|
int |
code() |
java.lang.String |
getSyncID() |
static CurrencyType.Type |
typeForCode(int oldTypeCode) |
static CurrencyType.Type |
typeForSyncID(java.lang.String syncID) |
static CurrencyType.Type |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static CurrencyType.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CurrencyType.Type CURRENCY
public static final CurrencyType.Type SECURITY
public static CurrencyType.Type[] values()
for (CurrencyType.Type c : CurrencyType.Type.values()) System.out.println(c);
public static CurrencyType.Type 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 java.lang.String getSyncID()
public int code()
public static CurrencyType.Type typeForSyncID(java.lang.String syncID)
public static CurrencyType.Type typeForCode(int oldTypeCode)