public enum TradeUpdateAction extends Enum<TradeUpdateAction>
Enum Constant and Description |
---|
DELETE_TRADE
Delete trade.
|
NEW_TRADE
New trade.
|
UNSPECIFIED
Unknown side.
|
Modifier and Type | Method and Description |
---|---|
static TradeUpdateAction |
forValue(int value)
Convert int to enumeration.
|
static TradeUpdateAction |
forValue(String value)
Convert String to enumeration.
|
int |
getIntValue()
Get int value.
|
String |
getStringValue()
Get String value.
|
static TradeUpdateAction |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TradeUpdateAction[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TradeUpdateAction NEW_TRADE
public static final TradeUpdateAction DELETE_TRADE
public static final TradeUpdateAction UNSPECIFIED
public static TradeUpdateAction[] values()
for (TradeUpdateAction c : TradeUpdateAction.values()) System.out.println(c);
public static TradeUpdateAction 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 int getIntValue()
public String getStringValue()
public static TradeUpdateAction forValue(int value)
value
- int value.public static TradeUpdateAction forValue(String value)
value
- String value.Copyright © 2010–2020 Onix Solutions. All rights reserved.