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_4.enviNFe;
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 Pedido de Concessão de Autorização da Nota Fiscal Eletrônica
15
 *
16
 * <p>Classe Java de TEnviNFe 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="TEnviNFe"&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" type="{http://www.portalfiscal.inf.br/nfe}TIdLote"/&gt;
26
 *         &lt;element name="indSinc"&gt;
27
 *           &lt;simpleType&gt;
28
 *             &lt;restriction base="{http://www.w3.org/2001/XMLSchema}string"&gt;
29
 *               &lt;whiteSpace value="preserve"/&gt;
30
 *               &lt;enumeration value="0"/&gt;
31
 *               &lt;enumeration value="1"/&gt;
32
 *             &lt;/restriction&gt;
33
 *           &lt;/simpleType&gt;
34
 *         &lt;/element&gt;
35
 *         &lt;element name="NFe" type="{http://www.portalfiscal.inf.br/nfe}TNFe" maxOccurs="50"/&gt;
36
 *       &lt;/sequence&gt;
37
 *       &lt;attribute name="versao" use="required" type="{http://www.portalfiscal.inf.br/nfe}TVerNFe" /&gt;
38
 *     &lt;/restriction&gt;
39
 *   &lt;/complexContent&gt;
40
 * &lt;/complexType&gt;
41
 * </pre>
42
 *
43
 *
44
 */
45
@XmlAccessorType(XmlAccessType.FIELD)
46
@XmlType(name = "TEnviNFe", namespace = "http://www.portalfiscal.inf.br/nfe", propOrder = {
47
    "idLote",
48
    "indSinc",
49
    "nFe"
50
})
51
public class TEnviNFe {
52
 
53
    @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true)
54
    protected String idLote;
55
    @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true)
56
    protected String indSinc;
57
    @XmlElement(name = "NFe", namespace = "http://www.portalfiscal.inf.br/nfe", required = true)
58
    protected List<TNFe> nFe;
59
    @XmlAttribute(name = "versao", required = true)
60
    protected String versao;
61
 
62
    /**
63
     * Obtém o valor da propriedade idLote.
64
     *
65
     * @return
66
     *     possible object is
67
     *     {@link String }
68
     *    
69
     */
70
    public String getIdLote() {
71
        return idLote;
72
    }
73
 
74
    /**
75
     * Define o valor da propriedade idLote.
76
     *
77
     * @param value
78
     *     allowed object is
79
     *     {@link String }
80
     *    
81
     */
82
    public void setIdLote(String value) {
83
        this.idLote = value;
84
    }
85
 
86
    /**
87
     * Obtém o valor da propriedade indSinc.
88
     *
89
     * @return
90
     *     possible object is
91
     *     {@link String }
92
     *    
93
     */
94
    public String getIndSinc() {
95
        return indSinc;
96
    }
97
 
98
    /**
99
     * Define o valor da propriedade indSinc.
100
     *
101
     * @param value
102
     *     allowed object is
103
     *     {@link String }
104
     *    
105
     */
106
    public void setIndSinc(String value) {
107
        this.indSinc = value;
108
    }
109
 
110
    /**
111
     * Gets the value of the nFe property.
112
     *
113
     * <p>
114
     * This accessor method returns a reference to the live list,
115
     * not a snapshot. Therefore any modification you make to the
116
     * returned list will be present inside the JAXB object.
117
     * This is why there is not a <CODE>set</CODE> method for the nFe property.
118
     *
119
     * <p>
120
     * For example, to add a new item, do as follows:
121
     * <pre>
122
     *    getNFe().add(newItem);
123
     * </pre>
124
     *
125
     *
126
     * <p>
127
     * Objects of the following type(s) are allowed in the list
128
     * {@link TNFe }
129
     *
130
     *
131
     */
132
    public List<TNFe> getNFe() {
133
        if (nFe == null) {
134
            nFe = new ArrayList<TNFe>();
135
        }
136
        return this.nFe;
137
    }
138
 
139
    /**
140
     * Obtém o valor da propriedade versao.
141
     *
142
     * @return
143
     *     possible object is
144
     *     {@link String }
145
     *    
146
     */
147
    public String getVersao() {
148
        return versao;
149
    }
150
 
151
    /**
152
     * Define o valor da propriedade versao.
153
     *
154
     * @param value
155
     *     allowed object is
156
     *     {@link String }
157
     *    
158
     */
159
    public void setVersao(String value) {
160
        this.versao = value;
161
    }
162
 
163
}