com.atlassian.user.impl
Class DefaultUser

java.lang.Object
  extended by com.atlassian.user.impl.DefaultEntity
      extended by com.atlassian.user.impl.DefaultUser
All Implemented Interfaces:
Entity, User, Serializable, Principal
Direct Known Subclasses:
DefaultHibernateUser, DefaultLDAPUser

public class DefaultUser
extends DefaultEntity
implements User

See Also:
Serialized Form

Field Summary
protected  String email
           
protected  String fullName
           
protected  String password
           
 
Fields inherited from class com.atlassian.user.impl.DefaultEntity
created, name
 
Constructor Summary
DefaultUser()
           
DefaultUser(String name)
           
 
Method Summary
 boolean equals(Object o)
           
 String getEmail()
           
 String getFullName()
           
 String getPassword()
           
 int hashCode()
           
 void setEmail(String email)
           
 void setFullName(String fullName)
           
 void setPassword(String passw)
           
 String toString()
           
 
Methods inherited from class com.atlassian.user.impl.DefaultEntity
getCreated, getName, setCreated, setName
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.atlassian.user.Entity
getName
 
Methods inherited from interface java.security.Principal
getName
 

Field Detail

fullName

protected String fullName

email

protected String email

password

protected String password
Constructor Detail

DefaultUser

public DefaultUser()

DefaultUser

public DefaultUser(String name)
Method Detail

getFullName

public String getFullName()
Specified by:
getFullName in interface User

getEmail

public String getEmail()
Specified by:
getEmail in interface User

getPassword

public String getPassword()

setFullName

public void setFullName(String fullName)
Specified by:
setFullName in interface User

setEmail

public void setEmail(String email)
Specified by:
setEmail in interface User

setPassword

public void setPassword(String passw)
Specified by:
setPassword in interface User

toString

public String toString()
Specified by:
toString in interface Principal
Overrides:
toString in class Object

equals

public boolean equals(Object o)
Specified by:
equals in interface Principal
Overrides:
equals in class DefaultEntity

hashCode

public int hashCode()
Specified by:
hashCode in interface Principal
Overrides:
hashCode in class DefaultEntity


Copyright © 2005-2009 Atlassian Software Systems Pty Ltd. All Rights Reserved.