simulations.database.core
Class Player

java.lang.Object
  extended by simulations.database.core.Player

public class Player
extends java.lang.Object


Constructor Summary
Player(java.sql.ResultSet rs)
          Creates a new instance of Player
 
Method Summary
 int getIdGame()
          Getter for property idGame.
 int getIdPlayer()
          Getter for property idPlayer.
 int getIdStrategy()
          Getter for property idStrategy.
 int getLastTurn(Communication com)
           
 java.lang.String getName()
          Getter for property name.
 void setIdGame(int idGame)
          Setter for property idGame.
 void setIdPlayer(int idPlayer)
          Setter for property idPlayer.
 void setIdStrategy(int idStrategy)
          Setter for property idStrategy.
 void setName(java.lang.String name)
          Setter for property name.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Player

public Player(java.sql.ResultSet rs)
Creates a new instance of Player

Method Detail

getLastTurn

public int getLastTurn(Communication com)

toString

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

getIdGame

public int getIdGame()
Getter for property idGame.

Returns:
Value of property idGame.

setIdGame

public void setIdGame(int idGame)
Setter for property idGame.

Parameters:
idGame - New value of property idGame.

getIdPlayer

public int getIdPlayer()
Getter for property idPlayer.

Returns:
Value of property idPlayer.

setIdPlayer

public void setIdPlayer(int idPlayer)
Setter for property idPlayer.

Parameters:
idPlayer - New value of property idPlayer.

getIdStrategy

public int getIdStrategy()
Getter for property idStrategy.

Returns:
Value of property idStrategy.

setIdStrategy

public void setIdStrategy(int idStrategy)
Setter for property idStrategy.

Parameters:
idStrategy - New value of property idStrategy.

getName

public java.lang.String getName()
Getter for property name.

Returns:
Value of property name.

setName

public void setName(java.lang.String name)
Setter for property name.

Parameters:
name - New value of property name.