org.argosfields.persistence
Class GameLog

java.lang.Object
  extended byorg.argosfields.persistence.PersistentEntity
      extended byorg.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

Field Summary
 
Fields inherited from interface net.sf.hibernate.Lifecycle
NO_VETO, VETO
 
Constructor Summary
GameLog()
           
 
Method Summary
 boolean equals(Object obj)
           
 Date getDate()
           
 long getId()
           
 Account getOpponent()
           
 GameResult getResult()
           
 int hashCode()
           
 boolean onSave(net.sf.hibernate.Session session)
           
 void setDate(Date date)
           
 void setId(long l)
           
 void setOpponent(Account account)
           
 void setResult(GameResult result)
           
 String toString()
           
 
Methods inherited from class org.argosfields.persistence.PersistentEntity
onDelete, onLoad, onUpdate
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

GameLog

public GameLog()
Method Detail

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.