package org.adaptlab.chpir.android.survey.Models;

import com.activeandroid.Model;
import com.activeandroid.annotation.Column;
import com.activeandroid.annotation.Table;

@Table(name = "Responses")
public class Response extends Model {
	
	@Column(name = "Question")
	private Question mQuestion;
	@Column(name = "Response")
	private String mResponse;
	@Column(name = "Survey")
	private Survey mSurvey;
	
	public Response() {
		super();
	}

	public Question getQuestion() {
		return mQuestion;
	}

	public void setQuestion(Question question) {
		mQuestion = question;
	}

	public String getResponse() {
		return mResponse;
	}

	public void setResponse(String response) {
		mResponse = response;
	}
	
	public void setSurvey(Survey survey) {
		mSurvey = survey;
	}
	
	public Survey getSurvey() {
		return mSurvey;
	}
}

@@ -394,16 +394,82 @@
 Survey;%0A
+%09@Column(name = %22Other_Response%22)%0A%09private String mOtherResponse;%0A
 %09%0A%09publi
@@ -872,10 +872,175 @@
 vey;%0A%09%7D%0A
+%09%0A%09public void setOtherResponse(String otherResponse) %7B%0A%09    mOtherResponse = otherResponse;%0A%09%7D%0A%09%0A%09public String getOtherResponse() %7B%0A%09    return mOtherResponse;%0A%09%7D%0A
 %7D%0A

Add other response field to response model