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
35 package fr.paris.lutece.plugins.identitystore.modules.cnicertifier.business;
36
37 import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
38 import com.fasterxml.jackson.annotation.JsonProperty;
39 import java.io.Serializable;
40
41
42
43
44
45 @JsonIgnoreProperties( ignoreUnknown = true )
46 public class MRZData implements Serializable
47 {
48
49 private String _strId;
50 private String _strCountry;
51 private String _strLastName;
52 private String _strAdmCode;
53 private int _nEmitYear;
54 private int _nEmitMonth;
55 private String _strAdmCode2;
56 private int _nEmitCode;
57 private int _nChecksumEmit;
58 private String _strFirstName;
59 private int _nBirthYear;
60 private int _nBirthMonth;
61 private int _nBirthDay;
62 private int _nChecksumBirth;
63 private String _strSex;
64 private int _nChecksum;
65
66
67
68
69
70
71 public String getId( )
72 {
73 return _strId;
74 }
75
76
77
78
79
80
81
82 public void setId( String strId )
83 {
84 _strId = strId;
85 }
86
87
88
89
90
91
92 public String getCountry( )
93 {
94 return _strCountry;
95 }
96
97
98
99
100
101
102
103 public void setCountry( String strCountry )
104 {
105 _strCountry = strCountry;
106 }
107
108
109
110
111
112
113 public String getLastName( )
114 {
115 return _strLastName;
116 }
117
118
119
120
121
122
123
124 @JsonProperty( "last_name" )
125 public void setLastName( String strLastName )
126 {
127 _strLastName = strLastName;
128 }
129
130
131
132
133
134
135 public String getAdmCode( )
136 {
137 return _strAdmCode;
138 }
139
140
141
142
143
144
145
146 @JsonProperty( "adm_code" )
147 public void setAdmCode( String strAdmCode )
148 {
149 _strAdmCode = strAdmCode;
150 }
151
152
153
154
155
156
157 public int getEmitYear( )
158 {
159 return _nEmitYear;
160 }
161
162
163
164
165
166
167
168 @JsonProperty( "emission_year" )
169 public void setEmitYear( int nEmitYear )
170 {
171 _nEmitYear = nEmitYear;
172 }
173
174
175
176
177
178
179 public int getEmitMonth( )
180 {
181 return _nEmitMonth;
182 }
183
184
185
186
187
188
189
190 @JsonProperty( "emission_month" )
191 public void setEmitMonth( int nEmitMonth )
192 {
193 _nEmitMonth = nEmitMonth;
194 }
195
196
197
198
199
200
201 public String getAdmCode2( )
202 {
203 return _strAdmCode2;
204 }
205
206
207
208
209
210
211
212 @JsonProperty( "adm_code2" )
213 public void setAdmCode2( String strAdmCode2 )
214 {
215 _strAdmCode2 = strAdmCode2;
216 }
217
218
219
220
221
222
223 public int getEmitCode( )
224 {
225 return _nEmitCode;
226 }
227
228
229
230
231
232
233
234 @JsonProperty( "emission_code" )
235 public void setEmitCode( int nEmitCode )
236 {
237 _nEmitCode = nEmitCode;
238 }
239
240
241
242
243
244
245 public int getChecksumEmit( )
246 {
247 return _nChecksumEmit;
248 }
249
250
251
252
253
254
255
256 @JsonProperty( "checksum_emission" )
257 public void setChecksumEmit( int nChecksumEmit )
258 {
259 _nChecksumEmit = nChecksumEmit;
260 }
261
262
263
264
265
266
267 public String getFirstName( )
268 {
269 return _strFirstName;
270 }
271
272
273
274
275
276
277
278 @JsonProperty( "first_name" )
279 public void setFirstName( String strFirstName )
280 {
281 _strFirstName = strFirstName;
282 }
283
284
285
286
287
288
289 public int getBirthYear( )
290 {
291 return _nBirthYear;
292 }
293
294
295
296
297
298
299
300 @JsonProperty( "birth_year" )
301 public void setBirthYear( int nBirthYear )
302 {
303 _nBirthYear = nBirthYear;
304 }
305
306
307
308
309
310
311 public int getBirthMonth( )
312 {
313 return _nBirthMonth;
314 }
315
316
317
318
319
320
321
322 @JsonProperty( "birth_month" )
323 public void setBirthMonth( int nBirthMonth )
324 {
325 _nBirthMonth = nBirthMonth;
326 }
327
328
329
330
331
332
333 public int getBirthDay( )
334 {
335 return _nBirthDay;
336 }
337
338
339
340
341
342
343
344 @JsonProperty( "birth_day" )
345 public void setBirthDay( int nBirthDay )
346 {
347 _nBirthDay = nBirthDay;
348 }
349
350
351
352
353
354
355 public int getChecksumBirth( )
356 {
357 return _nChecksumBirth;
358 }
359
360
361
362
363
364
365
366 @JsonProperty( "checksum_birth" )
367 public void setChecksumBirth( int nChecksumBirth )
368 {
369 _nChecksumBirth = nChecksumBirth;
370 }
371
372
373
374
375
376
377 public String getSex( )
378 {
379 return _strSex;
380 }
381
382
383
384
385
386
387
388 public void setSex( String strSex )
389 {
390 _strSex = strSex;
391 }
392
393
394
395
396
397
398 public int getChecksum( )
399 {
400 return _nChecksum;
401 }
402
403
404
405
406
407
408
409 public void setChecksum( int nChecksum )
410 {
411 _nChecksum = nChecksum;
412 }
413 }