Back to project page FaceTag-Android.
The source code is released under:
GNU General Public License
If you think the Android project FaceTag-Android 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 edu.grinnell.facetag.parse; /*from ww w .j a v a 2s .c o m*/ import java.util.HashMap; import java.util.List; import com.parse.ParseClassName; import com.parse.ParseObject; @ParseClassName("Game") public class Game extends ParseObject{ public Game() { // A default constructor is required. } public String getName() { return getString("name"); } public void setName(String name) { put("name", name); } public List<String> getParticipants(){ return getList("participants"); } public void setParticipants(List<String> participants){ put("participants", participants); } public void setPointsToWin(int ptw) { put("pointsToWin", ptw); } public int getPointsToWin() { return getInt("pointsToWin"); } public void setTimePerTurn(int tpt) { put("timePerTurn", tpt); } public int getTimePerTurn() { return getInt("timePerTurn"); } public void setScoreBoard(HashMap<String,Integer> scoreBoard) { put("scoreboard", scoreBoard); } public HashMap<String,Integer> getScoreBoard() { return (HashMap<String, Integer>) get("scoreboard"); } public HashMap<String, String> getPairings(){ return (HashMap<String, String>) get("pairings"); } }