Back to project page City-Outdoors-Android.
The source code is released under:
Copyright (c) 2012, Edinburgh Council All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are ...
If you think the Android project City-Outdoors-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 uk.co.jarofgreen.cityoutdoors.Model; /**/* w w w . j av a 2 s . com*/ * * @author James Baster <james@jarofgreen.co.uk> * @copyright City of Edinburgh Council & James Baster * @license Open Source under the 3-clause BSD License * @url https://github.com/City-Outdoors/City-Outdoors-Android */ public class FeatureCheckinQuestionPossibleAnswer { protected int id; protected String answer; public FeatureCheckinQuestionPossibleAnswer(int id) { super(); this.id = id; } public FeatureCheckinQuestionPossibleAnswer() { super(); } public int getId() { return id; } public void setId(int id) { this.id = id; } public void setId(String id) { if (id != null) this.id = Integer.parseInt(id); } public String getAnswer() { return answer; } public void setAnswer(String answer) { this.answer = answer; } }