br.jus.cnj.intercomunicacao.beans
Class Endereco

java.lang.Object
  extended by br.jus.cnj.intercomunicacao.beans.Endereco
All Implemented Interfaces:
Serializable

public class Endereco
extends Object
implements Serializable

Tipo de elemento destinado a permitir o cadastro de endere�os. Esse tipo tem o atributo opcional 'cep' e os elementos de texto 'logradouro', 'numero', 'complemento', 'bairro', 'cidade', 'estado' e 'pais', todos opcionais. Na implementa��o de valida��o, a presen�a do 'cep' deve dispensar o preenchimento dos elementos 'cidade', 'estado' e 'pais' e poder� dispensar a presen�a dos demais elementos que j� estiverem presentes no diret�rio nacional de endere�os (DNE) como vinculados ao c�digo de endere�amento postal definido.

Java class for tipoEndereco complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="tipoEndereco">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="logradouro" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="numero" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="complemento" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="bairro" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="cidade" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="estado" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="pais" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
       </sequence>
       <attribute name="cep">
         <simpleType>
           <restriction base="{http://www.w3.org/2001/XMLSchema}string">
             <pattern value="\d{8}"/>
           </restriction>
         </simpleType>
       </attribute>
     </restriction>
   </complexContent>
 </complexType>
 

See Also:
Serialized Form

Field Summary
protected  String bairro
           
protected  String cep
           
protected  String cidade
           
protected  String complemento
           
protected  String estado
           
protected  String logradouro
           
protected  String numero
           
protected  String pais
           
 
Constructor Summary
Endereco()
           
 
Method Summary
 String getBairro()
          Gets the value of the bairro property.
 String getCep()
          Gets the value of the cep property.
 String getCidade()
          Gets the value of the cidade property.
 String getComplemento()
          Gets the value of the complemento property.
 String getEstado()
          Gets the value of the estado property.
 String getLogradouro()
          Gets the value of the logradouro property.
 String getNumero()
          Gets the value of the numero property.
 String getPais()
          Gets the value of the pais property.
 boolean isSetBairro()
           
 boolean isSetCep()
           
 boolean isSetCidade()
           
 boolean isSetComplemento()
           
 boolean isSetEstado()
           
 boolean isSetLogradouro()
           
 boolean isSetNumero()
           
 boolean isSetPais()
           
 void setBairro(String value)
          Sets the value of the bairro property.
 void setCep(String value)
          Sets the value of the cep property.
 void setCidade(String value)
          Sets the value of the cidade property.
 void setComplemento(String value)
          Sets the value of the complemento property.
 void setEstado(String value)
          Sets the value of the estado property.
 void setLogradouro(String value)
          Sets the value of the logradouro property.
 void setNumero(String value)
          Sets the value of the numero property.
 void setPais(String value)
          Sets the value of the pais property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

logradouro

protected String logradouro

numero

protected String numero

complemento

protected String complemento

bairro

protected String bairro

cidade

protected String cidade

estado

protected String estado

pais

protected String pais

cep

protected String cep
Constructor Detail

Endereco

public Endereco()
Method Detail

getLogradouro

public String getLogradouro()
Gets the value of the logradouro property.

Returns:
possible object is String

setLogradouro

public void setLogradouro(String value)
Sets the value of the logradouro property.

Parameters:
value - allowed object is String

isSetLogradouro

public boolean isSetLogradouro()

getNumero

public String getNumero()
Gets the value of the numero property.

Returns:
possible object is String

setNumero

public void setNumero(String value)
Sets the value of the numero property.

Parameters:
value - allowed object is String

isSetNumero

public boolean isSetNumero()

getComplemento

public String getComplemento()
Gets the value of the complemento property.

Returns:
possible object is String

setComplemento

public void setComplemento(String value)
Sets the value of the complemento property.

Parameters:
value - allowed object is String

isSetComplemento

public boolean isSetComplemento()

getBairro

public String getBairro()
Gets the value of the bairro property.

Returns:
possible object is String

setBairro

public void setBairro(String value)
Sets the value of the bairro property.

Parameters:
value - allowed object is String

isSetBairro

public boolean isSetBairro()

getCidade

public String getCidade()
Gets the value of the cidade property.

Returns:
possible object is String

setCidade

public void setCidade(String value)
Sets the value of the cidade property.

Parameters:
value - allowed object is String

isSetCidade

public boolean isSetCidade()

getEstado

public String getEstado()
Gets the value of the estado property.

Returns:
possible object is String

setEstado

public void setEstado(String value)
Sets the value of the estado property.

Parameters:
value - allowed object is String

isSetEstado

public boolean isSetEstado()

getPais

public String getPais()
Gets the value of the pais property.

Returns:
possible object is String

setPais

public void setPais(String value)
Sets the value of the pais property.

Parameters:
value - allowed object is String

isSetPais

public boolean isSetPais()

getCep

public String getCep()
Gets the value of the cep property.

Returns:
possible object is String

setCep

public void setCep(String value)
Sets the value of the cep property.

Parameters:
value - allowed object is String

isSetCep

public boolean isSetCep()


Copyright © 2012 Conselho Nacional de Justiça. All Rights Reserved.