public enum UserStatus extends Enum<UserStatus>
Enum Constant and Description |
---|
NO_VALUE
Identifies no value.
|
USER_FORCED_LOGOUT
Forced user logout by exchange.
|
USER_RELEASED
Suspension revoked.
|
USER_STOPPED
Admission to trading suspended .
|
Modifier and Type | Method and Description |
---|---|
static UserStatus |
forValue(byte value) |
byte |
getValue() |
static UserStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static UserStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final UserStatus NO_VALUE
public static final UserStatus USER_FORCED_LOGOUT
public static final UserStatus USER_STOPPED
public static final UserStatus USER_RELEASED
public static UserStatus[] values()
for (UserStatus c : UserStatus.values()) System.out.println(c);
public static UserStatus 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 UserStatus forValue(byte value)
Copyright © 2012–2024 Onix Solutions. All rights reserved.