public enum EAccess extends Enum<EAccess> implements com.helger.commons.id.IHasID<String>
| Modifier and Type | Method and Description |
|---|---|
static EAccess |
getFromIDOrNull(String sID) |
String |
getID() |
boolean |
hasAccess() |
boolean |
isInherited() |
static EAccess |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EAccess[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EAccess GRANTED
public static final EAccess DENIED
public static final EAccess INHERITED
public static EAccess[] values()
for (EAccess c : EAccess.values()) System.out.println(c);
public static EAccess 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 null@Nonnull @Nonempty public String getID()
getID in interface com.helger.commons.id.IHasID<String>public boolean hasAccess()
public boolean isInherited()
Copyright © 2014–2015 Philip Helger. All rights reserved.