Class Answer


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

      Constructors 
      Constructor Description
      Answer()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getAnswerValues()
      Get json string with all answer values
      java.util.Date getDate()
      Get answer creation date
      java.lang.String getId()
      Returns the identifier.
      Questionnaire getQuestionnaire()
      Get this answer questionnaire
      java.lang.String getUserId()
      Get user identifier
      void setAnswerValues​(java.lang.String answerValues)
      Sets the json string with all answer values
      void setDate​(java.util.Date date)
      Set date of answer creation
      void setId​(java.lang.String id)
      Sets the identifier.
      void setQuestionnaire​(Questionnaire questionnaire)
      Set this answer questionnaire
      void setUserId​(java.lang.String userId)
      Set user identifier
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Answer

        public Answer()
    • Method Detail

      • getId

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

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

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

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

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

        public void setAnswerValues​(java.lang.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 java.lang.String getUserId()
        Get user identifier
        Returns:
        Since:
        8.1.0
      • setUserId

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