org.argosfields.persistence
Class GameLog
java.lang.Object
org.argosfields.persistence.PersistentEntity
org.argosfields.persistence.GameLog
- All Implemented Interfaces:
- net.sf.hibernate.Lifecycle, Serializable
- public class GameLog
- extends PersistentEntity
GameLog.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 |
GameLog
public GameLog()
getDate
public Date getDate()
- Returns:
getId
public long getId()
- Returns:
getOpponent
public Account getOpponent()
- Returns:
getResult
public GameResult getResult()
- Returns:
setDate
public void setDate(Date date)
- Parameters:
date -
setId
public void setId(long l)
- Parameters:
l -
setOpponent
public void setOpponent(Account account)
- Parameters:
account -
setResult
public void setResult(GameResult result)
- Parameters:
result -
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.