Package it.unimib.unimibmodules.dto
Class AnswerDTO
java.lang.Object
it.unimib.unimibmodules.dto.AnswerDTO
DTO for Answer.
- Version:
- 0.4.1
- Author:
- Davide Costantini
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate StringSerialization of the text of the answer.private Set<CloseEndedAnswerDTO>Serialization of the list of close-ended answers related to this answer.private intSerialization of the id of the close-ended answer.private QuestionDTOSerialization of the question to which this answer belongs.private SurveyDTOSerialization of the survey to which this answer belongs.private UserDTOSerialization of the id of the user who created the answer. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
id
private int idSerialization of the id of the close-ended answer. -
answerText
Serialization of the text of the answer. -
userDTO
Serialization of the id of the user who created the answer. -
surveyDTO
Serialization of the survey to which this answer belongs. -
questionDTO
Serialization of the question to which this answer belongs. -
closeEndedAnswerDTOs
Serialization of the list of close-ended answers related to this answer.
-
-
Constructor Details
-
AnswerDTO
public AnswerDTO()
-