com.activequant.transport
Enum ETransportType
java.lang.Object
java.lang.Enum<ETransportType>
com.activequant.transport.ETransportType
- All Implemented Interfaces:
- Serializable, Comparable<ETransportType>
public enum ETransportType
- extends Enum<ETransportType>
Holds an enumeration of possible transport types. The framework provides the
adequate transport on request through the ITransportFactory implementation.
- Author:
- ustaudinger
|
Method Summary |
static ETransportType |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static ETransportType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared. |
REF_DATA
public static final ETransportType REF_DATA
- transport can be of type reference data or market data.
MARKET_DATA
public static final ETransportType MARKET_DATA
TRAD_DATA
public static final ETransportType TRAD_DATA
TIME
public static final ETransportType TIME
values
public static ETransportType[] 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 (ETransportType c : ETransportType.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static ETransportType 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 name
NullPointerException - if the argument is null
Copyright © 2012 ActiveQuant GmbH. All Rights Reserved.