org.apache.hupa.shared.data
Class User

java.lang.Object
  extended by org.apache.hupa.shared.data.User
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
AbstractGuiceTestModule.TestUser

public class User
extends Object
implements Serializable

User which will get used for login to the IMAP and SMTP account

See Also:
Serialized Form

Constructor Summary
User()
           
 
Method Summary
 boolean equals(Object object)
           
 boolean getAuthenticated()
          Get if the User was successful authenticated
 Date getLoginDate()
          Get the Date on which the User was logged in the last time
 String getName()
          Get name of the User
 String getPassword()
          Get the Password of the User
 Settings getSettings()
           
 int hashCode()
           
 void setAuthenticated(boolean auth)
          Set if the User was successful authenticated
 void setName(String name)
          The name of the User
 void setPassword(String password)
          Set the Password of the User
 void setSettings(Settings settings)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

User

public User()
Method Detail

setName

public void setName(String name)
The name of the User

Parameters:
name -

getName

public String getName()
Get name of the User

Returns:
name

setPassword

public void setPassword(String password)
Set the Password of the User

Parameters:
password -

getPassword

public String getPassword()
Get the Password of the User

Returns:
password

toString

public String toString()
Overrides:
toString in class Object

equals

public boolean equals(Object object)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

getLoginDate

public Date getLoginDate()
Get the Date on which the User was logged in the last time

Returns:
loginDate

setAuthenticated

public void setAuthenticated(boolean auth)
Set if the User was successful authenticated

Parameters:
auth -

getAuthenticated

public boolean getAuthenticated()
Get if the User was successful authenticated

Returns:
auth

setSettings

public void setSettings(Settings settings)

getSettings

public Settings getSettings()


Copyright © 2009-2012 The Apache Software Foundation. All Rights Reserved.