Package fr.marcwrobel.jbanking
Enum IsoCurrency.Category
- java.lang.Object
-
- java.lang.Enum<IsoCurrency.Category>
-
- fr.marcwrobel.jbanking.IsoCurrency.Category
-
- All Implemented Interfaces:
Serializable,Comparable<IsoCurrency.Category>
- Enclosing class:
- IsoCurrency
public static enum IsoCurrency.Category extends Enum<IsoCurrency.Category>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static IsoCurrency.CategoryvalueOf(String name)Returns the enum constant of this type with the specified name.static IsoCurrency.Category[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
BOND
public static final IsoCurrency.Category BOND
Bond market unit codes.- See Also:
- Bond market
-
FUND
public static final IsoCurrency.Category FUND
Fund codes.- See Also:
- Current funds codes list
-
METAL
public static final IsoCurrency.Category METAL
Precious metals codes.These “currency units” are denominated as one troy ounce.
-
NATIONAL
public static final IsoCurrency.Category NATIONAL
National or supranational currencies codes.
-
OTHER
public static final IsoCurrency.Category OTHER
Other codes (testing codes, special codes...).
-
-
Method Detail
-
values
public static IsoCurrency.Category[] 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 (IsoCurrency.Category c : IsoCurrency.Category.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static IsoCurrency.Category 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
-
-