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.updatercatalog.business;
35
36 import java.util.ArrayList;
37 import java.util.List;
38
39
40
41
42
43 public class CatalogPluginEntry
44 {
45
46 private int _nReleaseId;
47 private String _strPluginName;
48 private String _strPluginLocale;
49 private String _strPluginDescription;
50 private String _strPluginAuthor;
51 private String _strUrlHomepage;
52 private String _strPluginVersion;
53 private String _strUrlDownload;
54 private String _strCoreVersionMin;
55 private String _strCoreVersionMax;
56 private List<ReleaseUpgrade> _listUpgrades = new ArrayList<ReleaseUpgrade>( );
57
58
59
60
61
62 public int getReleaseId( )
63 {
64 return _nReleaseId;
65 }
66
67
68
69
70
71 public void setReleaseId( int nReleaseId )
72 {
73 _nReleaseId = nReleaseId;
74 }
75
76
77
78
79
80 public String getPluginName( )
81 {
82 return _strPluginName;
83 }
84
85
86
87
88
89 public void setPluginName( String strPluginName )
90 {
91 _strPluginName = strPluginName;
92 }
93
94
95
96
97
98 public String getPluginLocale( )
99 {
100 return _strPluginLocale;
101 }
102
103
104
105
106
107 public void setPluginLocale( String strPluginLocale )
108 {
109 _strPluginLocale = strPluginLocale;
110 }
111
112
113
114
115
116 public String getPluginDescription( )
117 {
118 return _strPluginDescription;
119 }
120
121
122
123
124
125 public void setPluginDescription( String strPluginDescription )
126 {
127 _strPluginDescription = strPluginDescription;
128 }
129
130
131
132
133
134 public String getPluginAuthor( )
135 {
136 return _strPluginAuthor;
137 }
138
139
140
141
142
143 public void setPluginAuthor( String strPluginAuthor )
144 {
145 _strPluginAuthor = strPluginAuthor;
146 }
147
148
149
150
151
152 public String getUrlHomepage( )
153 {
154 return _strUrlHomepage;
155 }
156
157
158
159
160
161 public void setUrlHomepage( String strUrlHomepage )
162 {
163 _strUrlHomepage = strUrlHomepage;
164 }
165
166
167
168
169
170 public String getPluginVersion( )
171 {
172 return _strPluginVersion;
173 }
174
175
176
177
178
179 public void setPluginVersion( String strPluginVersion )
180 {
181 _strPluginVersion = strPluginVersion;
182 }
183
184
185
186
187
188 public String getUrlDownload( )
189 {
190 return _strUrlDownload;
191 }
192
193
194
195
196
197 public void setUrlDownload( String strUrlDownload )
198 {
199 _strUrlDownload = strUrlDownload;
200 }
201
202
203
204
205
206 public String getCoreVersionMin( )
207 {
208 return _strCoreVersionMin;
209 }
210
211
212
213
214
215 public void setCoreVersionMin( String strCoreVersionMin )
216 {
217 _strCoreVersionMin = strCoreVersionMin;
218 }
219
220
221
222
223
224 public String getCoreVersionMax( )
225 {
226 return _strCoreVersionMax;
227 }
228
229
230
231
232
233 public void setCoreVersionMax( String strCoreVersionMax )
234 {
235 _strCoreVersionMax = strCoreVersionMax;
236 }
237
238
239
240
241
242 public List<ReleaseUpgrade> getUpgrades( )
243 {
244 return _listUpgrades;
245 }
246
247
248
249
250
251 void addUpgrade( ReleaseUpgrade upgrade )
252 {
253 _listUpgrades.add( upgrade );
254 }
255 }