Subversion Repositories Integrator Subversion

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
414 espaco 1
 
2
package br.com.swconsultoria.nfe.schema_4.enviNFe;
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.XmlSchemaType;
10
import javax.xml.bind.annotation.XmlType;
11
import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
12
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
13
 
14
 
15
/**
16
 * Tipo Protocolo de status resultado do processamento da NF-e
17
 *
18
 * <p>Classe Java de TProtNFe complex type.
19
 *
20
 * <p>O seguinte fragmento do esquema especifica o conteúdo esperado contido dentro desta classe.
21
 *
22
 * <pre>
23
 * &lt;complexType name="TProtNFe"&gt;
24
 *   &lt;complexContent&gt;
25
 *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
26
 *       &lt;sequence&gt;
27
 *         &lt;element name="infProt"&gt;
28
 *           &lt;complexType&gt;
29
 *             &lt;complexContent&gt;
30
 *               &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
31
 *                 &lt;sequence&gt;
32
 *                   &lt;element name="tpAmb" type="{http://www.portalfiscal.inf.br/nfe}TAmb"/&gt;
33
 *                   &lt;element name="verAplic" type="{http://www.portalfiscal.inf.br/nfe}TVerAplic"/&gt;
34
 *                   &lt;element name="chNFe" type="{http://www.portalfiscal.inf.br/nfe}TChNFe"/&gt;
35
 *                   &lt;element name="dhRecbto" type="{http://www.portalfiscal.inf.br/nfe}TDateTimeUTC"/&gt;
36
 *                   &lt;element name="nProt" type="{http://www.portalfiscal.inf.br/nfe}TProt" minOccurs="0"/&gt;
37
 *                   &lt;element name="digVal" type="{http://www.w3.org/2000/09/xmldsig#}DigestValueType" minOccurs="0"/&gt;
38
 *                   &lt;element name="cStat" type="{http://www.portalfiscal.inf.br/nfe}TStat"/&gt;
39
 *                   &lt;element name="xMotivo" type="{http://www.portalfiscal.inf.br/nfe}TMotivo"/&gt;
40
 *                   &lt;sequence minOccurs="0"&gt;
41
 *                     &lt;element name="cMsg"&gt;
42
 *                       &lt;simpleType&gt;
43
 *                         &lt;restriction base="{http://www.w3.org/2001/XMLSchema}string"&gt;
44
 *                           &lt;whiteSpace value="preserve"/&gt;
45
 *                           &lt;pattern value="[0-9]{1,4}"/&gt;
46
 *                         &lt;/restriction&gt;
47
 *                       &lt;/simpleType&gt;
48
 *                     &lt;/element&gt;
49
 *                     &lt;element name="xMsg"&gt;
50
 *                       &lt;simpleType&gt;
51
 *                         &lt;restriction base="{http://www.portalfiscal.inf.br/nfe}TString"&gt;
52
 *                           &lt;minLength value="1"/&gt;
53
 *                           &lt;maxLength value="200"/&gt;
54
 *                         &lt;/restriction&gt;
55
 *                       &lt;/simpleType&gt;
56
 *                     &lt;/element&gt;
57
 *                   &lt;/sequence&gt;
58
 *                 &lt;/sequence&gt;
59
 *                 &lt;attribute name="Id" type="{http://www.w3.org/2001/XMLSchema}ID" /&gt;
60
 *               &lt;/restriction&gt;
61
 *             &lt;/complexContent&gt;
62
 *           &lt;/complexType&gt;
63
 *         &lt;/element&gt;
64
 *         &lt;element ref="{http://www.w3.org/2000/09/xmldsig#}Signature" minOccurs="0"/&gt;
65
 *       &lt;/sequence&gt;
66
 *       &lt;attribute name="versao" use="required" type="{http://www.portalfiscal.inf.br/nfe}TVerNFe" /&gt;
67
 *     &lt;/restriction&gt;
68
 *   &lt;/complexContent&gt;
69
 * &lt;/complexType&gt;
70
 * </pre>
71
 *
72
 *
73
 */
74
@XmlAccessorType(XmlAccessType.FIELD)
75
@XmlType(name = "TProtNFe", namespace = "http://www.portalfiscal.inf.br/nfe", propOrder = {
76
    "infProt",
77
    "signature"
78
})
79
public class TProtNFe {
80
 
81
    @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true)
82
    protected TProtNFe.InfProt infProt;
83
    @XmlElement(name = "Signature", namespace = "http://www.w3.org/2000/09/xmldsig#")
84
    protected SignatureType signature;
85
    @XmlAttribute(name = "versao", required = true)
86
    protected String versao;
87
 
88
    /**
89
     * Obtém o valor da propriedade infProt.
90
     *
91
     * @return
92
     *     possible object is
93
     *     {@link TProtNFe.InfProt }
94
     *    
95
     */
96
    public TProtNFe.InfProt getInfProt() {
97
        return infProt;
98
    }
99
 
100
    /**
101
     * Define o valor da propriedade infProt.
102
     *
103
     * @param value
104
     *     allowed object is
105
     *     {@link TProtNFe.InfProt }
106
     *    
107
     */
108
    public void setInfProt(TProtNFe.InfProt value) {
109
        this.infProt = value;
110
    }
111
 
112
    /**
113
     * Obtém o valor da propriedade signature.
114
     *
115
     * @return
116
     *     possible object is
117
     *     {@link SignatureType }
118
     *    
119
     */
120
    public SignatureType getSignature() {
121
        return signature;
122
    }
123
 
124
    /**
125
     * Define o valor da propriedade signature.
126
     *
127
     * @param value
128
     *     allowed object is
129
     *     {@link SignatureType }
130
     *    
131
     */
132
    public void setSignature(SignatureType value) {
133
        this.signature = value;
134
    }
135
 
136
    /**
137
     * Obtém o valor da propriedade versao.
138
     *
139
     * @return
140
     *     possible object is
141
     *     {@link String }
142
     *    
143
     */
144
    public String getVersao() {
145
        return versao;
146
    }
147
 
148
    /**
149
     * Define o valor da propriedade versao.
150
     *
151
     * @param value
152
     *     allowed object is
153
     *     {@link String }
154
     *    
155
     */
156
    public void setVersao(String value) {
157
        this.versao = value;
158
    }
159
 
160
 
161
    /**
162
     * <p>Classe Java de anonymous complex type.
163
     *
164
     * <p>O seguinte fragmento do esquema especifica o conteúdo esperado contido dentro desta classe.
165
     *
166
     * <pre>
167
     * &lt;complexType&gt;
168
     *   &lt;complexContent&gt;
169
     *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
170
     *       &lt;sequence&gt;
171
     *         &lt;element name="tpAmb" type="{http://www.portalfiscal.inf.br/nfe}TAmb"/&gt;
172
     *         &lt;element name="verAplic" type="{http://www.portalfiscal.inf.br/nfe}TVerAplic"/&gt;
173
     *         &lt;element name="chNFe" type="{http://www.portalfiscal.inf.br/nfe}TChNFe"/&gt;
174
     *         &lt;element name="dhRecbto" type="{http://www.portalfiscal.inf.br/nfe}TDateTimeUTC"/&gt;
175
     *         &lt;element name="nProt" type="{http://www.portalfiscal.inf.br/nfe}TProt" minOccurs="0"/&gt;
176
     *         &lt;element name="digVal" type="{http://www.w3.org/2000/09/xmldsig#}DigestValueType" minOccurs="0"/&gt;
177
     *         &lt;element name="cStat" type="{http://www.portalfiscal.inf.br/nfe}TStat"/&gt;
178
     *         &lt;element name="xMotivo" type="{http://www.portalfiscal.inf.br/nfe}TMotivo"/&gt;
179
     *         &lt;sequence minOccurs="0"&gt;
180
     *           &lt;element name="cMsg"&gt;
181
     *             &lt;simpleType&gt;
182
     *               &lt;restriction base="{http://www.w3.org/2001/XMLSchema}string"&gt;
183
     *                 &lt;whiteSpace value="preserve"/&gt;
184
     *                 &lt;pattern value="[0-9]{1,4}"/&gt;
185
     *               &lt;/restriction&gt;
186
     *             &lt;/simpleType&gt;
187
     *           &lt;/element&gt;
188
     *           &lt;element name="xMsg"&gt;
189
     *             &lt;simpleType&gt;
190
     *               &lt;restriction base="{http://www.portalfiscal.inf.br/nfe}TString"&gt;
191
     *                 &lt;minLength value="1"/&gt;
192
     *                 &lt;maxLength value="200"/&gt;
193
     *               &lt;/restriction&gt;
194
     *             &lt;/simpleType&gt;
195
     *           &lt;/element&gt;
196
     *         &lt;/sequence&gt;
197
     *       &lt;/sequence&gt;
198
     *       &lt;attribute name="Id" type="{http://www.w3.org/2001/XMLSchema}ID" /&gt;
199
     *     &lt;/restriction&gt;
200
     *   &lt;/complexContent&gt;
201
     * &lt;/complexType&gt;
202
     * </pre>
203
     *
204
     *
205
     */
206
    @XmlAccessorType(XmlAccessType.FIELD)
207
    @XmlType(name = "", propOrder = {
208
        "tpAmb",
209
        "verAplic",
210
        "chNFe",
211
        "dhRecbto",
212
        "nProt",
213
        "digVal",
214
        "cStat",
215
        "xMotivo",
216
        "cMsg",
217
        "xMsg"
218
    })
219
    public static class InfProt {
220
 
221
        @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true)
222
        protected String tpAmb;
223
        @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true)
224
        protected String verAplic;
225
        @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true)
226
        protected String chNFe;
227
        @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true)
228
        protected String dhRecbto;
229
        @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe")
230
        protected String nProt;
231
        @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe")
232
        protected byte[] digVal;
233
        @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true)
234
        protected String cStat;
235
        @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true)
236
        protected String xMotivo;
237
        @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe")
238
        protected String cMsg;
239
        @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe")
240
        protected String xMsg;
241
        @XmlAttribute(name = "Id")
242
        @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
243
        @XmlID
244
        @XmlSchemaType(name = "ID")
245
        protected String id;
246
 
247
        /**
248
         * Obtém o valor da propriedade tpAmb.
249
         *
250
         * @return
251
         *     possible object is
252
         *     {@link String }
253
         *    
254
         */
255
        public String getTpAmb() {
256
            return tpAmb;
257
        }
258
 
259
        /**
260
         * Define o valor da propriedade tpAmb.
261
         *
262
         * @param value
263
         *     allowed object is
264
         *     {@link String }
265
         *    
266
         */
267
        public void setTpAmb(String value) {
268
            this.tpAmb = value;
269
        }
270
 
271
        /**
272
         * Obtém o valor da propriedade verAplic.
273
         *
274
         * @return
275
         *     possible object is
276
         *     {@link String }
277
         *    
278
         */
279
        public String getVerAplic() {
280
            return verAplic;
281
        }
282
 
283
        /**
284
         * Define o valor da propriedade verAplic.
285
         *
286
         * @param value
287
         *     allowed object is
288
         *     {@link String }
289
         *    
290
         */
291
        public void setVerAplic(String value) {
292
            this.verAplic = value;
293
        }
294
 
295
        /**
296
         * Obtém o valor da propriedade chNFe.
297
         *
298
         * @return
299
         *     possible object is
300
         *     {@link String }
301
         *    
302
         */
303
        public String getChNFe() {
304
            return chNFe;
305
        }
306
 
307
        /**
308
         * Define o valor da propriedade chNFe.
309
         *
310
         * @param value
311
         *     allowed object is
312
         *     {@link String }
313
         *    
314
         */
315
        public void setChNFe(String value) {
316
            this.chNFe = value;
317
        }
318
 
319
        /**
320
         * Obtém o valor da propriedade dhRecbto.
321
         *
322
         * @return
323
         *     possible object is
324
         *     {@link String }
325
         *    
326
         */
327
        public String getDhRecbto() {
328
            return dhRecbto;
329
        }
330
 
331
        /**
332
         * Define o valor da propriedade dhRecbto.
333
         *
334
         * @param value
335
         *     allowed object is
336
         *     {@link String }
337
         *    
338
         */
339
        public void setDhRecbto(String value) {
340
            this.dhRecbto = value;
341
        }
342
 
343
        /**
344
         * Obtém o valor da propriedade nProt.
345
         *
346
         * @return
347
         *     possible object is
348
         *     {@link String }
349
         *    
350
         */
351
        public String getNProt() {
352
            return nProt;
353
        }
354
 
355
        /**
356
         * Define o valor da propriedade nProt.
357
         *
358
         * @param value
359
         *     allowed object is
360
         *     {@link String }
361
         *    
362
         */
363
        public void setNProt(String value) {
364
            this.nProt = value;
365
        }
366
 
367
        /**
368
         * Obtém o valor da propriedade digVal.
369
         *
370
         * @return
371
         *     possible object is
372
         *     byte[]
373
         */
374
        public byte[] getDigVal() {
375
            return digVal;
376
        }
377
 
378
        /**
379
         * Define o valor da propriedade digVal.
380
         *
381
         * @param value
382
         *     allowed object is
383
         *     byte[]
384
         */
385
        public void setDigVal(byte[] value) {
386
            this.digVal = value;
387
        }
388
 
389
        /**
390
         * Obtém o valor da propriedade cStat.
391
         *
392
         * @return
393
         *     possible object is
394
         *     {@link String }
395
         *    
396
         */
397
        public String getCStat() {
398
            return cStat;
399
        }
400
 
401
        /**
402
         * Define o valor da propriedade cStat.
403
         *
404
         * @param value
405
         *     allowed object is
406
         *     {@link String }
407
         *    
408
         */
409
        public void setCStat(String value) {
410
            this.cStat = value;
411
        }
412
 
413
        /**
414
         * Obtém o valor da propriedade xMotivo.
415
         *
416
         * @return
417
         *     possible object is
418
         *     {@link String }
419
         *    
420
         */
421
        public String getXMotivo() {
422
            return xMotivo;
423
        }
424
 
425
        /**
426
         * Define o valor da propriedade xMotivo.
427
         *
428
         * @param value
429
         *     allowed object is
430
         *     {@link String }
431
         *    
432
         */
433
        public void setXMotivo(String value) {
434
            this.xMotivo = value;
435
        }
436
 
437
        /**
438
         * Obtém o valor da propriedade cMsg.
439
         *
440
         * @return
441
         *     possible object is
442
         *     {@link String }
443
         *    
444
         */
445
        public String getCMsg() {
446
            return cMsg;
447
        }
448
 
449
        /**
450
         * Define o valor da propriedade cMsg.
451
         *
452
         * @param value
453
         *     allowed object is
454
         *     {@link String }
455
         *    
456
         */
457
        public void setCMsg(String value) {
458
            this.cMsg = value;
459
        }
460
 
461
        /**
462
         * Obtém o valor da propriedade xMsg.
463
         *
464
         * @return
465
         *     possible object is
466
         *     {@link String }
467
         *    
468
         */
469
        public String getXMsg() {
470
            return xMsg;
471
        }
472
 
473
        /**
474
         * Define o valor da propriedade xMsg.
475
         *
476
         * @param value
477
         *     allowed object is
478
         *     {@link String }
479
         *    
480
         */
481
        public void setXMsg(String value) {
482
            this.xMsg = value;
483
        }
484
 
485
        /**
486
         * Obtém o valor da propriedade id.
487
         *
488
         * @return
489
         *     possible object is
490
         *     {@link String }
491
         *    
492
         */
493
        public String getId() {
494
            return id;
495
        }
496
 
497
        /**
498
         * Define o valor da propriedade id.
499
         *
500
         * @param value
501
         *     allowed object is
502
         *     {@link String }
503
         *    
504
         */
505
        public void setId(String value) {
506
            this.id = value;
507
        }
508
 
509
    }
510
 
511
}