Package org.motechproject.mots.domain
Class MultipleChoiceQuestionLog
- java.lang.Object
-
- org.motechproject.mots.domain.BaseEntity
-
- org.motechproject.mots.domain.BaseTimestampedEntity
-
- org.motechproject.mots.domain.CallFlowElementLog
-
- org.motechproject.mots.domain.MultipleChoiceQuestionLog
-
@Entity public class MultipleChoiceQuestionLog extends CallFlowElementLog
This class represents an answer forMultipleChoiceQuestion
. Also it tracks number of attempts.
-
-
Constructor Summary
Constructors Constructor Description MultipleChoiceQuestionLog(java.time.LocalDateTime startDate, java.time.LocalDateTime endDate, MultipleChoiceQuestion question, Choice choice, java.lang.Integer numberOfAttempts)
Create new Multiple Choice Question Log.
-
-
-
Constructor Detail
-
MultipleChoiceQuestionLog
public MultipleChoiceQuestionLog(java.time.LocalDateTime startDate, java.time.LocalDateTime endDate, MultipleChoiceQuestion question, Choice choice, java.lang.Integer numberOfAttempts)
Create new Multiple Choice Question Log.- Parameters:
startDate
- date when question startedendDate
- end date od the questionquestion
- question that was responded tochoice
- chosen responsenumberOfAttempts
- number of times this question was listened
-
-