|
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcorelib.security.Role
public class Role
This class represents the concept of role. A role is associated with a or more users (eg the user John Doe who has an administrator role).
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object obj)
|
int |
getIdentifier()
Returns the unique identifier for this role. |
java.lang.String |
getRoleName()
Returns the name of this role. |
int |
hashCode()
|
void |
setRoleName(java.lang.String newRoleName)
Changes the name of this role. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public int getIdentifier()
setIdentifier(int)public java.lang.String getRoleName()
setRoleName(java.lang.String)public void setRoleName(java.lang.String newRoleName)
newRoleName - The new name of the role.getRoleName()public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Object
|
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||