public enum ShortSaleRestriction extends Enum<ShortSaleRestriction>
Enum Constant and Description |
---|
ACTIVE
Short sale restriction is active.
|
INACTIVE
Short sale restriction is inactive.
|
UNDEFINED
Short sale restriction is undefined, unknown or inapplicable.
|
Modifier and Type | Method and Description |
---|---|
int |
getCode()
Returns integer code that is used in flag bits.
|
static ShortSaleRestriction |
valueOf(int code)
Returns restriction by integer code bit pattern.
|
static ShortSaleRestriction |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ShortSaleRestriction[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ShortSaleRestriction UNDEFINED
public static final ShortSaleRestriction ACTIVE
public static final ShortSaleRestriction INACTIVE
public static ShortSaleRestriction[] values()
for (ShortSaleRestriction c : ShortSaleRestriction.values()) System.out.println(c);
public static ShortSaleRestriction 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 static ShortSaleRestriction valueOf(int code)
code
- integer code.ArrayIndexOutOfBoundsException
- if code is invalid.public int getCode()
Copyright © 2002–2023 Devexperts LLC. All rights reserved.