Back to project page game_guess_lib.
The source code is released under:
MIT License
If you think the Android project game_guess_lib 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.wkmf.guess.lib.structure; //ww w. j ava2 s . c o m import android.graphics.drawable.Drawable; import org.codehaus.jackson.annotate.JsonIgnoreProperties; import org.codehaus.jackson.annotate.JsonProperty; /** * Created by ernestofndz on 19/02/14. */ @JsonIgnoreProperties(ignoreUnknown = true) public class GuessConfig{ public static final String BDD = "GuessGameBDD"; // la bdd es la misma para toda la saga @JsonProperty("id") private String id; @JsonProperty("name") private String name; @JsonProperty("nameBackgroundColor") private String nameBackgroundColor; @JsonProperty("nameTextColor") private String nameTextColor; @JsonProperty("tagBackgroundColor") private String tagBackgroundColor; @JsonProperty("tagTextColor") private String tagTextColor; @JsonProperty("tagDoneBackgroundColor") private String tagDoneBackgroundColor; @JsonProperty("tagDoneTextColor") private String tagDoneTextColor; @JsonProperty("theme") private int theme; @JsonProperty("base64") private String base64; @JsonProperty("level_type") private GuessLevelType guessLevelType; // constructor public GuessConfig( String id, String name, String nameBackgroundColor, String nameTextColor, String tagBackgroundColor, String tagTextColor, String tagDoneBackgroundColor, String tagDoneTextColor, int theme, String base64, GuessLevelType guessLevelType ) { this.id = id; this.name = name; this.nameBackgroundColor = nameBackgroundColor; this.nameTextColor = nameTextColor; this.tagBackgroundColor = tagBackgroundColor; this.tagTextColor = tagTextColor; this.tagDoneBackgroundColor = tagDoneBackgroundColor; this.tagDoneTextColor = tagDoneTextColor; this.theme = theme; this.base64 = base64; this.guessLevelType = guessLevelType; } public GuessConfig(){} // get/set public String getId() { return id; } public void setId(String id) { this.id = id; } public String getName() { return name; } public void setName(String name) { this.name = name; } public String getTagBackgroundColor() { return tagBackgroundColor; } public void setTagBackgroundColor(String tagBackgroundColor) { this.tagBackgroundColor = tagBackgroundColor; } public String getTagTextColor() { return tagTextColor; } public void setTagTextColor(String tagTextColor) { this.tagTextColor = tagTextColor; } public int getTheme() { return theme; } public void setTheme(int theme) { this.theme = theme; } public String getNameBackgroundColor() { return nameBackgroundColor; } public void setNameBackgroundColor(String nameBackgroundColor) { this.nameBackgroundColor = nameBackgroundColor; } public String getNameTextColor() { return nameTextColor; } public void setNameTextColor(String nameTextColor) { this.nameTextColor = nameTextColor; } public String getTagDoneBackgroundColor() { return tagDoneBackgroundColor; } public void setTagDoneBackgroundColor(String tagDoneBackgroundColor) { this.tagDoneBackgroundColor = tagDoneBackgroundColor; } public String getTagDoneTextColor() { return tagDoneTextColor; } public void setTagDoneTextColor(String tagDoneTextColor) { this.tagDoneTextColor = tagDoneTextColor; } public String getBase64() { return base64; } public GuessLevelType getGuessLevelType() { return guessLevelType; } }