public enum Side extends Enum<Side>
Enum Constant and Description |
---|
Buy
Buy.
|
None
Default value.
|
Sell
Sell.
|
SellShort
Sell short.
|
SellShortExempt
Sell short exempt.
|
SellUndisclosed
Sell undisclosed.
|
Modifier and Type | Method and Description |
---|---|
static Side |
forValue(String value)
Returns enum value for the string representation
|
String |
getValue()
Gets current value.
|
static Side |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Side[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Side None
public static final Side Buy
public static final Side Sell
public static final Side SellShort
public static final Side SellShortExempt
public static final Side SellUndisclosed
public static Side[] values()
for (Side c : Side.values()) System.out.println(c);
public static Side 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 String getValue()
Copyright © 2014–2025 Onix Solutions. All rights reserved.