Back to project page Game-of-thrones-trivia.
The source code is released under:
MIT License
If you think the Android project Game-of-thrones-trivia listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.GameOfThrones.Trivia.core; /* ww w.ja v a2 s .co m*/ /** * Score that a user obtain at the end of a game. * * @author andre * */ public class HighScore { /** unique identifier */ protected int id; /** date the scoreView was obtained */ protected String date; /** numeric value of scoreView */ protected int score; /** * Construtor * * @param id * - unique identifier * @param date * - date the scoreView was obtained * @param scoreView * - int - value of scoreView */ public HighScore(int id, String date, int score) { this.id = id; this.date = date; this.score = score; } /** * id getter * * @return */ public int getId() { return id; } /** * id setter * * @param id */ public void setId(int id) { this.id = id; } /** * date getter * * @return */ public String getDate() { return date; } /** * date setter * * @param date */ public void setDate(String date) { this.date = date; } /** * scoreView getter * * @return */ public int getScore() { return score; } /** * scoreView setter * * @param scoreView */ public void setScore(int score) { this.score = score; } /* * (non-Javadoc) * * @see java.lang.Object#toString() */ @Override public String toString() { return "Entry=" + id + ", date=" + date + ", scoreView=" + score; } }