Line | |
---|
1 | package perfectfit;
|
---|
2 |
|
---|
3 | import com.fasterxml.jackson.annotation.JsonAutoDetect;
|
---|
4 | import com.fasterxml.jackson.annotation.JsonAutoDetect.Visibility;
|
---|
5 |
|
---|
6 | import tudelft.dialogmanager.answertypes.AnswerType;
|
---|
7 | import tudelft.dialogmanager.stimuli.Stimulus;
|
---|
8 |
|
---|
9 | /**
|
---|
10 | * Contains the stimulus and answer type
|
---|
11 | */
|
---|
12 | @JsonAutoDetect(fieldVisibility = Visibility.ANY, getterVisibility = Visibility.NONE, setterVisibility = Visibility.NONE, isGetterVisibility = Visibility.NONE)
|
---|
13 | public class StimAnswer {
|
---|
14 | private final Stimulus stimulus;
|
---|
15 | private final AnswerType answertype;
|
---|
16 |
|
---|
17 | public StimAnswer(Stimulus stimulus, AnswerType answertype) {
|
---|
18 | this.stimulus = stimulus;
|
---|
19 | this.answertype = answertype;
|
---|
20 | }
|
---|
21 |
|
---|
22 | @Override
|
---|
23 | public String toString() {
|
---|
24 | return "StimAnswer[" + stimulus + "," + answertype + "]";
|
---|
25 | }
|
---|
26 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.