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