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.resevento;
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.XmlRootElement;
9
import javax.xml.bind.annotation.XmlType;
10
 
11
 
12
/**
13
 * <p>Classe Java de anonymous complex type.
14
 *
15
 * <p>O seguinte fragmento do esquema especifica o conteúdo esperado contido dentro desta classe.
16
 *
17
 * <pre>
18
 * &lt;complexType&gt;
19
 *   &lt;complexContent&gt;
20
 *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
21
 *       &lt;sequence&gt;
22
 *         &lt;element name="cOrgao" type="{http://www.portalfiscal.inf.br/nfe}TCOrgaoIBGE"/&gt;
23
 *         &lt;choice&gt;
24
 *           &lt;element name="CNPJ" type="{http://www.portalfiscal.inf.br/nfe}TCnpj"/&gt;
25
 *           &lt;element name="CPF" type="{http://www.portalfiscal.inf.br/nfe}TCpf"/&gt;
26
 *         &lt;/choice&gt;
27
 *         &lt;element name="chNFe" type="{http://www.portalfiscal.inf.br/nfe}TChNFe"/&gt;
28
 *         &lt;element name="dhEvento" type="{http://www.portalfiscal.inf.br/nfe}TDateTimeUTC"/&gt;
29
 *         &lt;element name="tpEvento"&gt;
30
 *           &lt;simpleType&gt;
31
 *             &lt;restriction base="{http://www.w3.org/2001/XMLSchema}string"&gt;
32
 *               &lt;whiteSpace value="preserve"/&gt;
33
 *               &lt;pattern value="[0-9]{6}"/&gt;
34
 *             &lt;/restriction&gt;
35
 *           &lt;/simpleType&gt;
36
 *         &lt;/element&gt;
37
 *         &lt;element name="nSeqEvento"&gt;
38
 *           &lt;simpleType&gt;
39
 *             &lt;restriction base="{http://www.w3.org/2001/XMLSchema}string"&gt;
40
 *               &lt;whiteSpace value="preserve"/&gt;
41
 *               &lt;pattern value="[1-9][0-9]{0,1}"/&gt;
42
 *             &lt;/restriction&gt;
43
 *           &lt;/simpleType&gt;
44
 *         &lt;/element&gt;
45
 *         &lt;element name="xEvento"&gt;
46
 *           &lt;simpleType&gt;
47
 *             &lt;restriction base="{http://www.portalfiscal.inf.br/nfe}TString"&gt;
48
 *               &lt;minLength value="5"/&gt;
49
 *               &lt;maxLength value="60"/&gt;
50
 *             &lt;/restriction&gt;
51
 *           &lt;/simpleType&gt;
52
 *         &lt;/element&gt;
53
 *         &lt;element name="dhRecbto" type="{http://www.portalfiscal.inf.br/nfe}TDateTimeUTC"/&gt;
54
 *         &lt;element name="nProt" type="{http://www.portalfiscal.inf.br/nfe}TProt"/&gt;
55
 *       &lt;/sequence&gt;
56
 *       &lt;attribute name="versao" use="required" type="{http://www.portalfiscal.inf.br/nfe}TVerResEvento" /&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
    "cOrgao",
67
    "cnpj",
68
    "cpf",
69
    "chNFe",
70
    "dhEvento",
71
    "tpEvento",
72
    "nSeqEvento",
73
    "xEvento",
74
    "dhRecbto",
75
    "nProt"
76
})
77
@XmlRootElement(name = "resEvento", namespace = "http://www.portalfiscal.inf.br/nfe")
78
public class ResEvento {
79
 
80
    @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true)
81
    protected String cOrgao;
82
    @XmlElement(name = "CNPJ", namespace = "http://www.portalfiscal.inf.br/nfe")
83
    protected String cnpj;
84
    @XmlElement(name = "CPF", namespace = "http://www.portalfiscal.inf.br/nfe")
85
    protected String cpf;
86
    @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true)
87
    protected String chNFe;
88
    @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true)
89
    protected String dhEvento;
90
    @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true)
91
    protected String tpEvento;
92
    @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true)
93
    protected String nSeqEvento;
94
    @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true)
95
    protected String xEvento;
96
    @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true)
97
    protected String dhRecbto;
98
    @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true)
99
    protected String nProt;
100
    @XmlAttribute(name = "versao", required = true)
101
    protected String versao;
102
 
103
    /**
104
     * Obtém o valor da propriedade cOrgao.
105
     *
106
     * @return
107
     *     possible object is
108
     *     {@link String }
109
     *    
110
     */
111
    public String getCOrgao() {
112
        return cOrgao;
113
    }
114
 
115
    /**
116
     * Define o valor da propriedade cOrgao.
117
     *
118
     * @param value
119
     *     allowed object is
120
     *     {@link String }
121
     *    
122
     */
123
    public void setCOrgao(String value) {
124
        this.cOrgao = value;
125
    }
126
 
127
    /**
128
     * Obtém o valor da propriedade cnpj.
129
     *
130
     * @return
131
     *     possible object is
132
     *     {@link String }
133
     *    
134
     */
135
    public String getCNPJ() {
136
        return cnpj;
137
    }
138
 
139
    /**
140
     * Define o valor da propriedade cnpj.
141
     *
142
     * @param value
143
     *     allowed object is
144
     *     {@link String }
145
     *    
146
     */
147
    public void setCNPJ(String value) {
148
        this.cnpj = value;
149
    }
150
 
151
    /**
152
     * Obtém o valor da propriedade cpf.
153
     *
154
     * @return
155
     *     possible object is
156
     *     {@link String }
157
     *    
158
     */
159
    public String getCPF() {
160
        return cpf;
161
    }
162
 
163
    /**
164
     * Define o valor da propriedade cpf.
165
     *
166
     * @param value
167
     *     allowed object is
168
     *     {@link String }
169
     *    
170
     */
171
    public void setCPF(String value) {
172
        this.cpf = value;
173
    }
174
 
175
    /**
176
     * Obtém o valor da propriedade chNFe.
177
     *
178
     * @return
179
     *     possible object is
180
     *     {@link String }
181
     *    
182
     */
183
    public String getChNFe() {
184
        return chNFe;
185
    }
186
 
187
    /**
188
     * Define o valor da propriedade chNFe.
189
     *
190
     * @param value
191
     *     allowed object is
192
     *     {@link String }
193
     *    
194
     */
195
    public void setChNFe(String value) {
196
        this.chNFe = value;
197
    }
198
 
199
    /**
200
     * Obtém o valor da propriedade dhEvento.
201
     *
202
     * @return
203
     *     possible object is
204
     *     {@link String }
205
     *    
206
     */
207
    public String getDhEvento() {
208
        return dhEvento;
209
    }
210
 
211
    /**
212
     * Define o valor da propriedade dhEvento.
213
     *
214
     * @param value
215
     *     allowed object is
216
     *     {@link String }
217
     *    
218
     */
219
    public void setDhEvento(String value) {
220
        this.dhEvento = value;
221
    }
222
 
223
    /**
224
     * Obtém o valor da propriedade tpEvento.
225
     *
226
     * @return
227
     *     possible object is
228
     *     {@link String }
229
     *    
230
     */
231
    public String getTpEvento() {
232
        return tpEvento;
233
    }
234
 
235
    /**
236
     * Define o valor da propriedade tpEvento.
237
     *
238
     * @param value
239
     *     allowed object is
240
     *     {@link String }
241
     *    
242
     */
243
    public void setTpEvento(String value) {
244
        this.tpEvento = value;
245
    }
246
 
247
    /**
248
     * Obtém o valor da propriedade nSeqEvento.
249
     *
250
     * @return
251
     *     possible object is
252
     *     {@link String }
253
     *    
254
     */
255
    public String getNSeqEvento() {
256
        return nSeqEvento;
257
    }
258
 
259
    /**
260
     * Define o valor da propriedade nSeqEvento.
261
     *
262
     * @param value
263
     *     allowed object is
264
     *     {@link String }
265
     *    
266
     */
267
    public void setNSeqEvento(String value) {
268
        this.nSeqEvento = value;
269
    }
270
 
271
    /**
272
     * Obtém o valor da propriedade xEvento.
273
     *
274
     * @return
275
     *     possible object is
276
     *     {@link String }
277
     *    
278
     */
279
    public String getXEvento() {
280
        return xEvento;
281
    }
282
 
283
    /**
284
     * Define o valor da propriedade xEvento.
285
     *
286
     * @param value
287
     *     allowed object is
288
     *     {@link String }
289
     *    
290
     */
291
    public void setXEvento(String value) {
292
        this.xEvento = value;
293
    }
294
 
295
    /**
296
     * Obtém o valor da propriedade dhRecbto.
297
     *
298
     * @return
299
     *     possible object is
300
     *     {@link String }
301
     *    
302
     */
303
    public String getDhRecbto() {
304
        return dhRecbto;
305
    }
306
 
307
    /**
308
     * Define o valor da propriedade dhRecbto.
309
     *
310
     * @param value
311
     *     allowed object is
312
     *     {@link String }
313
     *    
314
     */
315
    public void setDhRecbto(String value) {
316
        this.dhRecbto = value;
317
    }
318
 
319
    /**
320
     * Obtém o valor da propriedade nProt.
321
     *
322
     * @return
323
     *     possible object is
324
     *     {@link String }
325
     *    
326
     */
327
    public String getNProt() {
328
        return nProt;
329
    }
330
 
331
    /**
332
     * Define o valor da propriedade nProt.
333
     *
334
     * @param value
335
     *     allowed object is
336
     *     {@link String }
337
     *    
338
     */
339
    public void setNProt(String value) {
340
        this.nProt = value;
341
    }
342
 
343
    /**
344
     * Obtém o valor da propriedade versao.
345
     *
346
     * @return
347
     *     possible object is
348
     *     {@link String }
349
     *    
350
     */
351
    public String getVersao() {
352
        return versao;
353
    }
354
 
355
    /**
356
     * Define o valor da propriedade versao.
357
     *
358
     * @param value
359
     *     allowed object is
360
     *     {@link String }
361
     *    
362
     */
363
    public void setVersao(String value) {
364
        this.versao = value;
365
    }
366
 
367
}