org.argosfields.persistence
Class Account
java.lang.Object
org.argosfields.persistence.PersistentEntity
org.argosfields.persistence.Account
- All Implemented Interfaces:
- net.sf.hibernate.Lifecycle, Serializable
- public class Account
- extends PersistentEntity
Account.java
- Version:
- $Revision: 1.1 $ $Date: 2004/04/15 05:43:55 $
- Author:
- Xavier Cho
- See Also:
- Serialized Form
Fields inherited from interface net.sf.hibernate.Lifecycle |
NO_VETO, VETO |
MIN_USERNAME_LENGTH
public static final int MIN_USERNAME_LENGTH
- See Also:
- Constant Field Values
MAX_USERNAME_LENGTH
public static final int MAX_USERNAME_LENGTH
- See Also:
- Constant Field Values
MIN_PASSWORD_LENGTH
public static final int MIN_PASSWORD_LENGTH
- See Also:
- Constant Field Values
MAX_PASSWORD_LENGTH
public static final int MAX_PASSWORD_LENGTH
- See Also:
- Constant Field Values
MAX_REALNAME_LENGTH
public static final int MAX_REALNAME_LENGTH
- See Also:
- Constant Field Values
Account
public Account()
getPassword
public String getPassword()
- Returns:
- Returns the password.
setPassword
public void setPassword(String password)
- Parameters:
password
- The password to set.
getRealName
public String getRealName()
- Returns:
- Returns the realName.
setRealName
public void setRealName(String realName)
- Parameters:
realName
- The realName to set.
getUserName
public String getUserName()
- Returns:
- Returns the userName.
setUserName
public void setUserName(String userName)
- Parameters:
userName
- The userName to set.
isAdmin
public boolean isAdmin()
- Returns:
- Returns the admin.
setAdmin
public void setAdmin(boolean admin)
- Parameters:
admin
- The admin to set.
getRegisteredDate
public Date getRegisteredDate()
- Returns:
- Returns the registeredDate.
setRegisteredDate
public void setRegisteredDate(Date date)
- Parameters:
date
- The date to set.
getEmail
public String getEmail()
- Returns:
setEmail
public void setEmail(String string)
- Parameters:
string
-
getGameLogs
public Collection getGameLogs()
- Returns:
setGameLogs
public void setGameLogs(Collection collection)
- Parameters:
collection
-
onSave
public boolean onSave(net.sf.hibernate.Session session)
throws net.sf.hibernate.CallbackException
- Specified by:
onSave
in interface net.sf.hibernate.Lifecycle
- Overrides:
onSave
in class PersistentEntity
- Throws:
net.sf.hibernate.CallbackException
- See Also:
Lifecycle.onSave(net.sf.hibernate.Session)
equals
public boolean equals(Object obj)
- See Also:
Object.equals(java.lang.Object)
hashCode
public int hashCode()
- See Also:
Object.hashCode()
toString
public String toString()
- See Also:
Object.toString()
Copyright © Gnome Korea. All Rights Reserved.