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