public enum AccessType extends java.lang.Enum<AccessType>
Enum Constant and Description |
---|
ADMIN |
COMMENT |
NONE |
OWNER |
VIEW |
WRITE |
Modifier and Type | Method and Description |
---|---|
static AccessType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static AccessType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AccessType NONE
public static final AccessType VIEW
public static final AccessType COMMENT
public static final AccessType WRITE
public static final AccessType OWNER
public static final AccessType ADMIN
public static AccessType[] values()
for (AccessType c : AccessType.values()) System.out.println(c);
public static AccessType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null