1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34 package fr.paris.lutece.plugins.broadcastproxy.business;
35
36 import javax.validation.constraints.Size;
37 import javax.validation.constraints.NotEmpty;
38 import java.io.Serializable;
39
40
41
42 public class SubscriptionLink implements Serializable
43 {
44 private static final long serialVersionUID = 1L;
45
46
47 private int _nId;
48
49 @NotEmpty( message = "#i18n{broadcastproxy.validation.subscriptionlink.Label.notEmpty}" )
50 @Size( max = 255 , message = "#i18n{broadcastproxy.validation.subscriptionlink.Label.size}" )
51 private String _strLabel;
52
53 private String _strPictogramme;
54
55 @NotEmpty( message = "#i18n{broadcastproxy.validation.subscriptionlink.Description.notEmpty}" )
56 private String _strDescription;
57
58 private String _strFrequency;
59
60 private String _strGroup;
61
62 private int _nGroupId;
63
64 private int _nSubscriptionId;
65
66 private int _nInterestId;
67
68 private boolean _nEnabled;
69
70
71
72
73
74 public int getId( )
75 {
76 return _nId;
77 }
78
79
80
81
82
83 public void setId( int nId )
84 {
85 _nId = nId;
86 }
87
88
89
90
91
92 public String getLabel( )
93 {
94 return _strLabel;
95 }
96
97
98
99
100
101 public void setLabel( String strLabel )
102 {
103 _strLabel = strLabel;
104 }
105
106
107
108
109
110
111 public String getPictogramme( )
112 {
113 return _strPictogramme;
114 }
115
116
117
118
119
120 public void setPictogramme( String strPictogramme )
121 {
122 _strPictogramme = strPictogramme;
123 }
124
125
126
127
128
129
130 public String getDescription( )
131 {
132 return _strDescription;
133 }
134
135
136
137
138
139 public void setDescription( String strDescription )
140 {
141 _strDescription = strDescription;
142 }
143
144
145
146
147 public String getFrequency( )
148 {
149 return _strFrequency;
150 }
151
152
153
154
155 public void setFrequency( String strFrequency )
156 {
157 this._strFrequency = strFrequency;
158 }
159
160
161
162
163
164 public String getGroup( )
165 {
166 return _strGroup;
167 }
168
169
170
171
172
173 public void setGroup( String strGroup )
174 {
175 _strGroup = strGroup;
176 }
177
178
179
180
181 public int getGroupId( )
182 {
183 return _nGroupId;
184 }
185
186
187
188
189 public void setGroupId( int _nGroupId )
190 {
191 this._nGroupId = _nGroupId;
192 }
193
194
195
196
197
198 public int getSubscriptionId( )
199 {
200 return _nSubscriptionId;
201 }
202
203
204
205
206
207 public void setSubscriptionId( int nSubscriptionId )
208 {
209 _nSubscriptionId = nSubscriptionId;
210 }
211
212
213
214
215
216 public int getInterestId( )
217 {
218 return _nInterestId;
219 }
220
221
222
223
224 public void setInterestId( int nInterestId )
225 {
226 this._nInterestId = nInterestId;
227 }
228
229
230
231
232 public boolean isEnabled( )
233 {
234 return _nEnabled;
235 }
236
237
238
239
240 public void setEnabled( boolean nEnabled )
241 {
242 this._nEnabled = nEnabled;
243 }
244
245 }