public enum AccessRightStatus extends Enum<AccessRightStatus>
| Enum Constant and Description |
|---|
DENIED |
GRANTED |
NOT_GRANTED |
| Modifier and Type | Method and Description |
|---|---|
short |
code() |
static AccessRightStatus |
fromCode(short code) |
static AccessRightStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AccessRightStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AccessRightStatus NOT_GRANTED
public static final AccessRightStatus GRANTED
public static final AccessRightStatus DENIED
public static AccessRightStatus[] values()
for (AccessRightStatus c : AccessRightStatus.values()) System.out.println(c);
public static AccessRightStatus 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 short code()
public static AccessRightStatus fromCode(short code)
Copyright © 2017. All Rights Reserved.