public class AssignedRole extends Object implements Serializable
Constructor and Description |
---|
AssignedRole(String identifier,
ObjectIdentity roleContext,
RoleDescriptor roleDescriptor,
boolean inherited)
Constructor
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj)
Indicate whether some other object is "equal to" this one.
|
String |
getIdentifier()
Get the identifier of this assignedRole
|
ObjectIdentity |
getRoleContext()
Get the context that a role is being assigned to
|
RoleDescriptor |
getRoleDescriptor()
Get the role being assigned to a context.
|
int |
hashCode()
Return a hash code value for the object.
|
boolean |
isInherited()
is this roleAssignment inheriting the role definition
|
void |
setRoleContext(ObjectIdentity roleContext)
Set the context that a role is being assigned to
|
void |
setRoleDescriptor(RoleDescriptor roleDescriptor)
Set the role being assigned to a context.
|
String |
toString()
Return a string representation of the object.
|
public AssignedRole(String identifier, ObjectIdentity roleContext, RoleDescriptor roleDescriptor, boolean inherited)
identifier
- the identifier for this assignedRoleroleContext
- the context for this assignedRoleroleDescriptor
- the role being made available in the specified context.inherited
- boolean flag indicating if the role is defined in this context or if it is defined in a parent
context.public ObjectIdentity getRoleContext()
public void setRoleContext(ObjectIdentity roleContext)
roleContext
- public RoleDescriptor getRoleDescriptor()
public void setRoleDescriptor(RoleDescriptor roleDescriptor)
roleDescriptor
- public boolean isInherited()
public String getIdentifier()
public int hashCode()
hashCode
in class Object
Object.hashCode()
public boolean equals(Object obj)
equals
in class Object
Object.equals(java.lang.Object)
public String toString()
toString
in class Object
Object.toString()
Copyright (c) 2017, SAS Institute Inc., Cary, NC, USA