simulations.database.core
Class PlayersRanking

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

public class PlayersRanking
extends java.lang.Object


Constructor Summary
PlayersRanking(java.sql.ResultSet rs)
          Creates a new instance of PlayersRanking
 
Method Summary
 int getIdGame()
          Getter for property idGame.
 int getIdPlayer()
          Getter for property idPlayer.
 int getLastTurn()
          Getter for property lastTurn.
 int getRank()
          Getter for property rank.
 void setIdGame(int idGame)
          Setter for property idGame.
 void setIdPlayer(int idPlayer)
          Setter for property idPlayer.
 void setLastTurn(int lastTurn)
          Setter for property lastTurn.
 void setRank(int rank)
          Setter for property rank.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PlayersRanking

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

Method Detail

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.

getLastTurn

public int getLastTurn()
Getter for property lastTurn.

Returns:
Value of property lastTurn.

setLastTurn

public void setLastTurn(int lastTurn)
Setter for property lastTurn.

Parameters:
lastTurn - New value of property lastTurn.

getRank

public int getRank()
Getter for property rank.

Returns:
Value of property rank.

setRank

public void setRank(int rank)
Setter for property rank.

Parameters:
rank - New value of property rank.