|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.talika.tarsis.security.UserImpl
public class UserImpl
Implementatio of User
interface.
Constructor Summary | |
---|---|
UserImpl(java.lang.String login,
java.lang.String name,
java.util.Set roles)
Creates a new UserImpl instance. |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object obj)
Indicates whether some other object is "equal to" this one. |
java.lang.String |
getLogin()
Returns login name of user. |
java.lang.String |
getRealName()
Returns real name of user. |
java.util.Set |
getRoles()
Returns roles of user. |
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 UserImpl(java.lang.String login, java.lang.String name, java.util.Set roles)
UserImpl
instance.
login
- String login name of user.name
- String real name of user.roles
- Set roles of user.Method Detail |
---|
public final java.lang.String getLogin()
getLogin
in interface User
User.getLogin()
public final java.lang.String getRealName()
getRealName
in interface User
User.getRealName()
public final java.util.Set getRoles()
getRoles
in interface User
User.getRoles()
public final 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 final 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 |