|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.sun.enterprise.security.jacc.provider.Role
public class Role
| Constructor Summary | |
|---|---|
Role(java.lang.String name)
|
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object o)
NB: Class Overrides equals and hashCode Methods such that 2 Roles are equal simply based on having a common name. |
java.lang.String |
getName()
|
int |
hashCode()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Role(java.lang.String name)
| Method Detail |
|---|
public boolean equals(java.lang.Object o)
equals in class java.lang.Objecto -
public int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String getName()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||