public static enum Role.PermissionState extends java.lang.Enum<Role.PermissionState>
Enum Constant and Description |
---|
EXPLICIT_ALLOWED
Explizites Ja, also erlaubt. kann von explizitem Nein überschrieben werden
|
EXPLICIT_FORBIDDEN
Explizites Nein, höchste Priorität, überschreibt alles.
|
IMPLICIT_FORBIDDEN
Implizites Nein, oder keine Aussage.
|
Modifier and Type | Method and Description |
---|---|
int |
getPriority()
Gibt die Priorität zurück
|
static Role.PermissionState |
parse(java.lang.String valueText)
Erstellt aus den Werten im Datenmodell ("Ja", "Nein", "KeineAussage") eine PermissionState
|
static Role.PermissionState |
valueOf(java.lang.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(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 nullpublic int getPriority()
public static Role.PermissionState parse(java.lang.String valueText)
valueText
- String