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