java.io.Serializable
, java.lang.Comparable<OrderEvent>
public enum OrderEvent extends java.lang.Enum<OrderEvent>
Enum Constant | Description |
---|---|
CALCULATED |
The calculated.
|
CANCELED |
The canceled.
|
DONE_FOR_DAY |
The done for day.
|
EXPIRED |
The expired.
|
FILL |
The fill.
|
NEW |
The new.
|
ORDER_CANCEL_REJECTED |
The order cancel rejected.
|
PARTIALLY_FILLED |
The partially filled.
|
PENDING_CANCEL |
The pending cancel.
|
PENDING_NEW |
The pending new.
|
REJECTED |
The rejected.
|
STOPPED |
The stopped.
|
SUSPENDED |
The suspended.
|
Modifier and Type | Method | Description |
---|---|---|
static OrderEvent |
fromAPIName(java.lang.String apiNameCheck) |
Gets the API name.
|
java.lang.String[] |
getApiNames() |
Gets the api names.
|
java.lang.String |
getMainAPIName() |
Gets the API name.
|
static OrderEvent |
valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static OrderEvent[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OrderEvent NEW
public static final OrderEvent FILL
public static final OrderEvent PARTIALLY_FILLED
public static final OrderEvent DONE_FOR_DAY
public static final OrderEvent CANCELED
public static final OrderEvent EXPIRED
public static final OrderEvent ORDER_CANCEL_REJECTED
public static final OrderEvent PENDING_CANCEL
public static final OrderEvent STOPPED
public static final OrderEvent REJECTED
public static final OrderEvent SUSPENDED
public static final OrderEvent PENDING_NEW
public static final OrderEvent CALCULATED
public static OrderEvent[] values()
for (OrderEvent c : OrderEvent.values()) System.out.println(c);
public static OrderEvent 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 namejava.lang.NullPointerException
- if the argument is nullpublic java.lang.String getMainAPIName()
public java.lang.String[] getApiNames()
public static OrderEvent fromAPIName(java.lang.String apiNameCheck)
apiNameCheck
- the api name as a String