Package com.longport.trade
Enum OrderStatus
- java.lang.Object
-
- java.lang.Enum<OrderStatus>
-
- com.longport.trade.OrderStatus
-
- All Implemented Interfaces:
Serializable
,Comparable<OrderStatus>
public enum OrderStatus extends Enum<OrderStatus>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description Canceled
Expired
Filled
New
NotReported
PartialFilled
PartialWithdrawal
PendingCancel
PendingReplace
ProtectedNotReported
Rejected
Replaced
ReplacedNotReported
Unknown
VarietiesNotReported
WaitToCancel
WaitToNew
WaitToReplace
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static OrderStatus
valueOf(String name)
Returns the enum constant of this type with the specified name.static OrderStatus[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
Unknown
public static final OrderStatus Unknown
-
NotReported
public static final OrderStatus NotReported
-
ReplacedNotReported
public static final OrderStatus ReplacedNotReported
-
ProtectedNotReported
public static final OrderStatus ProtectedNotReported
-
VarietiesNotReported
public static final OrderStatus VarietiesNotReported
-
Filled
public static final OrderStatus Filled
-
WaitToNew
public static final OrderStatus WaitToNew
-
New
public static final OrderStatus New
-
WaitToReplace
public static final OrderStatus WaitToReplace
-
PendingReplace
public static final OrderStatus PendingReplace
-
Replaced
public static final OrderStatus Replaced
-
PartialFilled
public static final OrderStatus PartialFilled
-
WaitToCancel
public static final OrderStatus WaitToCancel
-
PendingCancel
public static final OrderStatus PendingCancel
-
Rejected
public static final OrderStatus Rejected
-
Canceled
public static final OrderStatus Canceled
-
Expired
public static final OrderStatus Expired
-
PartialWithdrawal
public static final OrderStatus PartialWithdrawal
-
-
Method Detail
-
values
public static OrderStatus[] 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 (OrderStatus c : OrderStatus.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static OrderStatus 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 nameNullPointerException
- if the argument is null
-
-