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 String
Serialization of the text of the answer.private Set<CloseEndedAnswerDTO>
Serialization of the list of close-ended answers related to this answer.private int
Serialization of the id of the close-ended answer.private QuestionDTO
Serialization of the question to which this answer belongs.private SurveyDTO
Serialization of the survey to which this answer belongs.private UserDTO
Serialization 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()
-