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.envcce;
3
 
4
import javax.xml.bind.annotation.*;
5
import java.util.ArrayList;
6
import java.util.List;
7
 
8
 
9
/**
10
 *  Tipo Lote de Envio
11
 *
12
 * <p>Classe Java de TEnvEvento 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="TEnvEvento"&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="idLote"&gt;
22
 *           &lt;simpleType&gt;
23
 *             &lt;restriction base="{http://www.w3.org/2001/XMLSchema}string"&gt;
24
 *               &lt;whiteSpace value="preserve"/&gt;
25
 *               &lt;pattern value="[0-9]{1,15}"/&gt;
26
 *             &lt;/restriction&gt;
27
 *           &lt;/simpleType&gt;
28
 *         &lt;/element&gt;
29
 *         &lt;element name="evento" type="{http://www.portalfiscal.inf.br/nfe}TEvento" maxOccurs="20"/&gt;
30
 *       &lt;/sequence&gt;
31
 *       &lt;attribute name="versao" use="required" type="{http://www.portalfiscal.inf.br/nfe}TVerEnvEvento" /&gt;
32
 *     &lt;/restriction&gt;
33
 *   &lt;/complexContent&gt;
34
 * &lt;/complexType&gt;
35
 * </pre>
36
 *
37
 *
38
 */
39
@XmlAccessorType(XmlAccessType.FIELD)
40
@XmlType(name = "TEnvEvento", namespace = "http://www.portalfiscal.inf.br/nfe", propOrder = {
41
    "idLote",
42
    "evento"
43
})
44
public class TEnvEvento {
45
 
46
    @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true)
47
    protected String idLote;
48
    @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true)
49
    protected List<TEvento> evento;
50
    @XmlAttribute(name = "versao", required = true)
51
    protected String versao;
52
 
53
    /**
54
     * Obtém o valor da propriedade idLote.
55
     *
56
     * @return
57
     *     possible object is
58
     *     {@link String }
59
     *    
60
     */
61
    public String getIdLote() {
62
        return idLote;
63
    }
64
 
65
    /**
66
     * Define o valor da propriedade idLote.
67
     *
68
     * @param value
69
     *     allowed object is
70
     *     {@link String }
71
     *    
72
     */
73
    public void setIdLote(String value) {
74
        this.idLote = value;
75
    }
76
 
77
    /**
78
     * Gets the value of the evento property.
79
     *
80
     * <p>
81
     * This accessor method returns a reference to the live list,
82
     * not a snapshot. Therefore any modification you make to the
83
     * returned list will be present inside the JAXB object.
84
     * This is why there is not a <CODE>set</CODE> method for the evento property.
85
     *
86
     * <p>
87
     * For example, to add a new item, do as follows:
88
     * <pre>
89
     *    getEvento().add(newItem);
90
     * </pre>
91
     *
92
     *
93
     * <p>
94
     * Objects of the following type(s) are allowed in the list
95
     * {@link TEvento }
96
     *
97
     *
98
     */
99
    public List<TEvento> getEvento() {
100
        if (evento == null) {
101
            evento = new ArrayList<TEvento>();
102
        }
103
        return this.evento;
104
    }
105
 
106
    /**
107
     * Obtém o valor da propriedade versao.
108
     *
109
     * @return
110
     *     possible object is
111
     *     {@link String }
112
     *    
113
     */
114
    public String getVersao() {
115
        return versao;
116
    }
117
 
118
    /**
119
     * Define o valor da propriedade versao.
120
     *
121
     * @param value
122
     *     allowed object is
123
     *     {@link String }
124
     *    
125
     */
126
    public void setVersao(String value) {
127
        this.versao = value;
128
    }
129
 
130
}