public class SimpleRole extends Object implements Role, Cloneable
| Modifier and Type | Field and Description |
|---|---|
static String |
ANYBODY |
static Role |
ANYBODY_ROLE |
| Constructor and Description |
|---|
SimpleRole(String roleName) |
SimpleRole(String roleName,
Role parent) |
| Modifier and Type | Method and Description |
|---|---|
protected Object |
clone() |
boolean |
containsAll(Role anotherRole) |
boolean |
equals(Object obj) |
Role |
getParent() |
String |
getRoleName() |
RoleType |
getType() |
int |
hashCode() |
String |
toString() |
public static final String ANYBODY
public static final Role ANYBODY_ROLE
public SimpleRole(String roleName)
public String getRoleName()
getRoleName in interface Rolepublic boolean containsAll(Role anotherRole)
containsAll in interface RoleRole#contains(Role)protected Object clone() throws CloneNotSupportedException
clone in class ObjectCloneNotSupportedExceptionCopyright © 2017 JBoss by Red Hat. All rights reserved.