Subversion Repositories Integrator Subversion

Rev

Details | Last modification | View Log | RSS feed

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