|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--edu.stanford.rt.credential.Role
Role
object in RTML.
A role consists of 2 parts: a principal and a role term.Field Summary | |
private Principal |
principal
|
private RoleTerm |
roleTerm
|
Constructor Summary | |
Role(Principal principal,
RoleTerm roleTerm)
Constructor for Role. |
Method Summary | |
boolean |
equals(java.lang.Object o)
Two roles are equal if both their principals are equal and the role names are equal. |
java.lang.String |
getName()
Method getName. |
Principal |
getPrincipal()
Returns the principal. |
RoleDeclaration |
getRoleDeclaration()
Method getRoleDeclaration. |
RoleTerm |
getRoleTerm()
Returns the roleTerm. |
int |
hashCode()
|
java.lang.String |
toString(java.lang.String indent)
|
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private Principal principal
private RoleTerm roleTerm
Constructor Detail |
public Role(Principal principal, RoleTerm roleTerm)
Method Detail |
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public Principal getPrincipal()
public RoleTerm getRoleTerm()
public RoleDeclaration getRoleDeclaration()
public java.lang.String getName()
public java.lang.String toString(java.lang.String indent)
toString
in interface PrincipalExpression
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |