Class Question

java.lang.Object
it.unimib.unimibmodules.model.Question

@Entity public class Question extends Object
Represents a question.
Version:
0.4.1
Author:
Khalil, Davide Costantini
  • Field Details

    • id

      private int id
      The id of the answer.
    • urlImage

      private String urlImage
      The image's url of the question.
    • text

      private String text
      The text of the question.
    • answer

      private Set<Answer> answer
      The answers of the question.
    • closeEndedAnswerSet

      private Set<CloseEndedAnswer> closeEndedAnswerSet
      The list of close-ended answers to the question.
    • category

      private Category category
      The category of the question.
    • user

      private User user
      The user who created the question.
    • surveyQuestions

      private Set<SurveyQuestions> surveyQuestions
      The surveys where the question is in.
    • questionType

      private QuestionType questionType
      The type of the question.
  • Constructor Details

    • Question

      public Question()
      Creates an empty question.