chesspresso.game
Class GameModel

java.lang.Object
  |
  +--chesspresso.game.GameModel

public class GameModel
extends java.lang.Object

Version:
$Revision: 1.1 $
Author:
Bernhard Seybold

Constructor Summary
GameModel()
           
GameModel(java.io.DataInput in, int headerMode, int movesMode)
           
GameModel(GameHeaderModel headerModel, GameMoveModel moveModel)
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 GameHeaderModel getHeaderModel()
           
 GameMoveModel getMoveModel()
           
 int hashCode()
           
 void load(java.io.DataInput in, int headerMode, int movesMode)
           
 void save(java.io.DataOutput out, int headerMode, int movesMode)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

GameModel

public GameModel()

GameModel

public GameModel(GameHeaderModel headerModel,
                 GameMoveModel moveModel)

GameModel

public GameModel(java.io.DataInput in,
                 int headerMode,
                 int movesMode)
          throws java.io.IOException
Method Detail

getHeaderModel

public GameHeaderModel getHeaderModel()

getMoveModel

public GameMoveModel getMoveModel()

load

public void load(java.io.DataInput in,
                 int headerMode,
                 int movesMode)
          throws java.io.IOException
java.io.IOException

save

public void save(java.io.DataOutput out,
                 int headerMode,
                 int movesMode)
          throws java.io.IOException
java.io.IOException

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object