1 package ch.ige.edossier.web.vo;
2
3 import java.io.Serializable;
4 import java.sql.Date;
5
6
14 public class NewsletterVO implements Serializable
15 {
16 private int interceptionId = 0;
17 private int dossierId = 0;
18 private String languageCd = null;
19 private int stateId = 0;
20 private String titel = null;
21 private String description = null;
22 private String guard_nr = null;
23 private String reference = null;
24 private Date expireDat = null;
25 private String email = null;
26 private String detailMsg = null;
27
28
32 public String toString()
33 {
34 StringBuffer buf = new StringBuffer();
35
36 buf.append( " interceptionId = <" + this.interceptionId + ">\n" );
37 buf.append( " dossierId = <" + this.dossierId + ">\n" );
38 buf.append( " languageCd = <" + this.languageCd + ">\n" );
39 buf.append( " stateId = <" + this.stateId + ">\n" );
40 buf.append( " titel = <" + this.titel + ">\n" );
41 buf.append( " description = <" + this.description + ">\n" );
42 buf.append( " guard_nr = <" + this.guard_nr + ">\n" );
43 buf.append( " reference = <" + this.reference + ">\n" );
44 buf.append( " expireDat = <" + this.expireDat + "> \n" );
45 buf.append( " email = <" + this.email + "> \n" );
46
47 return buf.toString();
48 }
49
50
53
54 public void appendDetailMsg( String msg )
55 {
56 StringBuffer buf = new StringBuffer();
57 buf.append( this.detailMsg );
58 buf.append( "\r\n" );
59 buf.append( msg );
60 this.detailMsg = buf.toString();
61 }
62
63 public String getDescription()
64 {
65 return description;
66 }
67
68 public int getDossierId()
69 {
70 return dossierId;
71 }
72
73 public String getEmail()
74 {
75 return email;
76 }
77
78 public Date getExpireDat()
79 {
80 return expireDat;
81 }
82
83 public String getGuard_nr()
84 {
85 return guard_nr;
86 }
87
88 public int getInterceptionId()
89 {
90 return interceptionId;
91 }
92
93 public String getReference()
94 {
95 return reference;
96 }
97
98 public int getStateId()
99 {
100 return stateId;
101 }
102
103 public String getTitel()
104 {
105 return titel;
106 }
107
108 public void setDescription( String description )
109 {
110 this.description = description;
111 }
112
113 public void setDossierId( int dossierId )
114 {
115 this.dossierId = dossierId;
116 }
117
118 public void setEmail( String email )
119 {
120 this.email = email;
121 }
122
123 public void setExpireDat( Date expireDat )
124 {
125 this.expireDat = expireDat;
126 }
127
128 public void setGuard_nr( String guard_nr )
129 {
130 this.guard_nr = guard_nr;
131 }
132
133 public void setInterceptionId( int interceptionId )
134 {
135 this.interceptionId = interceptionId;
136 }
137
138 public void setReference( String reference )
139 {
140 this.reference = reference;
141 }
142
143 public void setStateId( int stateId )
144 {
145 this.stateId = stateId;
146 }
147
148 public void setTitel( String titel )
149 {
150 this.titel = titel;
151 }
152
153 public String getLanguageCd()
154 {
155 return languageCd;
156 }
157
158 public void setLanguageCd( String languageCd )
159 {
160 this.languageCd = languageCd;
161 }
162
163 public String getDetailMsg()
164 {
165 return detailMsg;
166 }
167
168 public void setDetailMsg( String detailMsg )
169 {
170 this.detailMsg = detailMsg;
171 }
172 }
173