public enum AccessRights extends Enum<AccessRights>
| Enum Constant and Description |
|---|
ADD |
ADD_WRITE |
NONE |
READ |
READ_ADD |
READ_ADD_WRITE |
READ_WRITE |
WRITE |
| Modifier and Type | Method and Description |
|---|---|
byte |
getBits() |
static AccessRights |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AccessRights[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AccessRights NONE
public static final AccessRights READ
public static final AccessRights WRITE
public static final AccessRights ADD
public static final AccessRights READ_WRITE
public static final AccessRights READ_ADD
public static final AccessRights ADD_WRITE
public static final AccessRights READ_ADD_WRITE
public static AccessRights[] values()
for (AccessRights c : AccessRights.values()) System.out.println(c);
public static AccessRights 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 getBits()
Copyright © 2021. All rights reserved.