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.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
import javax.xml.datatype.XMLGregorianCalendar;
14
 
15
 
16
/**
17
 * Tipo Protocolo de status resultado do processamento da NF-e
18
 *
19
 * <p>Classe Java de TProtNFe 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="TProtNFe"&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="infProt"&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="chNFe" type="{http://www.portalfiscal.inf.br/nfe}TChNFe"/&gt;
36
 *                   &lt;element name="dhRecbto" type="{http://www.w3.org/2001/XMLSchema}dateTime"/&gt;
37
 *                   &lt;element name="nProt" type="{http://www.portalfiscal.inf.br/nfe}TProt" minOccurs="0"/&gt;
38
 *                   &lt;element name="digVal" type="{http://www.w3.org/2000/09/xmldsig#}DigestValueType" minOccurs="0"/&gt;
39
 *                   &lt;element name="cStat" type="{http://www.portalfiscal.inf.br/nfe}TStat"/&gt;
40
 *                   &lt;element name="xMotivo" type="{http://www.portalfiscal.inf.br/nfe}TMotivo"/&gt;
41
 *                 &lt;/sequence&gt;
42
 *                 &lt;attribute name="Id" type="{http://www.w3.org/2001/XMLSchema}ID" /&gt;
43
 *               &lt;/restriction&gt;
44
 *             &lt;/complexContent&gt;
45
 *           &lt;/complexType&gt;
46
 *         &lt;/element&gt;
47
 *         &lt;element ref="{http://www.w3.org/2000/09/xmldsig#}Signature" minOccurs="0"/&gt;
48
 *       &lt;/sequence&gt;
49
 *       &lt;attribute name="versao" use="required" type="{http://www.portalfiscal.inf.br/nfe}TVerNFe" /&gt;
50
 *     &lt;/restriction&gt;
51
 *   &lt;/complexContent&gt;
52
 * &lt;/complexType&gt;
53
 * </pre>
54
 *
55
 *
56
 */
57
@XmlAccessorType(XmlAccessType.FIELD)
58
@XmlType(name = "TProtNFe", namespace = "http://www.portalfiscal.inf.br/nfe", propOrder = {
59
    "infProt",
60
    "signature"
61
})
62
public class TProtNFe {
63
 
64
    @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true)
65
    protected TProtNFe.InfProt infProt;
66
    @XmlElement(name = "Signature", namespace = "http://www.w3.org/2000/09/xmldsig#")
67
    protected SignatureType signature;
68
    @XmlAttribute(name = "versao", required = true)
69
    protected String versao;
70
 
71
    /**
72
     * Obtém o valor da propriedade infProt.
73
     *
74
     * @return
75
     *     possible object is
76
     *     {@link TProtNFe.InfProt }
77
     *    
78
     */
79
    public TProtNFe.InfProt getInfProt() {
80
        return infProt;
81
    }
82
 
83
    /**
84
     * Define o valor da propriedade infProt.
85
     *
86
     * @param value
87
     *     allowed object is
88
     *     {@link TProtNFe.InfProt }
89
     *    
90
     */
91
    public void setInfProt(TProtNFe.InfProt value) {
92
        this.infProt = value;
93
    }
94
 
95
    /**
96
     * Obtém o valor da propriedade signature.
97
     *
98
     * @return
99
     *     possible object is
100
     *     {@link SignatureType }
101
     *    
102
     */
103
    public SignatureType getSignature() {
104
        return signature;
105
    }
106
 
107
    /**
108
     * Define o valor da propriedade signature.
109
     *
110
     * @param value
111
     *     allowed object is
112
     *     {@link SignatureType }
113
     *    
114
     */
115
    public void setSignature(SignatureType value) {
116
        this.signature = value;
117
    }
118
 
119
    /**
120
     * Obtém o valor da propriedade versao.
121
     *
122
     * @return
123
     *     possible object is
124
     *     {@link String }
125
     *    
126
     */
127
    public String getVersao() {
128
        return versao;
129
    }
130
 
131
    /**
132
     * Define o valor da propriedade versao.
133
     *
134
     * @param value
135
     *     allowed object is
136
     *     {@link String }
137
     *    
138
     */
139
    public void setVersao(String value) {
140
        this.versao = value;
141
    }
142
 
143
 
144
    /**
145
     * <p>Classe Java de anonymous complex type.
146
     *
147
     * <p>O seguinte fragmento do esquema especifica o conteúdo esperado contido dentro desta classe.
148
     *
149
     * <pre>
150
     * &lt;complexType&gt;
151
     *   &lt;complexContent&gt;
152
     *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
153
     *       &lt;sequence&gt;
154
     *         &lt;element name="tpAmb" type="{http://www.portalfiscal.inf.br/nfe}TAmb"/&gt;
155
     *         &lt;element name="verAplic" type="{http://www.portalfiscal.inf.br/nfe}TVerAplic"/&gt;
156
     *         &lt;element name="chNFe" type="{http://www.portalfiscal.inf.br/nfe}TChNFe"/&gt;
157
     *         &lt;element name="dhRecbto" type="{http://www.w3.org/2001/XMLSchema}dateTime"/&gt;
158
     *         &lt;element name="nProt" type="{http://www.portalfiscal.inf.br/nfe}TProt" minOccurs="0"/&gt;
159
     *         &lt;element name="digVal" type="{http://www.w3.org/2000/09/xmldsig#}DigestValueType" minOccurs="0"/&gt;
160
     *         &lt;element name="cStat" type="{http://www.portalfiscal.inf.br/nfe}TStat"/&gt;
161
     *         &lt;element name="xMotivo" type="{http://www.portalfiscal.inf.br/nfe}TMotivo"/&gt;
162
     *       &lt;/sequence&gt;
163
     *       &lt;attribute name="Id" type="{http://www.w3.org/2001/XMLSchema}ID" /&gt;
164
     *     &lt;/restriction&gt;
165
     *   &lt;/complexContent&gt;
166
     * &lt;/complexType&gt;
167
     * </pre>
168
     *
169
     *
170
     */
171
    @XmlAccessorType(XmlAccessType.FIELD)
172
    @XmlType(name = "", propOrder = {
173
        "tpAmb",
174
        "verAplic",
175
        "chNFe",
176
        "dhRecbto",
177
        "nProt",
178
        "digVal",
179
        "cStat",
180
        "xMotivo"
181
    })
182
    public static class InfProt {
183
 
184
        @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true)
185
        protected String tpAmb;
186
        @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true)
187
        protected String verAplic;
188
        @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true)
189
        protected String chNFe;
190
        @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true)
191
        @XmlSchemaType(name = "dateTime")
192
        protected XMLGregorianCalendar dhRecbto;
193
        @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe")
194
        protected String nProt;
195
        @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe")
196
        protected byte[] digVal;
197
        @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true)
198
        protected String cStat;
199
        @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true)
200
        protected String xMotivo;
201
        @XmlAttribute(name = "Id")
202
        @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
203
        @XmlID
204
        @XmlSchemaType(name = "ID")
205
        protected String id;
206
 
207
        /**
208
         * Obtém o valor da propriedade tpAmb.
209
         *
210
         * @return
211
         *     possible object is
212
         *     {@link String }
213
         *    
214
         */
215
        public String getTpAmb() {
216
            return tpAmb;
217
        }
218
 
219
        /**
220
         * Define o valor da propriedade tpAmb.
221
         *
222
         * @param value
223
         *     allowed object is
224
         *     {@link String }
225
         *    
226
         */
227
        public void setTpAmb(String value) {
228
            this.tpAmb = value;
229
        }
230
 
231
        /**
232
         * Obtém o valor da propriedade verAplic.
233
         *
234
         * @return
235
         *     possible object is
236
         *     {@link String }
237
         *    
238
         */
239
        public String getVerAplic() {
240
            return verAplic;
241
        }
242
 
243
        /**
244
         * Define o valor da propriedade verAplic.
245
         *
246
         * @param value
247
         *     allowed object is
248
         *     {@link String }
249
         *    
250
         */
251
        public void setVerAplic(String value) {
252
            this.verAplic = value;
253
        }
254
 
255
        /**
256
         * Obtém o valor da propriedade chNFe.
257
         *
258
         * @return
259
         *     possible object is
260
         *     {@link String }
261
         *    
262
         */
263
        public String getChNFe() {
264
            return chNFe;
265
        }
266
 
267
        /**
268
         * Define o valor da propriedade chNFe.
269
         *
270
         * @param value
271
         *     allowed object is
272
         *     {@link String }
273
         *    
274
         */
275
        public void setChNFe(String value) {
276
            this.chNFe = value;
277
        }
278
 
279
        /**
280
         * Obtém o valor da propriedade dhRecbto.
281
         *
282
         * @return
283
         *     possible object is
284
         *     {@link XMLGregorianCalendar }
285
         *    
286
         */
287
        public XMLGregorianCalendar getDhRecbto() {
288
            return dhRecbto;
289
        }
290
 
291
        /**
292
         * Define o valor da propriedade dhRecbto.
293
         *
294
         * @param value
295
         *     allowed object is
296
         *     {@link XMLGregorianCalendar }
297
         *    
298
         */
299
        public void setDhRecbto(XMLGregorianCalendar value) {
300
            this.dhRecbto = value;
301
        }
302
 
303
        /**
304
         * Obtém o valor da propriedade nProt.
305
         *
306
         * @return
307
         *     possible object is
308
         *     {@link String }
309
         *    
310
         */
311
        public String getNProt() {
312
            return nProt;
313
        }
314
 
315
        /**
316
         * Define o valor da propriedade nProt.
317
         *
318
         * @param value
319
         *     allowed object is
320
         *     {@link String }
321
         *    
322
         */
323
        public void setNProt(String value) {
324
            this.nProt = value;
325
        }
326
 
327
        /**
328
         * Obtém o valor da propriedade digVal.
329
         *
330
         * @return
331
         *     possible object is
332
         *     byte[]
333
         */
334
        public byte[] getDigVal() {
335
            return digVal;
336
        }
337
 
338
        /**
339
         * Define o valor da propriedade digVal.
340
         *
341
         * @param value
342
         *     allowed object is
343
         *     byte[]
344
         */
345
        public void setDigVal(byte[] value) {
346
            this.digVal = value;
347
        }
348
 
349
        /**
350
         * Obtém o valor da propriedade cStat.
351
         *
352
         * @return
353
         *     possible object is
354
         *     {@link String }
355
         *    
356
         */
357
        public String getCStat() {
358
            return cStat;
359
        }
360
 
361
        /**
362
         * Define o valor da propriedade cStat.
363
         *
364
         * @param value
365
         *     allowed object is
366
         *     {@link String }
367
         *    
368
         */
369
        public void setCStat(String value) {
370
            this.cStat = value;
371
        }
372
 
373
        /**
374
         * Obtém o valor da propriedade xMotivo.
375
         *
376
         * @return
377
         *     possible object is
378
         *     {@link String }
379
         *    
380
         */
381
        public String getXMotivo() {
382
            return xMotivo;
383
        }
384
 
385
        /**
386
         * Define o valor da propriedade xMotivo.
387
         *
388
         * @param value
389
         *     allowed object is
390
         *     {@link String }
391
         *    
392
         */
393
        public void setXMotivo(String value) {
394
            this.xMotivo = value;
395
        }
396
 
397
        /**
398
         * Obtém o valor da propriedade id.
399
         *
400
         * @return
401
         *     possible object is
402
         *     {@link String }
403
         *    
404
         */
405
        public String getId() {
406
            return id;
407
        }
408
 
409
        /**
410
         * Define o valor da propriedade id.
411
         *
412
         * @param value
413
         *     allowed object is
414
         *     {@link String }
415
         *    
416
         */
417
        public void setId(String value) {
418
            this.id = value;
419
        }
420
 
421
    }
422
 
423
}