|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<TradePropertyEnum> org.otfeed.event.TradePropertyEnum
public enum TradePropertyEnum
Enumerates misc properties of OTTrade
.
Enum Constant Summary | |
---|---|
CANCEL
Trade is the cancel for the previous trade |
|
CLOSE
Trade provides the high price for the day |
|
FROM_BOOK
Trade is from an ECN book |
|
HIGH
Trade provides the high price for the day |
|
LOW
Trade provides the low price for the day |
|
OPEN
Trade provides opening price for the day |
|
UPDATE_LAST
Trade updates the last trade price |
|
UPDATE_VOLUME
Set if volume is the updated consolidated volume |
Field Summary | |
---|---|
int |
code
|
Method Summary | |
---|---|
static java.util.Set<TradePropertyEnum> |
combine(TradePropertyEnum... vals)
|
static TradePropertyEnum |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static TradePropertyEnum[] |
values()
Returns an array containing the constants of this enum type, in the order they're declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final TradePropertyEnum OPEN
public static final TradePropertyEnum HIGH
public static final TradePropertyEnum LOW
public static final TradePropertyEnum CLOSE
public static final TradePropertyEnum UPDATE_LAST
public static final TradePropertyEnum UPDATE_VOLUME
public static final TradePropertyEnum CANCEL
public static final TradePropertyEnum FROM_BOOK
Field Detail |
---|
public final int code
Method Detail |
---|
public static final TradePropertyEnum[] values()
for(TradePropertyEnum c : TradePropertyEnum.values()) System.out.println(c);
public static TradePropertyEnum valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified namepublic static final java.util.Set<TradePropertyEnum> combine(TradePropertyEnum... vals)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |