public enum TradeRequestResult extends Enum<TradeRequestResult>
Enum Constant and Description |
---|
CANCEL_APPROVED
Deal cancellation approved.
|
CANCEL_DECLINED
Deal cancellation declined.
|
CANCEL_PENDING
Deal cancellation pending.
|
NO_VALUE
Identifies no value.
|
Modifier and Type | Method and Description |
---|---|
static TradeRequestResult |
forValue(byte value) |
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 NO_VALUE
public static final TradeRequestResult CANCEL_PENDING
public static final TradeRequestResult CANCEL_DECLINED
public static final TradeRequestResult CANCEL_APPROVED
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 byte getValue()
public static TradeRequestResult forValue(byte value)
Copyright © 2012–2024 Onix Solutions. All rights reserved.