T
- the type of the privilegepublic abstract static class Privileges.GenericPrivilege<T extends Privileges.GenericPrivilege<T>> extends java.lang.Object implements Privilege
Privilege.Condition, Privilege.Name
Modifier | Constructor and Description |
---|---|
protected |
GenericPrivilege(Privilege.Condition condition,
Privilege.Name name)
Constructor for GenericPrivilege.
|
Modifier and Type | Method and Description |
---|---|
Privilege.Condition |
condition() |
boolean |
equals(java.lang.Object o) |
int |
hashCode() |
Privilege.Name |
name() |
java.lang.String |
simpleString() |
protected GenericPrivilege(Privilege.Condition condition, Privilege.Name name)
condition
- the condition of the privilegename
- the name of the privilegepublic Privilege.Name name()
public Privilege.Condition condition()
public java.lang.String simpleString()
simpleString
in interface Privilege
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object