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.retdistdfeint;
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.XmlRootElement;
11
import javax.xml.bind.annotation.XmlSchemaType;
12
import javax.xml.bind.annotation.XmlType;
13
import javax.xml.bind.annotation.XmlValue;
14
import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
15
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
16
 
17
 
18
/**
19
 * <p>Classe Java de anonymous 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&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="tpAmb" type="{http://www.portalfiscal.inf.br/nfe}TAmb"/&gt;
29
 *         &lt;element name="verAplic" type="{http://www.portalfiscal.inf.br/nfe}TVerAplic"/&gt;
30
 *         &lt;element name="cStat" type="{http://www.portalfiscal.inf.br/nfe}TStat"/&gt;
31
 *         &lt;element name="xMotivo" type="{http://www.portalfiscal.inf.br/nfe}TMotivo"/&gt;
32
 *         &lt;element name="dhResp" type="{http://www.portalfiscal.inf.br/nfe}TDateTimeUTC"/&gt;
33
 *         &lt;element name="ultNSU" type="{http://www.portalfiscal.inf.br/nfe}TNSU"/&gt;
34
 *         &lt;element name="maxNSU" type="{http://www.portalfiscal.inf.br/nfe}TNSU"/&gt;
35
 *         &lt;element name="loteDistDFeInt" minOccurs="0"&gt;
36
 *           &lt;complexType&gt;
37
 *             &lt;complexContent&gt;
38
 *               &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
39
 *                 &lt;sequence maxOccurs="50"&gt;
40
 *                   &lt;element name="docZip"&gt;
41
 *                     &lt;complexType&gt;
42
 *                       &lt;simpleContent&gt;
43
 *                         &lt;extension base="&lt;http://www.w3.org/2001/XMLSchema&gt;base64Binary"&gt;
44
 *                           &lt;attribute name="NSU" use="required" type="{http://www.portalfiscal.inf.br/nfe}TNSU" /&gt;
45
 *                           &lt;attribute name="schema" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /&gt;
46
 *                         &lt;/extension&gt;
47
 *                       &lt;/simpleContent&gt;
48
 *                     &lt;/complexType&gt;
49
 *                   &lt;/element&gt;
50
 *                 &lt;/sequence&gt;
51
 *               &lt;/restriction&gt;
52
 *             &lt;/complexContent&gt;
53
 *           &lt;/complexType&gt;
54
 *         &lt;/element&gt;
55
 *       &lt;/sequence&gt;
56
 *       &lt;attribute name="versao" use="required" type="{http://www.portalfiscal.inf.br/nfe}TVerDistDFe" /&gt;
57
 *     &lt;/restriction&gt;
58
 *   &lt;/complexContent&gt;
59
 * &lt;/complexType&gt;
60
 * </pre>
61
 *
62
 *
63
 */
64
@XmlAccessorType(XmlAccessType.FIELD)
65
@XmlType(name = "", propOrder = {
66
    "tpAmb",
67
    "verAplic",
68
    "cStat",
69
    "xMotivo",
70
    "dhResp",
71
    "ultNSU",
72
    "maxNSU",
73
    "loteDistDFeInt"
74
})
75
@XmlRootElement(name = "retDistDFeInt", namespace = "http://www.portalfiscal.inf.br/nfe")
76
public class RetDistDFeInt {
77
 
78
    @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true)
79
    protected String tpAmb;
80
    @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true)
81
    protected String verAplic;
82
    @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true)
83
    protected String cStat;
84
    @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true)
85
    protected String xMotivo;
86
    @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true)
87
    protected String dhResp;
88
    @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true)
89
    @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
90
    @XmlSchemaType(name = "token")
91
    protected String ultNSU;
92
    @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true)
93
    @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
94
    @XmlSchemaType(name = "token")
95
    protected String maxNSU;
96
    @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe")
97
    protected RetDistDFeInt.LoteDistDFeInt loteDistDFeInt;
98
    @XmlAttribute(name = "versao", required = true)
99
    protected String versao;
100
 
101
    /**
102
     * Obtém o valor da propriedade tpAmb.
103
     *
104
     * @return
105
     *     possible object is
106
     *     {@link String }
107
     *    
108
     */
109
    public String getTpAmb() {
110
        return tpAmb;
111
    }
112
 
113
    /**
114
     * Define o valor da propriedade tpAmb.
115
     *
116
     * @param value
117
     *     allowed object is
118
     *     {@link String }
119
     *    
120
     */
121
    public void setTpAmb(String value) {
122
        this.tpAmb = value;
123
    }
124
 
125
    /**
126
     * Obtém o valor da propriedade verAplic.
127
     *
128
     * @return
129
     *     possible object is
130
     *     {@link String }
131
     *    
132
     */
133
    public String getVerAplic() {
134
        return verAplic;
135
    }
136
 
137
    /**
138
     * Define o valor da propriedade verAplic.
139
     *
140
     * @param value
141
     *     allowed object is
142
     *     {@link String }
143
     *    
144
     */
145
    public void setVerAplic(String value) {
146
        this.verAplic = value;
147
    }
148
 
149
    /**
150
     * Obtém o valor da propriedade cStat.
151
     *
152
     * @return
153
     *     possible object is
154
     *     {@link String }
155
     *    
156
     */
157
    public String getCStat() {
158
        return cStat;
159
    }
160
 
161
    /**
162
     * Define o valor da propriedade cStat.
163
     *
164
     * @param value
165
     *     allowed object is
166
     *     {@link String }
167
     *    
168
     */
169
    public void setCStat(String value) {
170
        this.cStat = value;
171
    }
172
 
173
    /**
174
     * Obtém o valor da propriedade xMotivo.
175
     *
176
     * @return
177
     *     possible object is
178
     *     {@link String }
179
     *    
180
     */
181
    public String getXMotivo() {
182
        return xMotivo;
183
    }
184
 
185
    /**
186
     * Define o valor da propriedade xMotivo.
187
     *
188
     * @param value
189
     *     allowed object is
190
     *     {@link String }
191
     *    
192
     */
193
    public void setXMotivo(String value) {
194
        this.xMotivo = value;
195
    }
196
 
197
    /**
198
     * Obtém o valor da propriedade dhResp.
199
     *
200
     * @return
201
     *     possible object is
202
     *     {@link String }
203
     *    
204
     */
205
    public String getDhResp() {
206
        return dhResp;
207
    }
208
 
209
    /**
210
     * Define o valor da propriedade dhResp.
211
     *
212
     * @param value
213
     *     allowed object is
214
     *     {@link String }
215
     *    
216
     */
217
    public void setDhResp(String value) {
218
        this.dhResp = value;
219
    }
220
 
221
    /**
222
     * Obtém o valor da propriedade ultNSU.
223
     *
224
     * @return
225
     *     possible object is
226
     *     {@link String }
227
     *    
228
     */
229
    public String getUltNSU() {
230
        return ultNSU;
231
    }
232
 
233
    /**
234
     * Define o valor da propriedade ultNSU.
235
     *
236
     * @param value
237
     *     allowed object is
238
     *     {@link String }
239
     *    
240
     */
241
    public void setUltNSU(String value) {
242
        this.ultNSU = value;
243
    }
244
 
245
    /**
246
     * Obtém o valor da propriedade maxNSU.
247
     *
248
     * @return
249
     *     possible object is
250
     *     {@link String }
251
     *    
252
     */
253
    public String getMaxNSU() {
254
        return maxNSU;
255
    }
256
 
257
    /**
258
     * Define o valor da propriedade maxNSU.
259
     *
260
     * @param value
261
     *     allowed object is
262
     *     {@link String }
263
     *    
264
     */
265
    public void setMaxNSU(String value) {
266
        this.maxNSU = value;
267
    }
268
 
269
    /**
270
     * Obtém o valor da propriedade loteDistDFeInt.
271
     *
272
     * @return
273
     *     possible object is
274
     *     {@link RetDistDFeInt.LoteDistDFeInt }
275
     *    
276
     */
277
    public RetDistDFeInt.LoteDistDFeInt getLoteDistDFeInt() {
278
        return loteDistDFeInt;
279
    }
280
 
281
    /**
282
     * Define o valor da propriedade loteDistDFeInt.
283
     *
284
     * @param value
285
     *     allowed object is
286
     *     {@link RetDistDFeInt.LoteDistDFeInt }
287
     *    
288
     */
289
    public void setLoteDistDFeInt(RetDistDFeInt.LoteDistDFeInt value) {
290
        this.loteDistDFeInt = value;
291
    }
292
 
293
    /**
294
     * Obtém o valor da propriedade versao.
295
     *
296
     * @return
297
     *     possible object is
298
     *     {@link String }
299
     *    
300
     */
301
    public String getVersao() {
302
        return versao;
303
    }
304
 
305
    /**
306
     * Define o valor da propriedade versao.
307
     *
308
     * @param value
309
     *     allowed object is
310
     *     {@link String }
311
     *    
312
     */
313
    public void setVersao(String value) {
314
        this.versao = value;
315
    }
316
 
317
 
318
    /**
319
     * <p>Classe Java de anonymous complex type.
320
     *
321
     * <p>O seguinte fragmento do esquema especifica o conteúdo esperado contido dentro desta classe.
322
     *
323
     * <pre>
324
     * &lt;complexType&gt;
325
     *   &lt;complexContent&gt;
326
     *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
327
     *       &lt;sequence maxOccurs="50"&gt;
328
     *         &lt;element name="docZip"&gt;
329
     *           &lt;complexType&gt;
330
     *             &lt;simpleContent&gt;
331
     *               &lt;extension base="&lt;http://www.w3.org/2001/XMLSchema&gt;base64Binary"&gt;
332
     *                 &lt;attribute name="NSU" use="required" type="{http://www.portalfiscal.inf.br/nfe}TNSU" /&gt;
333
     *                 &lt;attribute name="schema" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /&gt;
334
     *               &lt;/extension&gt;
335
     *             &lt;/simpleContent&gt;
336
     *           &lt;/complexType&gt;
337
     *         &lt;/element&gt;
338
     *       &lt;/sequence&gt;
339
     *     &lt;/restriction&gt;
340
     *   &lt;/complexContent&gt;
341
     * &lt;/complexType&gt;
342
     * </pre>
343
     *
344
     *
345
     */
346
    @XmlAccessorType(XmlAccessType.FIELD)
347
    @XmlType(name = "", propOrder = {
348
        "docZip"
349
    })
350
    public static class LoteDistDFeInt {
351
 
352
        @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true)
353
        protected List<RetDistDFeInt.LoteDistDFeInt.DocZip> docZip;
354
 
355
        /**
356
         * Gets the value of the docZip property.
357
         *
358
         * <p>
359
         * This accessor method returns a reference to the live list,
360
         * not a snapshot. Therefore any modification you make to the
361
         * returned list will be present inside the JAXB object.
362
         * This is why there is not a <CODE>set</CODE> method for the docZip property.
363
         *
364
         * <p>
365
         * For example, to add a new item, do as follows:
366
         * <pre>
367
         *    getDocZip().add(newItem);
368
         * </pre>
369
         *
370
         *
371
         * <p>
372
         * Objects of the following type(s) are allowed in the list
373
         * {@link RetDistDFeInt.LoteDistDFeInt.DocZip }
374
         *
375
         *
376
         */
377
        public List<RetDistDFeInt.LoteDistDFeInt.DocZip> getDocZip() {
378
            if (docZip == null) {
379
                docZip = new ArrayList<RetDistDFeInt.LoteDistDFeInt.DocZip>();
380
            }
381
            return this.docZip;
382
        }
383
 
384
 
385
        /**
386
         * <p>Classe Java de anonymous complex type.
387
         *
388
         * <p>O seguinte fragmento do esquema especifica o conteúdo esperado contido dentro desta classe.
389
         *
390
         * <pre>
391
         * &lt;complexType&gt;
392
         *   &lt;simpleContent&gt;
393
         *     &lt;extension base="&lt;http://www.w3.org/2001/XMLSchema&gt;base64Binary"&gt;
394
         *       &lt;attribute name="NSU" use="required" type="{http://www.portalfiscal.inf.br/nfe}TNSU" /&gt;
395
         *       &lt;attribute name="schema" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /&gt;
396
         *     &lt;/extension&gt;
397
         *   &lt;/simpleContent&gt;
398
         * &lt;/complexType&gt;
399
         * </pre>
400
         *
401
         *
402
         */
403
        @XmlAccessorType(XmlAccessType.FIELD)
404
        @XmlType(name = "", propOrder = {
405
            "value"
406
        })
407
        public static class DocZip {
408
 
409
            @XmlValue
410
            protected byte[] value;
411
            @XmlAttribute(name = "NSU", required = true)
412
            @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
413
            protected String nsu;
414
            @XmlAttribute(name = "schema", required = true)
415
            protected String schema;
416
 
417
            /**
418
             * Obtém o valor da propriedade value.
419
             *
420
             * @return
421
             *     possible object is
422
             *     byte[]
423
             */
424
            public byte[] getValue() {
425
                return value;
426
            }
427
 
428
            /**
429
             * Define o valor da propriedade value.
430
             *
431
             * @param value
432
             *     allowed object is
433
             *     byte[]
434
             */
435
            public void setValue(byte[] value) {
436
                this.value = value;
437
            }
438
 
439
            /**
440
             * Obtém o valor da propriedade nsu.
441
             *
442
             * @return
443
             *     possible object is
444
             *     {@link String }
445
             *    
446
             */
447
            public String getNSU() {
448
                return nsu;
449
            }
450
 
451
            /**
452
             * Define o valor da propriedade nsu.
453
             *
454
             * @param value
455
             *     allowed object is
456
             *     {@link String }
457
             *    
458
             */
459
            public void setNSU(String value) {
460
                this.nsu = value;
461
            }
462
 
463
            /**
464
             * Obtém o valor da propriedade schema.
465
             *
466
             * @return
467
             *     possible object is
468
             *     {@link String }
469
             *    
470
             */
471
            public String getSchema() {
472
                return schema;
473
            }
474
 
475
            /**
476
             * Define o valor da propriedade schema.
477
             *
478
             * @param value
479
             *     allowed object is
480
             *     {@link String }
481
             *    
482
             */
483
            public void setSchema(String value) {
484
                this.schema = value;
485
            }
486
 
487
        }
488
 
489
    }
490
 
491
}