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.consCad;
3
 
4
import javax.xml.bind.annotation.XmlAccessType;
5
import javax.xml.bind.annotation.XmlAccessorType;
6
import javax.xml.bind.annotation.XmlElement;
7
import javax.xml.bind.annotation.XmlType;
8
import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
9
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
10
 
11
 
12
/**
13
 * Tipo Dados do Endereço
14
 *
15
 * <p>Classe Java de TEndereco complex type.
16
 *
17
 * <p>O seguinte fragmento do esquema especifica o conteúdo esperado contido dentro desta classe.
18
 *
19
 * <pre>
20
 * &lt;complexType name="TEndereco"&gt;
21
 *   &lt;complexContent&gt;
22
 *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
23
 *       &lt;sequence&gt;
24
 *         &lt;element name="xLgr" minOccurs="0"&gt;
25
 *           &lt;simpleType&gt;
26
 *             &lt;restriction base="{http://www.portalfiscal.inf.br/nfe}TString"&gt;
27
 *               &lt;minLength value="1"/&gt;
28
 *               &lt;maxLength value="255"/&gt;
29
 *             &lt;/restriction&gt;
30
 *           &lt;/simpleType&gt;
31
 *         &lt;/element&gt;
32
 *         &lt;element name="nro" minOccurs="0"&gt;
33
 *           &lt;simpleType&gt;
34
 *             &lt;restriction base="{http://www.portalfiscal.inf.br/nfe}TString"&gt;
35
 *               &lt;maxLength value="60"/&gt;
36
 *               &lt;minLength value="1"/&gt;
37
 *             &lt;/restriction&gt;
38
 *           &lt;/simpleType&gt;
39
 *         &lt;/element&gt;
40
 *         &lt;element name="xCpl" minOccurs="0"&gt;
41
 *           &lt;simpleType&gt;
42
 *             &lt;restriction base="{http://www.portalfiscal.inf.br/nfe}TString"&gt;
43
 *               &lt;maxLength value="60"/&gt;
44
 *               &lt;minLength value="1"/&gt;
45
 *             &lt;/restriction&gt;
46
 *           &lt;/simpleType&gt;
47
 *         &lt;/element&gt;
48
 *         &lt;element name="xBairro" minOccurs="0"&gt;
49
 *           &lt;simpleType&gt;
50
 *             &lt;restriction base="{http://www.portalfiscal.inf.br/nfe}TString"&gt;
51
 *               &lt;maxLength value="60"/&gt;
52
 *               &lt;minLength value="1"/&gt;
53
 *             &lt;/restriction&gt;
54
 *           &lt;/simpleType&gt;
55
 *         &lt;/element&gt;
56
 *         &lt;element name="cMun" type="{http://www.portalfiscal.inf.br/nfe}TCodMunIBGE" minOccurs="0"/&gt;
57
 *         &lt;element name="xMun" minOccurs="0"&gt;
58
 *           &lt;simpleType&gt;
59
 *             &lt;restriction base="{http://www.portalfiscal.inf.br/nfe}TString"&gt;
60
 *               &lt;maxLength value="60"/&gt;
61
 *               &lt;minLength value="1"/&gt;
62
 *             &lt;/restriction&gt;
63
 *           &lt;/simpleType&gt;
64
 *         &lt;/element&gt;
65
 *         &lt;element name="CEP" minOccurs="0"&gt;
66
 *           &lt;simpleType&gt;
67
 *             &lt;restriction base="{http://www.w3.org/2001/XMLSchema}token"&gt;
68
 *               &lt;pattern value="[0-9]{7,8}"/&gt;
69
 *             &lt;/restriction&gt;
70
 *           &lt;/simpleType&gt;
71
 *         &lt;/element&gt;
72
 *       &lt;/sequence&gt;
73
 *     &lt;/restriction&gt;
74
 *   &lt;/complexContent&gt;
75
 * &lt;/complexType&gt;
76
 * </pre>
77
 *
78
 *
79
 */
80
@XmlAccessorType(XmlAccessType.FIELD)
81
@XmlType(name = "TEndereco", namespace = "http://www.portalfiscal.inf.br/nfe", propOrder = {
82
    "xLgr",
83
    "nro",
84
    "xCpl",
85
    "xBairro",
86
    "cMun",
87
    "xMun",
88
    "cep"
89
})
90
public class TEndereco {
91
 
92
    @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe")
93
    protected String xLgr;
94
    @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe")
95
    protected String nro;
96
    @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe")
97
    protected String xCpl;
98
    @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe")
99
    protected String xBairro;
100
    @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe")
101
    protected String cMun;
102
    @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe")
103
    protected String xMun;
104
    @XmlElement(name = "CEP", namespace = "http://www.portalfiscal.inf.br/nfe")
105
    @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
106
    protected String cep;
107
 
108
    /**
109
     * Obtém o valor da propriedade xLgr.
110
     *
111
     * @return
112
     *     possible object is
113
     *     {@link String }
114
     *    
115
     */
116
    public String getXLgr() {
117
        return xLgr;
118
    }
119
 
120
    /**
121
     * Define o valor da propriedade xLgr.
122
     *
123
     * @param value
124
     *     allowed object is
125
     *     {@link String }
126
     *    
127
     */
128
    public void setXLgr(String value) {
129
        this.xLgr = value;
130
    }
131
 
132
    /**
133
     * Obtém o valor da propriedade nro.
134
     *
135
     * @return
136
     *     possible object is
137
     *     {@link String }
138
     *    
139
     */
140
    public String getNro() {
141
        return nro;
142
    }
143
 
144
    /**
145
     * Define o valor da propriedade nro.
146
     *
147
     * @param value
148
     *     allowed object is
149
     *     {@link String }
150
     *    
151
     */
152
    public void setNro(String value) {
153
        this.nro = value;
154
    }
155
 
156
    /**
157
     * Obtém o valor da propriedade xCpl.
158
     *
159
     * @return
160
     *     possible object is
161
     *     {@link String }
162
     *    
163
     */
164
    public String getXCpl() {
165
        return xCpl;
166
    }
167
 
168
    /**
169
     * Define o valor da propriedade xCpl.
170
     *
171
     * @param value
172
     *     allowed object is
173
     *     {@link String }
174
     *    
175
     */
176
    public void setXCpl(String value) {
177
        this.xCpl = value;
178
    }
179
 
180
    /**
181
     * Obtém o valor da propriedade xBairro.
182
     *
183
     * @return
184
     *     possible object is
185
     *     {@link String }
186
     *    
187
     */
188
    public String getXBairro() {
189
        return xBairro;
190
    }
191
 
192
    /**
193
     * Define o valor da propriedade xBairro.
194
     *
195
     * @param value
196
     *     allowed object is
197
     *     {@link String }
198
     *    
199
     */
200
    public void setXBairro(String value) {
201
        this.xBairro = value;
202
    }
203
 
204
    /**
205
     * Obtém o valor da propriedade cMun.
206
     *
207
     * @return
208
     *     possible object is
209
     *     {@link String }
210
     *    
211
     */
212
    public String getCMun() {
213
        return cMun;
214
    }
215
 
216
    /**
217
     * Define o valor da propriedade cMun.
218
     *
219
     * @param value
220
     *     allowed object is
221
     *     {@link String }
222
     *    
223
     */
224
    public void setCMun(String value) {
225
        this.cMun = value;
226
    }
227
 
228
    /**
229
     * Obtém o valor da propriedade xMun.
230
     *
231
     * @return
232
     *     possible object is
233
     *     {@link String }
234
     *    
235
     */
236
    public String getXMun() {
237
        return xMun;
238
    }
239
 
240
    /**
241
     * Define o valor da propriedade xMun.
242
     *
243
     * @param value
244
     *     allowed object is
245
     *     {@link String }
246
     *    
247
     */
248
    public void setXMun(String value) {
249
        this.xMun = value;
250
    }
251
 
252
    /**
253
     * Obtém o valor da propriedade cep.
254
     *
255
     * @return
256
     *     possible object is
257
     *     {@link String }
258
     *    
259
     */
260
    public String getCEP() {
261
        return cep;
262
    }
263
 
264
    /**
265
     * Define o valor da propriedade cep.
266
     *
267
     * @param value
268
     *     allowed object is
269
     *     {@link String }
270
     *    
271
     */
272
    public void setCEP(String value) {
273
        this.cep = value;
274
    }
275
 
276
}