1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16 package org.supercsv.mock.dozer;
17
18 import java.util.List;
19
20
21
22
23 public class SurveyResponse {
24
25 private int age;
26
27 private Boolean consentGiven;
28
29 private List<Answer> answers;
30
31 public SurveyResponse() {
32 }
33
34 public SurveyResponse(final int age, final Boolean consentGiven, final List<Answer> answers) {
35 this.age = age;
36 this.consentGiven = consentGiven;
37 this.answers = answers;
38 }
39
40 public int getAge() {
41 return age;
42 }
43
44 public void setAge(int age) {
45 this.age = age;
46 }
47
48 public Boolean getConsentGiven() {
49 return consentGiven;
50 }
51
52 public void setConsentGiven(Boolean consentGiven) {
53 this.consentGiven = consentGiven;
54 }
55
56 public List<Answer> getAnswers() {
57 return answers;
58 }
59
60 public void setAnswers(List<Answer> answers) {
61 this.answers = answers;
62 }
63
64 @Override
65 public String toString() {
66 return String.format("SurveyResponse [age=%s, consentGiven=%s, answers=%s]", age, consentGiven, answers);
67 }
68
69 }