public enum PriceType extends Enum<PriceType>
Enum Constant and Description |
---|
FINAL
Final price (e.g. final settlement price).
|
INDICATIVE
Indicative price (e.g. derived via math formula).
|
PRELIMINARY
Preliminary price (e.g. preliminary settlement price), usually posted prior to
FINAL price. |
REGULAR
Regular price.
|
Modifier and Type | Method and Description |
---|---|
int |
getCode() |
static PriceType |
valueOf(int code) |
static PriceType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PriceType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PriceType REGULAR
public static final PriceType INDICATIVE
public static final PriceType PRELIMINARY
FINAL
price.public static final PriceType FINAL
public static PriceType[] values()
for (PriceType c : PriceType.values()) System.out.println(c);
public static PriceType 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 int getCode()
public static PriceType valueOf(int code)
Copyright © 2014 Devexperts. All Rights Reserved.