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 Role
public boolean containsAll(Role anotherRole)
containsAll
in interface Role
Role#contains(Role)
protected Object clone() throws CloneNotSupportedException
clone
in class Object
CloneNotSupportedException
Copyright © 2019 JBoss by Red Hat. All rights reserved.