+ self._set_attr(self.declaracao, "nome", nome)
+ def get_contribuinte(self, attr):
+ if attr == "nome":
+ return self.get_nome()
+ return self._get_attr(self.contribuinte, attr)
+ def set_contribuinte(self, attr, val):
+ if attr == "nome":
+ self.set_nome(val)
+ self._set_attr(self.contribuinte, attr, val)
+
+attributes = [
+ "nome",
+ "dataNascimento",
+ "tituloEleitor",
+ "doencaDeficiencia",
+ "exterior",
+ "pais",
+ "cep",
+ "uf",
+ "cidade",
+ "municipio",
+ "tipoLogradouro",
+ "logradouro",
+ "numero",
+ "complemento",
+ "bairro",
+ "bairroExt",
+ "cepExt",
+ "logradouroExt",
+ "numeroExt",
+ "complementoExt",
+ "ocupacaoPrincipal",
+ "codigoExterior",
+ "ddd",
+ "telefone",
+ "naturezaOcupacao",
+]