public enum TradeRequestResult extends Enum<TradeRequestResult> implements EnumValue
Enum Constant and Description |
---|
INVALID_DESTINATION_REQUESTED |
INVALID_INSTRUMENT |
INVALID_PARTIES |
INVALID_TRANSPORT_TYPE_REQUESTED |
INVALID_TYPE_OF_TRADE_REQUEST |
OTHER |
SUCCESSFUL |
TRADEREQUESTTYPE_NOT_SUPPORTED |
UNAUTHORIZED |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(byte[] val) |
boolean |
equals(byte[] val,
int offset,
int length) |
byte[] |
getValue() |
static TradeRequestResult |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TradeRequestResult[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TradeRequestResult SUCCESSFUL
public static final TradeRequestResult INVALID_INSTRUMENT
public static final TradeRequestResult INVALID_TYPE_OF_TRADE_REQUEST
public static final TradeRequestResult INVALID_PARTIES
public static final TradeRequestResult INVALID_TRANSPORT_TYPE_REQUESTED
public static final TradeRequestResult INVALID_DESTINATION_REQUESTED
public static final TradeRequestResult TRADEREQUESTTYPE_NOT_SUPPORTED
public static final TradeRequestResult UNAUTHORIZED
public static final TradeRequestResult OTHER
public static TradeRequestResult[] values()
for (TradeRequestResult c : TradeRequestResult.values()) System.out.println(c);
public static TradeRequestResult valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic boolean equals(byte[] val, int offset, int length)
Copyright © 2000–2022 EPAM Systems. All rights reserved.