package perfectfit; import com.fasterxml.jackson.annotation.JsonAutoDetect; import com.fasterxml.jackson.annotation.JsonAutoDetect.Visibility; import tudelft.dialogmanager.answertypes.AnswerType; import tudelft.dialogmanager.stimuli.Stimulus; /** * Contains the stimulus and answer type */ @JsonAutoDetect(fieldVisibility = Visibility.ANY, getterVisibility = Visibility.NONE, setterVisibility = Visibility.NONE, isGetterVisibility = Visibility.NONE) public class StimAnswer { private final Stimulus stimulus; private final AnswerType answertype; public StimAnswer(Stimulus stimulus, AnswerType answertype) { this.stimulus = stimulus; this.answertype = answertype; } @Override public String toString() { return "StimAnswer[" + stimulus + "," + answertype + "]"; } }