Class Answer


  • public class Answer
    extends Object
    Answer.
    Since:
    8.1.0
    Version:
    $Revision: 17592 $ $Date: 2015-07-17 11:19:32 -0300 (Fri, 17 Jul 2015) $
    • Constructor Detail

      • Answer

        public Answer()
    • Method Detail

      • getId

        public String getId()
        Returns the identifier.
        Returns:
        the identifier.
        Since:
        8.1.0
      • setId

        public void setId​(String id)
        Sets the identifier.
        Parameters:
        id - the identifier.
        Since:
        8.1.0
      • getDate

        public Date getDate()
        Get answer creation date
        Returns:
        a date
        Since:
        8.1.0
      • setDate

        public void setDate​(Date date)
        Set date of answer creation
        Parameters:
        date -
        Since:
        8.1.0
      • getAnswerValues

        public String getAnswerValues()
        Get json string with all answer values
        Returns:
        string with all answer values
        Since:
        8.1.0
      • setAnswerValues

        public void setAnswerValues​(String answerValues)
        Sets the json string with all answer values
        Since:
        8.1.0
      • getQuestionnaire

        public Questionnaire getQuestionnaire()
        Get this answer questionnaire
        Returns:
        Since:
        8.1.0
      • setQuestionnaire

        public void setQuestionnaire​(Questionnaire questionnaire)
        Set this answer questionnaire
        Parameters:
        questionnaire -
        Since:
        8.1.0
      • getUserId

        public String getUserId()
        Get user identifier
        Returns:
        Since:
        8.1.0
      • setUserId

        public void setUserId​(String userId)
        Set user identifier
        Parameters:
        userId -
        Since:
        8.1.0