1 package ch.ige.edossier.web.vo;
2
3 import java.io.Serializable;
4 import java.sql.Date;
5
6
14 public class AnswerVO implements Serializable
15 {
16 private int answerId = 0;
17 private int interceptionId = 0;
18 private String subject = null;
19 private String maEmail = null;
20 private String name = null;
21 private String email = null;
22 private String telNr = null;
23 private String text = null; private String standardtext = null; private String fileName = null;
26 private byte[] attachement = null;
27 private String mimeType = null;
28 private Date createdDat = null;
29 private Date changedDat = null;
30
31
35 public String toString()
36 {
37 StringBuffer buf = new StringBuffer();
38 buf.append( " answerId = <" + this.answerId + "> \n" );
39 buf.append( " interceptionId = <" + this.interceptionId + "> \n" );
40 buf.append( " subject = <" + this.subject + "> \n" );
41 buf.append( " maEmail = <" + this.maEmail + "> \n" );
42 buf.append( " name = <" + this.name + "> \n" );
43 buf.append( " email = <" + this.email + "> \n" );
44 buf.append( " text = <" + this.text + "> \n" );
45 buf.append( " standardtext = <" + this.standardtext + "> \n" );
46 buf.append( " attachement = <" + this.attachement + "> \n" );
47 buf.append( " fileName = <" + this.fileName + "> \n" );
48 buf.append( " mimeType = <" + this.mimeType + "> \n" );
49 buf.append( " createdDat = <" + this.createdDat + "> \n" );
50 buf.append( " changedDat = <" + this.changedDat + "> \n" );
51 return buf.toString();
52 }
53
54
57
58 public int getAnswerId()
59 {
60 return answerId;
61 }
62
63 public void setAnswerId( int answerId )
64 {
65 this.answerId = answerId;
66 }
67
68 public int getInterceptionId()
69 {
70 return interceptionId;
71 }
72
73 public void setInterceptionId( int interceptionId )
74 {
75 this.interceptionId = interceptionId;
76 }
77
78 public String getName()
79 {
80 return name;
81 }
82
83 public void setName( String name )
84 {
85 this.name = name;
86 }
87
88 public String getEmail()
89 {
90 return email;
91 }
92
93 public void setEmail( String email )
94 {
95 this.email = email;
96 }
97
98 public String getTelNr()
99 {
100 return telNr;
101 }
102
103 public void setTelNr( String telNr )
104 {
105 this.telNr = telNr;
106 }
107
108 public String getText()
109 {
110 return text;
111 }
112
113 public void setText( String text )
114 {
115 this.text = text;
116 }
117
118 public byte[] getAttachement()
119 {
120 return attachement;
121 }
122
123 public void setAttachement( byte[] attachement )
124 {
125 this.attachement = attachement;
126 }
127
128 public Date getChangedDat()
129 {
130 return changedDat;
131 }
132
133 public Date getCreatedDat()
134 {
135 return createdDat;
136 }
137
138 public void setChangedDat( Date changedDat )
139 {
140 this.changedDat = changedDat;
141 }
142
143 public void setCreatedDat( Date createdDat )
144 {
145 this.createdDat = createdDat;
146 }
147
148 public String getStandardtext()
149 {
150 return standardtext;
151 }
152
153 public void setStandardtext( String standardtext )
154 {
155 this.standardtext = standardtext;
156 }
157
158 public String getMaEmail()
159 {
160 return maEmail;
161 }
162
163 public void setMaEmail( String maEmail )
164 {
165 this.maEmail = maEmail;
166 }
167
168 public String getSubject()
169 {
170 return subject;
171 }
172
173 public void setSubject( String subject )
174 {
175 this.subject = subject;
176 }
177
178 public String getFileName()
179 {
180 return fileName;
181 }
182
183 public String getMimeType()
184 {
185 return mimeType;
186 }
187
188 public void setMimeType( String mimeType )
189 {
190 this.mimeType = mimeType;
191 }
192
193 public void setFileName( String fileName )
194 {
195 this.fileName = fileName;
196 }
197 }
198