|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sas.hls.security.role.AssignedRole
public class AssignedRole
Client representation of a role which has been made available in a context.
Constructor Summary | |
---|---|
AssignedRole(String identifier,
ObjectIdentity roleContext,
RoleDescriptor roleDescriptor,
boolean inherited)
Constructor |
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
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.Method Detail |
---|
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()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |