Subversion Repositories Integrator Subversion

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
695 blopes 1
 
2
package br.com.swconsultoria.nfe.schema.retEnvEventoAtorInteressado;
3
 
4
import javax.xml.bind.annotation.XmlAccessType;
5
import javax.xml.bind.annotation.XmlAccessorType;
6
import javax.xml.bind.annotation.XmlAttribute;
7
import javax.xml.bind.annotation.XmlElement;
8
import javax.xml.bind.annotation.XmlID;
9
import javax.xml.bind.annotation.XmlType;
10
import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
11
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
12
 
13
 
14
/**
15
 * Tipo retorno do Evento
16
 *
17
 * <p>Classe Java de TRetEvento complex type.
18
 *
19
 * <p>O seguinte fragmento do esquema especifica o conteúdo esperado contido dentro desta classe.
20
 *
21
 * <pre>
22
 * &lt;complexType name="TRetEvento"&gt;
23
 *   &lt;complexContent&gt;
24
 *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
25
 *       &lt;sequence&gt;
26
 *         &lt;element name="infEvento"&gt;
27
 *           &lt;complexType&gt;
28
 *             &lt;complexContent&gt;
29
 *               &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
30
 *                 &lt;sequence&gt;
31
 *                   &lt;element name="tpAmb" type="{http://www.portalfiscal.inf.br/nfe}TAmb"/&gt;
32
 *                   &lt;element name="verAplic" type="{http://www.portalfiscal.inf.br/nfe}TVerAplic"/&gt;
33
 *                   &lt;element name="cOrgao" type="{http://www.portalfiscal.inf.br/nfe}TCOrgaoIBGE"/&gt;
34
 *                   &lt;element name="cStat" type="{http://www.portalfiscal.inf.br/nfe}TStat"/&gt;
35
 *                   &lt;element name="xMotivo" type="{http://www.portalfiscal.inf.br/nfe}TMotivo"/&gt;
36
 *                   &lt;element name="chNFe" type="{http://www.portalfiscal.inf.br/nfe}TChNFe" minOccurs="0"/&gt;
37
 *                   &lt;element name="tpEvento" minOccurs="0"&gt;
38
 *                     &lt;simpleType&gt;
39
 *                       &lt;restriction base="{http://www.w3.org/2001/XMLSchema}string"&gt;
40
 *                         &lt;whiteSpace value="preserve"/&gt;
41
 *                         &lt;pattern value="[0-9]{6}"/&gt;
42
 *                         &lt;enumeration value="110150"/&gt;
43
 *                       &lt;/restriction&gt;
44
 *                     &lt;/simpleType&gt;
45
 *                   &lt;/element&gt;
46
 *                   &lt;element name="xEvento" minOccurs="0"&gt;
47
 *                     &lt;simpleType&gt;
48
 *                       &lt;restriction base="{http://www.portalfiscal.inf.br/nfe}TString"&gt;
49
 *                         &lt;minLength value="5"/&gt;
50
 *                         &lt;maxLength value="60"/&gt;
51
 *                       &lt;/restriction&gt;
52
 *                     &lt;/simpleType&gt;
53
 *                   &lt;/element&gt;
54
 *                   &lt;element name="nSeqEvento" minOccurs="0"&gt;
55
 *                     &lt;simpleType&gt;
56
 *                       &lt;restriction base="{http://www.w3.org/2001/XMLSchema}string"&gt;
57
 *                         &lt;whiteSpace value="preserve"/&gt;
58
 *                         &lt;pattern value="[1-9][0-9]{0,1}"/&gt;
59
 *                       &lt;/restriction&gt;
60
 *                     &lt;/simpleType&gt;
61
 *                   &lt;/element&gt;
62
 *                   &lt;element name="cOrgaoAutor" type="{http://www.portalfiscal.inf.br/nfe}TCodUfIBGE" minOccurs="0"/&gt;
63
 *                   &lt;element name="dhRegEvento"&gt;
64
 *                     &lt;simpleType&gt;
65
 *                       &lt;restriction base="{http://www.w3.org/2001/XMLSchema}string"&gt;
66
 *                         &lt;whiteSpace value="preserve"/&gt;
67
 *                         &lt;pattern value="(((20(([02468][048])|([13579][26]))-02-29))|(20[0-9][0-9])-((((0[1-9])|(1[0-2]))-((0[1-9])|(1\d)|(2[0-8])))|((((0[13578])|(1[02]))-31)|(((0[1,3-9])|(1[0-2]))-(29|30)))))T(20|21|22|23|[0-1]\d):[0-5]\d:[0-5]\d-0[1-4]:00"/&gt;
68
 *                       &lt;/restriction&gt;
69
 *                     &lt;/simpleType&gt;
70
 *                   &lt;/element&gt;
71
 *                   &lt;element name="nProt" type="{http://www.portalfiscal.inf.br/nfe}TProt" minOccurs="0"/&gt;
72
 *                 &lt;/sequence&gt;
73
 *                 &lt;attribute name="Id"&gt;
74
 *                   &lt;simpleType&gt;
75
 *                     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}ID"&gt;
76
 *                       &lt;pattern value="ID[0-9]{15}"/&gt;
77
 *                     &lt;/restriction&gt;
78
 *                   &lt;/simpleType&gt;
79
 *                 &lt;/attribute&gt;
80
 *               &lt;/restriction&gt;
81
 *             &lt;/complexContent&gt;
82
 *           &lt;/complexType&gt;
83
 *         &lt;/element&gt;
84
 *         &lt;element ref="{http://www.w3.org/2000/09/xmldsig#}Signature" minOccurs="0"/&gt;
85
 *       &lt;/sequence&gt;
86
 *       &lt;attribute name="versao" use="required" type="{http://www.portalfiscal.inf.br/nfe}TVerEvento" /&gt;
87
 *     &lt;/restriction&gt;
88
 *   &lt;/complexContent&gt;
89
 * &lt;/complexType&gt;
90
 * </pre>
91
 *
92
 *
93
 */
94
@XmlAccessorType(XmlAccessType.FIELD)
95
@XmlType(name = "TRetEvento", namespace = "http://www.portalfiscal.inf.br/nfe", propOrder = {
96
    "infEvento",
97
    "signature"
98
})
99
public class TRetEvento {
100
 
101
    @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true)
102
    protected TRetEvento.InfEvento infEvento;
103
    @XmlElement(name = "Signature", namespace = "http://www.w3.org/2000/09/xmldsig#")
104
    protected SignatureType signature;
105
    @XmlAttribute(name = "versao", required = true)
106
    protected String versao;
107
 
108
    /**
109
     * Obtém o valor da propriedade infEvento.
110
     *
111
     * @return
112
     *     possible object is
113
     *     {@link TRetEvento.InfEvento }
114
     *    
115
     */
116
    public TRetEvento.InfEvento getInfEvento() {
117
        return infEvento;
118
    }
119
 
120
    /**
121
     * Define o valor da propriedade infEvento.
122
     *
123
     * @param value
124
     *     allowed object is
125
     *     {@link TRetEvento.InfEvento }
126
     *    
127
     */
128
    public void setInfEvento(TRetEvento.InfEvento value) {
129
        this.infEvento = value;
130
    }
131
 
132
    /**
133
     * Obtém o valor da propriedade signature.
134
     *
135
     * @return
136
     *     possible object is
137
     *     {@link SignatureType }
138
     *    
139
     */
140
    public SignatureType getSignature() {
141
        return signature;
142
    }
143
 
144
    /**
145
     * Define o valor da propriedade signature.
146
     *
147
     * @param value
148
     *     allowed object is
149
     *     {@link SignatureType }
150
     *    
151
     */
152
    public void setSignature(SignatureType value) {
153
        this.signature = value;
154
    }
155
 
156
    /**
157
     * Obtém o valor da propriedade versao.
158
     *
159
     * @return
160
     *     possible object is
161
     *     {@link String }
162
     *    
163
     */
164
    public String getVersao() {
165
        return versao;
166
    }
167
 
168
    /**
169
     * Define o valor da propriedade versao.
170
     *
171
     * @param value
172
     *     allowed object is
173
     *     {@link String }
174
     *    
175
     */
176
    public void setVersao(String value) {
177
        this.versao = value;
178
    }
179
 
180
 
181
    /**
182
     * <p>Classe Java de anonymous complex type.
183
     *
184
     * <p>O seguinte fragmento do esquema especifica o conteúdo esperado contido dentro desta classe.
185
     *
186
     * <pre>
187
     * &lt;complexType&gt;
188
     *   &lt;complexContent&gt;
189
     *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
190
     *       &lt;sequence&gt;
191
     *         &lt;element name="tpAmb" type="{http://www.portalfiscal.inf.br/nfe}TAmb"/&gt;
192
     *         &lt;element name="verAplic" type="{http://www.portalfiscal.inf.br/nfe}TVerAplic"/&gt;
193
     *         &lt;element name="cOrgao" type="{http://www.portalfiscal.inf.br/nfe}TCOrgaoIBGE"/&gt;
194
     *         &lt;element name="cStat" type="{http://www.portalfiscal.inf.br/nfe}TStat"/&gt;
195
     *         &lt;element name="xMotivo" type="{http://www.portalfiscal.inf.br/nfe}TMotivo"/&gt;
196
     *         &lt;element name="chNFe" type="{http://www.portalfiscal.inf.br/nfe}TChNFe" minOccurs="0"/&gt;
197
     *         &lt;element name="tpEvento" minOccurs="0"&gt;
198
     *           &lt;simpleType&gt;
199
     *             &lt;restriction base="{http://www.w3.org/2001/XMLSchema}string"&gt;
200
     *               &lt;whiteSpace value="preserve"/&gt;
201
     *               &lt;pattern value="[0-9]{6}"/&gt;
202
     *               &lt;enumeration value="110150"/&gt;
203
     *             &lt;/restriction&gt;
204
     *           &lt;/simpleType&gt;
205
     *         &lt;/element&gt;
206
     *         &lt;element name="xEvento" minOccurs="0"&gt;
207
     *           &lt;simpleType&gt;
208
     *             &lt;restriction base="{http://www.portalfiscal.inf.br/nfe}TString"&gt;
209
     *               &lt;minLength value="5"/&gt;
210
     *               &lt;maxLength value="60"/&gt;
211
     *             &lt;/restriction&gt;
212
     *           &lt;/simpleType&gt;
213
     *         &lt;/element&gt;
214
     *         &lt;element name="nSeqEvento" minOccurs="0"&gt;
215
     *           &lt;simpleType&gt;
216
     *             &lt;restriction base="{http://www.w3.org/2001/XMLSchema}string"&gt;
217
     *               &lt;whiteSpace value="preserve"/&gt;
218
     *               &lt;pattern value="[1-9][0-9]{0,1}"/&gt;
219
     *             &lt;/restriction&gt;
220
     *           &lt;/simpleType&gt;
221
     *         &lt;/element&gt;
222
     *         &lt;element name="cOrgaoAutor" type="{http://www.portalfiscal.inf.br/nfe}TCodUfIBGE" minOccurs="0"/&gt;
223
     *         &lt;element name="dhRegEvento"&gt;
224
     *           &lt;simpleType&gt;
225
     *             &lt;restriction base="{http://www.w3.org/2001/XMLSchema}string"&gt;
226
     *               &lt;whiteSpace value="preserve"/&gt;
227
     *               &lt;pattern value="(((20(([02468][048])|([13579][26]))-02-29))|(20[0-9][0-9])-((((0[1-9])|(1[0-2]))-((0[1-9])|(1\d)|(2[0-8])))|((((0[13578])|(1[02]))-31)|(((0[1,3-9])|(1[0-2]))-(29|30)))))T(20|21|22|23|[0-1]\d):[0-5]\d:[0-5]\d-0[1-4]:00"/&gt;
228
     *             &lt;/restriction&gt;
229
     *           &lt;/simpleType&gt;
230
     *         &lt;/element&gt;
231
     *         &lt;element name="nProt" type="{http://www.portalfiscal.inf.br/nfe}TProt" minOccurs="0"/&gt;
232
     *       &lt;/sequence&gt;
233
     *       &lt;attribute name="Id"&gt;
234
     *         &lt;simpleType&gt;
235
     *           &lt;restriction base="{http://www.w3.org/2001/XMLSchema}ID"&gt;
236
     *             &lt;pattern value="ID[0-9]{15}"/&gt;
237
     *           &lt;/restriction&gt;
238
     *         &lt;/simpleType&gt;
239
     *       &lt;/attribute&gt;
240
     *     &lt;/restriction&gt;
241
     *   &lt;/complexContent&gt;
242
     * &lt;/complexType&gt;
243
     * </pre>
244
     *
245
     *
246
     */
247
    @XmlAccessorType(XmlAccessType.FIELD)
248
    @XmlType(name = "", propOrder = {
249
        "tpAmb",
250
        "verAplic",
251
        "cOrgao",
252
        "cStat",
253
        "xMotivo",
254
        "chNFe",
255
        "tpEvento",
256
        "xEvento",
257
        "nSeqEvento",
258
        "cOrgaoAutor",
259
        "dhRegEvento",
260
        "nProt"
261
    })
262
    public static class InfEvento {
263
 
264
        @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true)
265
        protected String tpAmb;
266
        @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true)
267
        protected String verAplic;
268
        @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true)
269
        protected String cOrgao;
270
        @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true)
271
        protected String cStat;
272
        @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true)
273
        protected String xMotivo;
274
        @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe")
275
        protected String chNFe;
276
        @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe")
277
        protected String tpEvento;
278
        @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe")
279
        protected String xEvento;
280
        @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe")
281
        protected String nSeqEvento;
282
        @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe")
283
        protected String cOrgaoAutor;
284
        @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true)
285
        protected String dhRegEvento;
286
        @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe")
287
        protected String nProt;
288
        @XmlAttribute(name = "Id")
289
        @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
290
        @XmlID
291
        protected String id;
292
 
293
        /**
294
         * Obtém o valor da propriedade tpAmb.
295
         *
296
         * @return
297
         *     possible object is
298
         *     {@link String }
299
         *    
300
         */
301
        public String getTpAmb() {
302
            return tpAmb;
303
        }
304
 
305
        /**
306
         * Define o valor da propriedade tpAmb.
307
         *
308
         * @param value
309
         *     allowed object is
310
         *     {@link String }
311
         *    
312
         */
313
        public void setTpAmb(String value) {
314
            this.tpAmb = value;
315
        }
316
 
317
        /**
318
         * Obtém o valor da propriedade verAplic.
319
         *
320
         * @return
321
         *     possible object is
322
         *     {@link String }
323
         *    
324
         */
325
        public String getVerAplic() {
326
            return verAplic;
327
        }
328
 
329
        /**
330
         * Define o valor da propriedade verAplic.
331
         *
332
         * @param value
333
         *     allowed object is
334
         *     {@link String }
335
         *    
336
         */
337
        public void setVerAplic(String value) {
338
            this.verAplic = value;
339
        }
340
 
341
        /**
342
         * Obtém o valor da propriedade cOrgao.
343
         *
344
         * @return
345
         *     possible object is
346
         *     {@link String }
347
         *    
348
         */
349
        public String getCOrgao() {
350
            return cOrgao;
351
        }
352
 
353
        /**
354
         * Define o valor da propriedade cOrgao.
355
         *
356
         * @param value
357
         *     allowed object is
358
         *     {@link String }
359
         *    
360
         */
361
        public void setCOrgao(String value) {
362
            this.cOrgao = value;
363
        }
364
 
365
        /**
366
         * Obtém o valor da propriedade cStat.
367
         *
368
         * @return
369
         *     possible object is
370
         *     {@link String }
371
         *    
372
         */
373
        public String getCStat() {
374
            return cStat;
375
        }
376
 
377
        /**
378
         * Define o valor da propriedade cStat.
379
         *
380
         * @param value
381
         *     allowed object is
382
         *     {@link String }
383
         *    
384
         */
385
        public void setCStat(String value) {
386
            this.cStat = value;
387
        }
388
 
389
        /**
390
         * Obtém o valor da propriedade xMotivo.
391
         *
392
         * @return
393
         *     possible object is
394
         *     {@link String }
395
         *    
396
         */
397
        public String getXMotivo() {
398
            return xMotivo;
399
        }
400
 
401
        /**
402
         * Define o valor da propriedade xMotivo.
403
         *
404
         * @param value
405
         *     allowed object is
406
         *     {@link String }
407
         *    
408
         */
409
        public void setXMotivo(String value) {
410
            this.xMotivo = value;
411
        }
412
 
413
        /**
414
         * Obtém o valor da propriedade chNFe.
415
         *
416
         * @return
417
         *     possible object is
418
         *     {@link String }
419
         *    
420
         */
421
        public String getChNFe() {
422
            return chNFe;
423
        }
424
 
425
        /**
426
         * Define o valor da propriedade chNFe.
427
         *
428
         * @param value
429
         *     allowed object is
430
         *     {@link String }
431
         *    
432
         */
433
        public void setChNFe(String value) {
434
            this.chNFe = value;
435
        }
436
 
437
        /**
438
         * Obtém o valor da propriedade tpEvento.
439
         *
440
         * @return
441
         *     possible object is
442
         *     {@link String }
443
         *    
444
         */
445
        public String getTpEvento() {
446
            return tpEvento;
447
        }
448
 
449
        /**
450
         * Define o valor da propriedade tpEvento.
451
         *
452
         * @param value
453
         *     allowed object is
454
         *     {@link String }
455
         *    
456
         */
457
        public void setTpEvento(String value) {
458
            this.tpEvento = value;
459
        }
460
 
461
        /**
462
         * Obtém o valor da propriedade xEvento.
463
         *
464
         * @return
465
         *     possible object is
466
         *     {@link String }
467
         *    
468
         */
469
        public String getXEvento() {
470
            return xEvento;
471
        }
472
 
473
        /**
474
         * Define o valor da propriedade xEvento.
475
         *
476
         * @param value
477
         *     allowed object is
478
         *     {@link String }
479
         *    
480
         */
481
        public void setXEvento(String value) {
482
            this.xEvento = value;
483
        }
484
 
485
        /**
486
         * Obtém o valor da propriedade nSeqEvento.
487
         *
488
         * @return
489
         *     possible object is
490
         *     {@link String }
491
         *    
492
         */
493
        public String getNSeqEvento() {
494
            return nSeqEvento;
495
        }
496
 
497
        /**
498
         * Define o valor da propriedade nSeqEvento.
499
         *
500
         * @param value
501
         *     allowed object is
502
         *     {@link String }
503
         *    
504
         */
505
        public void setNSeqEvento(String value) {
506
            this.nSeqEvento = value;
507
        }
508
 
509
        /**
510
         * Obtém o valor da propriedade cOrgaoAutor.
511
         *
512
         * @return
513
         *     possible object is
514
         *     {@link String }
515
         *    
516
         */
517
        public String getCOrgaoAutor() {
518
            return cOrgaoAutor;
519
        }
520
 
521
        /**
522
         * Define o valor da propriedade cOrgaoAutor.
523
         *
524
         * @param value
525
         *     allowed object is
526
         *     {@link String }
527
         *    
528
         */
529
        public void setCOrgaoAutor(String value) {
530
            this.cOrgaoAutor = value;
531
        }
532
 
533
        /**
534
         * Obtém o valor da propriedade dhRegEvento.
535
         *
536
         * @return
537
         *     possible object is
538
         *     {@link String }
539
         *    
540
         */
541
        public String getDhRegEvento() {
542
            return dhRegEvento;
543
        }
544
 
545
        /**
546
         * Define o valor da propriedade dhRegEvento.
547
         *
548
         * @param value
549
         *     allowed object is
550
         *     {@link String }
551
         *    
552
         */
553
        public void setDhRegEvento(String value) {
554
            this.dhRegEvento = value;
555
        }
556
 
557
        /**
558
         * Obtém o valor da propriedade nProt.
559
         *
560
         * @return
561
         *     possible object is
562
         *     {@link String }
563
         *    
564
         */
565
        public String getNProt() {
566
            return nProt;
567
        }
568
 
569
        /**
570
         * Define o valor da propriedade nProt.
571
         *
572
         * @param value
573
         *     allowed object is
574
         *     {@link String }
575
         *    
576
         */
577
        public void setNProt(String value) {
578
            this.nProt = value;
579
        }
580
 
581
        /**
582
         * Obtém o valor da propriedade id.
583
         *
584
         * @return
585
         *     possible object is
586
         *     {@link String }
587
         *    
588
         */
589
        public String getId() {
590
            return id;
591
        }
592
 
593
        /**
594
         * Define o valor da propriedade id.
595
         *
596
         * @param value
597
         *     allowed object is
598
         *     {@link String }
599
         *    
600
         */
601
        public void setId(String value) {
602
            this.id = value;
603
        }
604
 
605
    }
606
 
607
}