|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.talika.tarsis.security.RoleImpl
public final class RoleImpl
Implementation of Role
interface.
Constructor Summary | |
---|---|
RoleImpl(java.lang.String name)
Creates a new RoleImpl . |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object obj)
Indicates whether some other object is "equal to" this one. |
java.lang.String |
getName()
Returns name of role. |
int |
hashCode()
Returns a hash code value for the object. |
java.lang.String |
toString()
Returns a string representation of the object. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public RoleImpl(java.lang.String name)
RoleImpl
.
name
- String name of role.Method Detail |
---|
public java.lang.String getName()
getName
in interface Role
Role.getName()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
obj
- Object the reference object with which to compare.
true
if this object is the same as the obj
argument; false
otherwise.public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |