public enum TradingCapacity extends Enum<TradingCapacity>
Enum Constant and Description |
---|
CUSTOMER
Customer (Agency).
|
MARKET_MAKER
Market Maker.
|
NO_VALUE
Identifies no value.
|
PRINCIPAL
Principal (Proprietary).
|
Modifier and Type | Method and Description |
---|---|
static TradingCapacity |
forValue(byte value) |
byte |
getValue() |
static TradingCapacity |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TradingCapacity[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TradingCapacity NO_VALUE
public static final TradingCapacity CUSTOMER
public static final TradingCapacity PRINCIPAL
public static final TradingCapacity MARKET_MAKER
public static TradingCapacity[] values()
for (TradingCapacity c : TradingCapacity.values()) System.out.println(c);
public static TradingCapacity 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 byte getValue()
public static TradingCapacity forValue(byte value)
Copyright © 2012–2024 Onix Solutions. All rights reserved.