Class PlayerStat

java.lang.Object
com.fyp.tauceti.entity.PlayerStat

@Entity public class PlayerStat extends Object
The PlayerStat entity maps to the PLAYER_STAT database table
  • Constructor Details

    • PlayerStat

      public PlayerStat()
    • PlayerStat

      public PlayerStat(Game game, Long killCount, Long deathCount, Long totalScore, Long totalPlayTime, Long totalSessions)
  • Method Details

    • getId

      public Long getId()
    • setId

      public void setId(Long id)
    • getGame

      public Game getGame()
    • setGame

      public void setGame(Game game)
    • getKillCount

      public Long getKillCount()
    • setKillCount

      public void setKillCount(Long killCount)
    • getDeathCount

      public Long getDeathCount()
    • setDeathCount

      public void setDeathCount(Long deathCount)
    • getTotalScore

      public Long getTotalScore()
    • setTotalScore

      public void setTotalScore(Long totalScore)
    • getTotalPlayTime

      public Long getTotalPlayTime()
    • setTotalPlayTime

      public void setTotalPlayTime(Long totalPlayTime)
    • getTotalSessions

      public Long getTotalSessions()
    • setTotalSessions

      public void setTotalSessions(Long totalSessions)
    • getPlayer

      public Player getPlayer()
    • setPlayer

      public void setPlayer(Player player)
    • toString

      public String toString()
      Overrides:
      toString in class Object