Class Survey

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

@Entity public class Survey extends Object
Represents a survey.
Version:
0.4.1
Author:
Luca Milazzo
  • Field Details

    • id

      private int id
      The id of the survey.
    • user

      private User user
      The user who created the survey.
    • creationDate

      private Date creationDate
      The creation date of the survey.
    • creationDateFormat

      private final SimpleDateFormat creationDateFormat
      The creationDate format.
    • name

      private String name
      The name of the survey.
    • surveyQuestions

      private Set<SurveyQuestions> surveyQuestions
      The questions of the survey.
    • answer

      private Set<Answer> answer
      The answer of the survey.
  • Constructor Details

    • Survey

      public Survey()
  • Method Details