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