org.mftech.dawn.server.projects.impl
Class UserImpl

java.lang.Object
  extended by org.mftech.dawn.server.projects.impl.UserImpl
All Implemented Interfaces:
java.io.Serializable, User

public class UserImpl
extends java.lang.Object
implements java.io.Serializable, User

See Also:
Serialized Form

Constructor Summary
UserImpl()
           
UserImpl(int id, java.lang.String username)
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 java.lang.String getEmail()
           
 int getId()
          Gets the id value for this UserImpl.
 java.lang.String getPassword()
           
 java.lang.String getUsername()
          Gets the username value for this UserImpl.
 boolean isLoggedIn()
           
 void setEmail(java.lang.String email)
           
 void setId(int id)
          Sets the id value for this UserImpl.
 void setLoggedIn(boolean loggedIn)
           
 void setPassword(java.lang.String password)
           
 void setUsername(java.lang.String username)
          Sets the username value for this UserImpl.
 
Methods inherited from class java.lang.Object
getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UserImpl

public UserImpl()

UserImpl

public UserImpl(int id,
                java.lang.String username)
Method Detail

isLoggedIn

public boolean isLoggedIn()
Specified by:
isLoggedIn in interface User

setLoggedIn

public void setLoggedIn(boolean loggedIn)
Specified by:
setLoggedIn in interface User

getPassword

public java.lang.String getPassword()
Specified by:
getPassword in interface User

setPassword

public void setPassword(java.lang.String password)
Specified by:
setPassword in interface User

getId

public int getId()
Gets the id value for this UserImpl.

Specified by:
getId in interface User
Returns:
id

setId

public void setId(int id)
Sets the id value for this UserImpl.

Specified by:
setId in interface User
Parameters:
id -

getUsername

public java.lang.String getUsername()
Gets the username value for this UserImpl.

Specified by:
getUsername in interface User
Returns:
username

setUsername

public void setUsername(java.lang.String username)
Sets the username value for this UserImpl.

Specified by:
setUsername in interface User
Parameters:
username -

setEmail

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

getEmail

public java.lang.String getEmail()
Specified by:
getEmail in interface User

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object