//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.4-2 
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> 
// Any modifications to this file will be lost upon recompilation of the source schema. 
// Generated on: 2015.06.22 at 12:17:16 PM MDT 
//


package gov.va.med.cds.template.generated.surveyscommon;

import gov.va.med.cds.template.generated.surveys.PSSurveyQuestionAndAnswer;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlSeeAlso;
import javax.xml.bind.annotation.XmlType;


/**
 * <p>Java class for SurveyQuestionAndAnswer complex type.
 * 
 * <p>The following schema fragment specifies the expected content contained within this class.
 * 
 * <pre>
 * &lt;complexType name="SurveyQuestionAndAnswer">
 *   &lt;complexContent>
 *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       &lt;sequence>
 *         &lt;element name="questionNumber" type="{SurveysCommon}Question"/>
 *         &lt;element name="answer" type="{SurveysCommon}Answer" minOccurs="0"/>
 *       &lt;/sequence>
 *     &lt;/restriction>
 *   &lt;/complexContent>
 * &lt;/complexType>
 * </pre>
 * 
 * 
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "SurveyQuestionAndAnswer", propOrder = {
    "questionNumber",
    "answer",
    "surveyChoice",
    "id"
})
@XmlSeeAlso({
    PSSurveyQuestionAndAnswer.class,
    SurveyQuestionAndAnswerWithScore.class
})
public class SurveyQuestionAndAnswer {

    @XmlElement(required = true)
    protected Integer questionNumber;
    protected Integer answer;
    protected SurveyChoice surveyChoice;
    protected Long id;

    /**
     * Gets the value of the questionNumber property.
     * 
     * @return
     *     possible object is
     *     {@link Integer }
     *     
     */
    public Integer getQuestionNumber() {
        return questionNumber;
    }

    /**
     * Sets the value of the questionNumber property.
     * 
     * @param value
     *     allowed object is
     *     {@link Integer }
     *     
     */
    public void setQuestionNumber(Integer value) {
        this.questionNumber = value;
    }

    /**
     * Gets the value of the answer property.
     * 
     * @return
     *     possible object is
     *     {@link Integer }
     *     
     */
    public Integer getAnswer() {
        return answer;
    }

    /**
     * Sets the value of the answer property.
     * 
     * @param value
     *     allowed object is
     *     {@link Integer }
     *     
     */
    public void setAnswer(Integer value) {
        this.answer = value;
    }
    
    public SurveyChoice getSurveyChoice() {
        return surveyChoice;
    }

   public void setSurveyChoice(SurveyChoice value) {
        this.surveyChoice = value;
    }
   
   public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

}
