public enum Access extends Enum<Access>
Modifier and Type | Method and Description |
---|---|
boolean |
isDenied() |
boolean |
isGranted() |
boolean |
isUndefined() |
static Access |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Access[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Access GRANT
public static final Access DENY
public static final Access NULL
public static Access[] values()
for (Access c : Access.values()) System.out.println(c);
public static Access 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 boolean isGranted()
public boolean isDenied()
public boolean isUndefined()
Copyright © 2011 Nuxeo SA. All Rights Reserved.