public enum FXTradingProtocol extends Enum<FXTradingProtocol>
The FXTradingProtocol denotes the set of enums that represent the type of FX trades available in the Motif.
Enum Constant and Description |
---|
BLOCK
Block Trade
|
ESP
Executable Stream Price
|
RFS
Request for Stream
|
SALES_RFS
Deprecated.
To be removed when refactored out of Sales Motif
|
Modifier and Type | Method and Description |
---|---|
static FXTradingProtocol |
fromString(String name) |
String |
toString() |
static FXTradingProtocol |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FXTradingProtocol[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FXTradingProtocol ESP
public static final FXTradingProtocol RFS
@Deprecated public static final FXTradingProtocol SALES_RFS
public static final FXTradingProtocol BLOCK
public static FXTradingProtocol[] values()
for (FXTradingProtocol c : FXTradingProtocol.values()) System.out.println(c);
public static FXTradingProtocol 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 String toString()
toString
in class Enum<FXTradingProtocol>
public static FXTradingProtocol fromString(String name)
Copyright © 2015 Caplin Systems.