public static enum Role.PermissionState extends Enum<Role.PermissionState>
Enum Constant and Description |
---|
EXPLICIT_ALLOWED
Explizites Ja, also erlaubt.
|
EXPLICIT_FORBIDDEN
Explizites Nein, höchste Priorität, überschreibt alles.
|
IMPLICIT_FORBIDDEN
Implizites Nein, oder keine Aussage.
|
Modifier and Type | Field and Description |
---|---|
private int |
_priority |
Modifier and Type | Method and Description |
---|---|
int |
getPriority()
Gibt die Priorität zurück
|
static Role.PermissionState |
parse(String valueText)
Erstellt aus den Werten im Datenmodell ("Ja", "Nein", "KeineAussage") eine PermissionState
|
static Role.PermissionState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Role.PermissionState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Role.PermissionState IMPLICIT_FORBIDDEN
public static final Role.PermissionState EXPLICIT_ALLOWED
public static final Role.PermissionState EXPLICIT_FORBIDDEN
public static Role.PermissionState[] values()
for (Role.PermissionState c : Role.PermissionState.values()) System.out.println(c);
public static Role.PermissionState 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 int getPriority()
public static Role.PermissionState parse(String valueText)
valueText
- String