public enum PriceType extends Enum<PriceType>
Enum Constant and Description |
---|
DerivedPriceBlock
Derived Price Block
|
FixedCabinetTradePrice
Fixed cabinet trade price (primarily for listed futures and options)
|
InterestRate
Interest rate
|
None
Default value.
|
Percentage
Percentage (i.e.
|
PerUnit
Per unit (i.e.
|
Spread
Spread (basis points spread)
|
TentativePlaceholderPrice
Tentative placeholder price
|
UpdatedActualPrice
Updated actual price
|
VariableCabinetTradePrice
Variable cabinet trade price (primarily for listed futures and options)
|
Yield
Yield
|
YieldDiff
Yield Diff
|
Modifier and Type | Method and Description |
---|---|
static PriceType |
forValue(int value)
Returns enum value for the int representation
|
int |
getValue()
Gets current value.
|
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 None
public static final PriceType Percentage
public static final PriceType PerUnit
public static final PriceType Spread
public static final PriceType Yield
public static final PriceType FixedCabinetTradePrice
public static final PriceType VariableCabinetTradePrice
public static final PriceType InterestRate
public static final PriceType TentativePlaceholderPrice
public static final PriceType UpdatedActualPrice
public static final PriceType DerivedPriceBlock
public static final PriceType YieldDiff
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 getValue()
public static PriceType forValue(int value)
value
- valueCopyright © 2014–2025 Onix Solutions. All rights reserved.