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