org.gnomekr.potron.data
Class User

java.lang.Object
  extended by org.gnomekr.potron.data.User
All Implemented Interfaces:
Serializable

public class User
extends Object
implements Serializable

User.java

Version:
$Revision 1.1 $ $Date: 2005/07/21 10:04:43 $
Author:
Xavier Cho
See Also:
Serialized Form

Constructor Summary
User()
           
User(String userName)
           
 
Method Summary
 boolean equals(Object object)
           
 String getComment()
           
 String getEmail()
           
 String getHomepage()
           
 String getPassword()
           
 String getRealName()
           
 Date getRegisteredDate()
           
 String getUserName()
           
 int hashCode()
           
 boolean isActive()
           
 boolean isAdmin()
           
 void setActive(boolean active)
           
 void setAdmin(boolean admin)
           
 void setComment(String comment)
           
 void setEmail(String email)
           
 void setHomepage(String homepage)
           
 void setPassword(String password)
           
 void setRealName(String realName)
           
 void setRegisteredDate(Date registeredDate)
           
 void setUserName(String userName)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

User

public User()

User

public User(String userName)
Parameters:
userName -
Method Detail

getUserName

public String getUserName()
Returns:

getEmail

public String getEmail()
Returns:

isActive

public boolean isActive()
Returns:
Returns the active.

isAdmin

public boolean isAdmin()
Returns:
Returns the admin.

getComment

public String getComment()
Returns:

getPassword

public String getPassword()
Returns:

getHomepage

public String getHomepage()
Returns:

getRealName

public String getRealName()
Returns:

getRegisteredDate

public Date getRegisteredDate()
Returns:

setComment

public void setComment(String comment)
Parameters:
comment -

setEmail

public void setEmail(String email)
Parameters:
email -

setHomepage

public void setHomepage(String homepage)
Parameters:
homepage -

setPassword

public void setPassword(String password)
Parameters:
password -

setRealName

public void setRealName(String realName)
Parameters:
realName -

setRegisteredDate

public void setRegisteredDate(Date registeredDate)
Parameters:
registeredDate -

setUserName

public void setUserName(String userName)
Parameters:
userName -

setActive

public void setActive(boolean active)
Parameters:
active - The active to set.

setAdmin

public void setAdmin(boolean admin)
Parameters:
admin - The admin to set.

equals

public boolean equals(Object object)
Overrides:
equals in class Object
See Also:
Object.equals(java.lang.Object)

toString

public String toString()
Overrides:
toString in class Object
See Also:
Object.toString()

hashCode

public int hashCode()
Overrides:
hashCode in class Object
See Also:
Object.hashCode()


Copyright © 2000-2005 Gnome Korea. All Rights Reserved.