public enum TimeInForce extends java.lang.Enum<TimeInForce>
| Enum Constant and Description |
|---|
AT_THE_CLOSE |
DAY |
FILL_OR_KILL |
GOOD_FOR_AUCTION |
GOOD_TILL_CANCEL |
GOOD_TILL_DATE |
IMMEDIATE_OR_CANCEL |
NULL_VAL
To be used to represent not present or null.
|
| Modifier and Type | Method and Description |
|---|---|
static TimeInForce |
get(byte value)
Lookup the enum value representing the value.
|
byte |
value()
The raw encoded value in the Java type representation.
|
static TimeInForce |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static TimeInForce[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TimeInForce DAY
public static final TimeInForce GOOD_TILL_CANCEL
public static final TimeInForce IMMEDIATE_OR_CANCEL
public static final TimeInForce FILL_OR_KILL
public static final TimeInForce GOOD_TILL_DATE
public static final TimeInForce AT_THE_CLOSE
public static final TimeInForce GOOD_FOR_AUCTION
public static final TimeInForce NULL_VAL
public static TimeInForce[] values()
for (TimeInForce c : TimeInForce.values()) System.out.println(c);
public static TimeInForce 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 byte value()
public static TimeInForce get(byte value)
value - encoded to be looked up.Copyright © 2015-2022 Real Logic Limited. All Rights Reserved.