szd.DB
Class Player

java.lang.Object
  extended by szd.DB.Player

public class Player
extends java.lang.Object

A játékban elért eredményeket tartalmazó adatbázis egy rekordját reprezentáló osztály.

Author:
Hucker Dávid

Field Summary
private  int beginnerGamesPlayed
           
private  int beginnerGamesWon
           
private  int hardGamesPlayed
           
private  int hardGamesWon
           
private  int normalGamesPlayed
           
private  int normalGamesWon
           
private  int playerID
           
private  java.lang.String playerName
           
private  int professionalGamesPlayed
           
private  int professionalGamesWon
           
private  int twoPlayerGamesPlayed
           
private  int twoPlayerGamesWon
           
 
Constructor Summary
Player(int playerID, java.lang.String playerName, int beginnerGamesPlayed, int normalGamesPlayed, int hardGamesPlayed, int professionalGamesPlayed, int beginnerGamesWon, int normalGamesWon, int hardGamesWon, int professionalGamesWon, int twoPlayerGamesPlayed, int twoPlayerGamesWon)
           
Player(java.lang.String playerName)
           
 
Method Summary
 int getBeginnerGamesPlayed()
           
 int getBeginnerGamesWon()
           
 int getHardGamesPlayed()
           
 int getHardGamesWon()
           
 int getNormalGamesPlayed()
           
 int getNormalGamesWon()
           
 int getPlayerID()
           
 java.lang.String getPlayerName()
           
 int getProfessionalGamesPlayed()
           
 int getProfessionalGamesWon()
           
 int getTwoPlayerGamesPlayed()
           
 int getTwoPlayerGamesWon()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

playerID

private int playerID

playerName

private java.lang.String playerName

beginnerGamesPlayed

private int beginnerGamesPlayed

normalGamesPlayed

private int normalGamesPlayed

hardGamesPlayed

private int hardGamesPlayed

professionalGamesPlayed

private int professionalGamesPlayed

beginnerGamesWon

private int beginnerGamesWon

normalGamesWon

private int normalGamesWon

hardGamesWon

private int hardGamesWon

professionalGamesWon

private int professionalGamesWon

twoPlayerGamesPlayed

private int twoPlayerGamesPlayed

twoPlayerGamesWon

private int twoPlayerGamesWon
Constructor Detail

Player

public Player(java.lang.String playerName)
Parameters:
playerName -

Player

public Player(int playerID,
              java.lang.String playerName,
              int beginnerGamesPlayed,
              int normalGamesPlayed,
              int hardGamesPlayed,
              int professionalGamesPlayed,
              int beginnerGamesWon,
              int normalGamesWon,
              int hardGamesWon,
              int professionalGamesWon,
              int twoPlayerGamesPlayed,
              int twoPlayerGamesWon)
Method Detail

getPlayerName

public java.lang.String getPlayerName()

toString

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

getPlayerID

public int getPlayerID()

getBeginnerGamesPlayed

public int getBeginnerGamesPlayed()

getNormalGamesPlayed

public int getNormalGamesPlayed()

getHardGamesPlayed

public int getHardGamesPlayed()

getProfessionalGamesPlayed

public int getProfessionalGamesPlayed()

getBeginnerGamesWon

public int getBeginnerGamesWon()

getNormalGamesWon

public int getNormalGamesWon()

getHardGamesWon

public int getHardGamesWon()

getProfessionalGamesWon

public int getProfessionalGamesWon()

getTwoPlayerGamesPlayed

public int getTwoPlayerGamesPlayed()

getTwoPlayerGamesWon

public int getTwoPlayerGamesWon()