diff --git a/src/main/java/br/gov/ans/sei/modelo/Andamento.java b/src/main/java/br/gov/ans/sei/modelo/Andamento.java deleted file mode 100644 index 23458bf..0000000 --- a/src/main/java/br/gov/ans/sei/modelo/Andamento.java +++ /dev/null @@ -1,167 +0,0 @@ -/** - * Andamento.java - * - * This file was auto-generated from WSDL - * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter. - */ - -package br.gov.ans.sei.modelo; - -import javax.xml.bind.annotation.XmlRootElement; - -@XmlRootElement -public class Andamento implements java.io.Serializable { - private String descricao; - - private String dataHora; - - private Unidade unidade; - - private Usuario usuario; - - public Andamento() { - } - - public Andamento( - String descricao, - String dataHora, - Unidade unidade, - Usuario usuario) { - this.descricao = descricao; - this.dataHora = dataHora; - this.unidade = unidade; - this.usuario = usuario; - } - - - /** - * Gets the descricao value for this Andamento. - * - * @return descricao - */ - public String getDescricao() { - return descricao; - } - - - /** - * Sets the descricao value for this Andamento. - * - * @param descricao - */ - public void setDescricao(String descricao) { - this.descricao = descricao; - } - - - /** - * Gets the dataHora value for this Andamento. - * - * @return dataHora - */ - public String getDataHora() { - return dataHora; - } - - - /** - * Sets the dataHora value for this Andamento. - * - * @param dataHora - */ - public void setDataHora(String dataHora) { - this.dataHora = dataHora; - } - - - /** - * Gets the unidade value for this Andamento. - * - * @return unidade - */ - public Unidade getUnidade() { - return unidade; - } - - - /** - * Sets the unidade value for this Andamento. - * - * @param unidade - */ - public void setUnidade(Unidade unidade) { - this.unidade = unidade; - } - - - /** - * Gets the usuario value for this Andamento. - * - * @return usuario - */ - public Usuario getUsuario() { - return usuario; - } - - - /** - * Sets the usuario value for this Andamento. - * - * @param usuario - */ - public void setUsuario(Usuario usuario) { - this.usuario = usuario; - } - - private java.lang.Object __equalsCalc = null; - public synchronized boolean equals(java.lang.Object obj) { - if (!(obj instanceof Andamento)) return false; - Andamento other = (Andamento) obj; - if (obj == null) return false; - if (this == obj) return true; - if (__equalsCalc != null) { - return (__equalsCalc == obj); - } - __equalsCalc = obj; - boolean _equals; - _equals = true && - ((this.descricao==null && other.getDescricao()==null) || - (this.descricao!=null && - this.descricao.equals(other.getDescricao()))) && - ((this.dataHora==null && other.getDataHora()==null) || - (this.dataHora!=null && - this.dataHora.equals(other.getDataHora()))) && - ((this.unidade==null && other.getUnidade()==null) || - (this.unidade!=null && - this.unidade.equals(other.getUnidade()))) && - ((this.usuario==null && other.getUsuario()==null) || - (this.usuario!=null && - this.usuario.equals(other.getUsuario()))); - __equalsCalc = null; - return _equals; - } - - private boolean __hashCodeCalc = false; - public synchronized int hashCode() { - if (__hashCodeCalc) { - return 0; - } - __hashCodeCalc = true; - int _hashCode = 1; - if (getDescricao() != null) { - _hashCode += getDescricao().hashCode(); - } - if (getDataHora() != null) { - _hashCode += getDataHora().hashCode(); - } - if (getUnidade() != null) { - _hashCode += getUnidade().hashCode(); - } - if (getUsuario() != null) { - _hashCode += getUsuario().hashCode(); - } - __hashCodeCalc = false; - return _hashCode; - } - -} diff --git a/src/main/java/br/gov/ans/sei/modelo/ArquivoExtensao.java b/src/main/java/br/gov/ans/sei/modelo/ArquivoExtensao.java deleted file mode 100644 index 408f2fd..0000000 --- a/src/main/java/br/gov/ans/sei/modelo/ArquivoExtensao.java +++ /dev/null @@ -1,137 +0,0 @@ -/** - * ArquivoExtensao.java - * - * This file was auto-generated from WSDL - * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter. - */ - -package br.gov.ans.sei.modelo; - -import javax.xml.bind.annotation.XmlRootElement; - -@XmlRootElement -public class ArquivoExtensao implements java.io.Serializable { - private java.lang.String idArquivoExtensao; - - private java.lang.String extensao; - - private java.lang.String descricao; - - public ArquivoExtensao() { - } - - public ArquivoExtensao( - java.lang.String idArquivoExtensao, - java.lang.String extensao, - java.lang.String descricao) { - this.idArquivoExtensao = idArquivoExtensao; - this.extensao = extensao; - this.descricao = descricao; - } - - - /** - * Gets the idArquivoExtensao value for this ArquivoExtensao. - * - * @return idArquivoExtensao - */ - public java.lang.String getIdArquivoExtensao() { - return idArquivoExtensao; - } - - - /** - * Sets the idArquivoExtensao value for this ArquivoExtensao. - * - * @param idArquivoExtensao - */ - public void setIdArquivoExtensao(java.lang.String idArquivoExtensao) { - this.idArquivoExtensao = idArquivoExtensao; - } - - - /** - * Gets the extensao value for this ArquivoExtensao. - * - * @return extensao - */ - public java.lang.String getExtensao() { - return extensao; - } - - - /** - * Sets the extensao value for this ArquivoExtensao. - * - * @param extensao - */ - public void setExtensao(java.lang.String extensao) { - this.extensao = extensao; - } - - - /** - * Gets the descricao value for this ArquivoExtensao. - * - * @return descricao - */ - public java.lang.String getDescricao() { - return descricao; - } - - - /** - * Sets the descricao value for this ArquivoExtensao. - * - * @param descricao - */ - public void setDescricao(java.lang.String descricao) { - this.descricao = descricao; - } - - private java.lang.Object __equalsCalc = null; - public synchronized boolean equals(java.lang.Object obj) { - if (!(obj instanceof ArquivoExtensao)) return false; - ArquivoExtensao other = (ArquivoExtensao) obj; - if (obj == null) return false; - if (this == obj) return true; - if (__equalsCalc != null) { - return (__equalsCalc == obj); - } - __equalsCalc = obj; - boolean _equals; - _equals = true && - ((this.idArquivoExtensao==null && other.getIdArquivoExtensao()==null) || - (this.idArquivoExtensao!=null && - this.idArquivoExtensao.equals(other.getIdArquivoExtensao()))) && - ((this.extensao==null && other.getExtensao()==null) || - (this.extensao!=null && - this.extensao.equals(other.getExtensao()))) && - ((this.descricao==null && other.getDescricao()==null) || - (this.descricao!=null && - this.descricao.equals(other.getDescricao()))); - __equalsCalc = null; - return _equals; - } - - private boolean __hashCodeCalc = false; - public synchronized int hashCode() { - if (__hashCodeCalc) { - return 0; - } - __hashCodeCalc = true; - int _hashCode = 1; - if (getIdArquivoExtensao() != null) { - _hashCode += getIdArquivoExtensao().hashCode(); - } - if (getExtensao() != null) { - _hashCode += getExtensao().hashCode(); - } - if (getDescricao() != null) { - _hashCode += getDescricao().hashCode(); - } - __hashCodeCalc = false; - return _hashCode; - } - -} diff --git a/src/main/java/br/gov/ans/sei/modelo/Assinatura.java b/src/main/java/br/gov/ans/sei/modelo/Assinatura.java deleted file mode 100644 index 0103f22..0000000 --- a/src/main/java/br/gov/ans/sei/modelo/Assinatura.java +++ /dev/null @@ -1,137 +0,0 @@ -/** - * Assinatura.java - * - * This file was auto-generated from WSDL - * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter. - */ - -package br.gov.ans.sei.modelo; - -import javax.xml.bind.annotation.XmlRootElement; - -@XmlRootElement -public class Assinatura implements java.io.Serializable { - private java.lang.String nome; - - private java.lang.String cargoFuncao; - - private java.lang.String dataHora; - - public Assinatura() { - } - - public Assinatura( - java.lang.String nome, - java.lang.String cargoFuncao, - java.lang.String dataHora) { - this.nome = nome; - this.cargoFuncao = cargoFuncao; - this.dataHora = dataHora; - } - - - /** - * Gets the nome value for this Assinatura. - * - * @return nome - */ - public java.lang.String getNome() { - return nome; - } - - - /** - * Sets the nome value for this Assinatura. - * - * @param nome - */ - public void setNome(java.lang.String nome) { - this.nome = nome; - } - - - /** - * Gets the cargoFuncao value for this Assinatura. - * - * @return cargoFuncao - */ - public java.lang.String getCargoFuncao() { - return cargoFuncao; - } - - - /** - * Sets the cargoFuncao value for this Assinatura. - * - * @param cargoFuncao - */ - public void setCargoFuncao(java.lang.String cargoFuncao) { - this.cargoFuncao = cargoFuncao; - } - - - /** - * Gets the dataHora value for this Assinatura. - * - * @return dataHora - */ - public java.lang.String getDataHora() { - return dataHora; - } - - - /** - * Sets the dataHora value for this Assinatura. - * - * @param dataHora - */ - public void setDataHora(java.lang.String dataHora) { - this.dataHora = dataHora; - } - - private java.lang.Object __equalsCalc = null; - public synchronized boolean equals(java.lang.Object obj) { - if (!(obj instanceof Assinatura)) return false; - Assinatura other = (Assinatura) obj; - if (obj == null) return false; - if (this == obj) return true; - if (__equalsCalc != null) { - return (__equalsCalc == obj); - } - __equalsCalc = obj; - boolean _equals; - _equals = true && - ((this.nome==null && other.getNome()==null) || - (this.nome!=null && - this.nome.equals(other.getNome()))) && - ((this.cargoFuncao==null && other.getCargoFuncao()==null) || - (this.cargoFuncao!=null && - this.cargoFuncao.equals(other.getCargoFuncao()))) && - ((this.dataHora==null && other.getDataHora()==null) || - (this.dataHora!=null && - this.dataHora.equals(other.getDataHora()))); - __equalsCalc = null; - return _equals; - } - - private boolean __hashCodeCalc = false; - public synchronized int hashCode() { - if (__hashCodeCalc) { - return 0; - } - __hashCodeCalc = true; - int _hashCode = 1; - if (getNome() != null) { - _hashCode += getNome().hashCode(); - } - if (getCargoFuncao() != null) { - _hashCode += getCargoFuncao().hashCode(); - } - if (getDataHora() != null) { - _hashCode += getDataHora().hashCode(); - } - __hashCodeCalc = false; - return _hashCode; - } - -} diff --git a/src/main/java/br/gov/ans/sei/modelo/Assunto.java b/src/main/java/br/gov/ans/sei/modelo/Assunto.java deleted file mode 100644 index f63b14e..0000000 --- a/src/main/java/br/gov/ans/sei/modelo/Assunto.java +++ /dev/null @@ -1,107 +0,0 @@ -/** - * Assunto.java - * - * This file was auto-generated from WSDL - * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter. - */ - -package br.gov.ans.sei.modelo; - -import javax.xml.bind.annotation.XmlRootElement; - -@XmlRootElement -public class Assunto implements java.io.Serializable { - private java.lang.String codigoEstruturado; - - private java.lang.String descricao; - - public Assunto() { - } - - public Assunto( - java.lang.String codigoEstruturado, - java.lang.String descricao) { - this.codigoEstruturado = codigoEstruturado; - this.descricao = descricao; - } - - - /** - * Gets the codigoEstruturado value for this Assunto. - * - * @return codigoEstruturado - */ - public java.lang.String getCodigoEstruturado() { - return codigoEstruturado; - } - - - /** - * Sets the codigoEstruturado value for this Assunto. - * - * @param codigoEstruturado - */ - public void setCodigoEstruturado(java.lang.String codigoEstruturado) { - this.codigoEstruturado = codigoEstruturado; - } - - - /** - * Gets the descricao value for this Assunto. - * - * @return descricao - */ - public java.lang.String getDescricao() { - return descricao; - } - - - /** - * Sets the descricao value for this Assunto. - * - * @param descricao - */ - public void setDescricao(java.lang.String descricao) { - this.descricao = descricao; - } - - private java.lang.Object __equalsCalc = null; - public synchronized boolean equals(java.lang.Object obj) { - if (!(obj instanceof Assunto)) return false; - Assunto other = (Assunto) obj; - if (obj == null) return false; - if (this == obj) return true; - if (__equalsCalc != null) { - return (__equalsCalc == obj); - } - __equalsCalc = obj; - boolean _equals; - _equals = true && - ((this.codigoEstruturado==null && other.getCodigoEstruturado()==null) || - (this.codigoEstruturado!=null && - this.codigoEstruturado.equals(other.getCodigoEstruturado()))) && - ((this.descricao==null && other.getDescricao()==null) || - (this.descricao!=null && - this.descricao.equals(other.getDescricao()))); - __equalsCalc = null; - return _equals; - } - - private boolean __hashCodeCalc = false; - public synchronized int hashCode() { - if (__hashCodeCalc) { - return 0; - } - __hashCodeCalc = true; - int _hashCode = 1; - if (getCodigoEstruturado() != null) { - _hashCode += getCodigoEstruturado().hashCode(); - } - if (getDescricao() != null) { - _hashCode += getDescricao().hashCode(); - } - __hashCodeCalc = false; - return _hashCode; - } - -} diff --git a/src/main/java/br/gov/ans/sei/modelo/CancelamentoDocumento.java b/src/main/java/br/gov/ans/sei/modelo/CancelamentoDocumento.java deleted file mode 100644 index e1e0f35..0000000 --- a/src/main/java/br/gov/ans/sei/modelo/CancelamentoDocumento.java +++ /dev/null @@ -1,24 +0,0 @@ -package br.gov.ans.sei.modelo; - -public class CancelamentoDocumento { - private String documento; - private String motivo; - - public CancelamentoDocumento(){} - - public String getDocumento() { - return documento; - } - - public void setDocumento(String documento) { - this.documento = documento; - } - - public String getMotivo() { - return motivo; - } - - public void setMotivo(String motivo) { - this.motivo = motivo; - } -} diff --git a/src/main/java/br/gov/ans/sei/modelo/Destinatario.java b/src/main/java/br/gov/ans/sei/modelo/Destinatario.java deleted file mode 100644 index 996f960..0000000 --- a/src/main/java/br/gov/ans/sei/modelo/Destinatario.java +++ /dev/null @@ -1,107 +0,0 @@ -/** - * Destinatario.java - * - * This file was auto-generated from WSDL - * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter. - */ - -package br.gov.ans.sei.modelo; - -import javax.xml.bind.annotation.XmlRootElement; - -@XmlRootElement -public class Destinatario implements java.io.Serializable { - private java.lang.String sigla; - - private java.lang.String nome; - - public Destinatario() { - } - - public Destinatario( - java.lang.String sigla, - java.lang.String nome) { - this.sigla = sigla; - this.nome = nome; - } - - - /** - * Gets the sigla value for this Destinatario. - * - * @return sigla - */ - public java.lang.String getSigla() { - return sigla; - } - - - /** - * Sets the sigla value for this Destinatario. - * - * @param sigla - */ - public void setSigla(java.lang.String sigla) { - this.sigla = sigla; - } - - - /** - * Gets the nome value for this Destinatario. - * - * @return nome - */ - public java.lang.String getNome() { - return nome; - } - - - /** - * Sets the nome value for this Destinatario. - * - * @param nome - */ - public void setNome(java.lang.String nome) { - this.nome = nome; - } - - private java.lang.Object __equalsCalc = null; - public synchronized boolean equals(java.lang.Object obj) { - if (!(obj instanceof Destinatario)) return false; - Destinatario other = (Destinatario) obj; - if (obj == null) return false; - if (this == obj) return true; - if (__equalsCalc != null) { - return (__equalsCalc == obj); - } - __equalsCalc = obj; - boolean _equals; - _equals = true && - ((this.sigla==null && other.getSigla()==null) || - (this.sigla!=null && - this.sigla.equals(other.getSigla()))) && - ((this.nome==null && other.getNome()==null) || - (this.nome!=null && - this.nome.equals(other.getNome()))); - __equalsCalc = null; - return _equals; - } - - private boolean __hashCodeCalc = false; - public synchronized int hashCode() { - if (__hashCodeCalc) { - return 0; - } - __hashCodeCalc = true; - int _hashCode = 1; - if (getSigla() != null) { - _hashCode += getSigla().hashCode(); - } - if (getNome() != null) { - _hashCode += getNome().hashCode(); - } - __hashCodeCalc = false; - return _hashCode; - } - -} diff --git a/src/main/java/br/gov/ans/sei/modelo/Documento.java b/src/main/java/br/gov/ans/sei/modelo/Documento.java deleted file mode 100644 index abe4aed..0000000 --- a/src/main/java/br/gov/ans/sei/modelo/Documento.java +++ /dev/null @@ -1,455 +0,0 @@ -/** - * Documento.java - * - * This file was auto-generated from WSDL - * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter. - */ - -package br.gov.ans.sei.modelo; - -import javax.xml.bind.annotation.XmlRootElement; - -@XmlRootElement -public class Documento implements java.io.Serializable { - protected java.lang.String tipo; - - protected java.lang.String idProcedimento; - - protected java.lang.String idSerie; - - protected java.lang.String numero; - - protected java.lang.String data; - - protected java.lang.String descricao; - - protected Remetente remetente; - - protected Interessado[] interessados; - - protected Destinatario[] destinatarios; - - protected java.lang.String observacao; - - protected java.lang.String nomeArquivo; - - protected java.lang.String conteudo; - - protected java.lang.String nivelAcesso; - - public Documento() { - } - - public Documento( - java.lang.String tipo, - java.lang.String idProcedimento, - java.lang.String idSerie, - java.lang.String numero, - java.lang.String data, - java.lang.String descricao, - Remetente remetente, - Interessado[] interessados, - Destinatario[] destinatarios, - java.lang.String observacao, - java.lang.String nomeArquivo, - java.lang.String conteudo, - byte[] conteudoMTOM, - java.lang.String nivelAcesso) { - this.tipo = tipo; - this.idProcedimento = idProcedimento; - this.idSerie = idSerie; - this.numero = numero; - this.data = data; - this.descricao = descricao; - this.remetente = remetente; - this.interessados = interessados; - this.destinatarios = destinatarios; - this.observacao = observacao; - this.nomeArquivo = nomeArquivo; - this.conteudo = conteudo; -// this.conteudoMTOM = conteudoMTOM; - this.nivelAcesso = nivelAcesso; - } - - - /** - * Gets the tipo value for this Documento. - * - * @return tipo - */ - public java.lang.String getTipo() { - return tipo; - } - - - /** - * Sets the tipo value for this Documento. - * - * @param tipo - */ - public void setTipo(java.lang.String tipo) { - this.tipo = tipo; - } - - - /** - * Gets the idProcedimento value for this Documento. - * - * @return idProcedimento - */ - public java.lang.String getIdProcedimento() { - return idProcedimento; - } - - - /** - * Sets the idProcedimento value for this Documento. - * - * @param idProcedimento - */ - public void setIdProcedimento(java.lang.String idProcedimento) { - this.idProcedimento = idProcedimento; - } - - - /** - * Gets the idSerie value for this Documento. - * - * @return idSerie - */ - public java.lang.String getIdSerie() { - return idSerie; - } - - - /** - * Sets the idSerie value for this Documento. - * - * @param idSerie - */ - public void setIdSerie(java.lang.String idSerie) { - this.idSerie = idSerie; - } - - - /** - * Gets the numero value for this Documento. - * - * @return numero - */ - public java.lang.String getNumero() { - return numero; - } - - - /** - * Sets the numero value for this Documento. - * - * @param numero - */ - public void setNumero(java.lang.String numero) { - this.numero = numero; - } - - - /** - * Gets the data value for this Documento. - * - * @return data - */ - public java.lang.String getData() { - return data; - } - - - /** - * Sets the data value for this Documento. - * - * @param data - */ - public void setData(java.lang.String data) { - this.data = data; - } - - - /** - * Gets the descricao value for this Documento. - * - * @return descricao - */ - public java.lang.String getDescricao() { - return descricao; - } - - - /** - * Sets the descricao value for this Documento. - * - * @param descricao - */ - public void setDescricao(java.lang.String descricao) { - this.descricao = descricao; - } - - - /** - * Gets the remetente value for this Documento. - * - * @return remetente - */ - public Remetente getRemetente() { - return remetente; - } - - - /** - * Sets the remetente value for this Documento. - * - * @param remetente - */ - public void setRemetente(Remetente remetente) { - this.remetente = remetente; - } - - - /** - * Gets the interessados value for this Documento. - * - * @return interessados - */ - public Interessado[] getInteressados() { - return interessados; - } - - - /** - * Sets the interessados value for this Documento. - * - * @param interessados - */ - public void setInteressados(Interessado[] interessados) { - this.interessados = interessados; - } - - - /** - * Gets the destinatarios value for this Documento. - * - * @return destinatarios - */ - public Destinatario[] getDestinatarios() { - return destinatarios; - } - - - /** - * Sets the destinatarios value for this Documento. - * - * @param destinatarios - */ - public void setDestinatarios(Destinatario[] destinatarios) { - this.destinatarios = destinatarios; - } - - - /** - * Gets the observacao value for this Documento. - * - * @return observacao - */ - public java.lang.String getObservacao() { - return observacao; - } - - - /** - * Sets the observacao value for this Documento. - * - * @param observacao - */ - public void setObservacao(java.lang.String observacao) { - this.observacao = observacao; - } - - - /** - * Gets the nomeArquivo value for this Documento. - * - * @return nomeArquivo - */ - public java.lang.String getNomeArquivo() { - return nomeArquivo; - } - - - /** - * Sets the nomeArquivo value for this Documento. - * - * @param nomeArquivo - */ - public void setNomeArquivo(java.lang.String nomeArquivo) { - this.nomeArquivo = nomeArquivo; - } - - - /** - * Gets the conteudo value for this Documento. - * - * @return conteudo - */ - public java.lang.String getConteudo() { - return conteudo; - } - - - /** - * Sets the conteudo value for this Documento. - * - * @param conteudo - */ - public void setConteudo(java.lang.String conteudo) { - this.conteudo = conteudo; - } - - /** - * Gets the nivelAcesso value for this Documento. - * - * @return nivelAcesso - */ - public java.lang.String getNivelAcesso() { - return nivelAcesso; - } - - - /** - * Sets the nivelAcesso value for this Documento. - * - * @param nivelAcesso - */ - public void setNivelAcesso(java.lang.String nivelAcesso) { - this.nivelAcesso = nivelAcesso; - } - - private java.lang.Object __equalsCalc = null; - public synchronized boolean equals(java.lang.Object obj) { - if (!(obj instanceof Documento)) return false; - Documento other = (Documento) obj; - if (obj == null) return false; - if (this == obj) return true; - if (__equalsCalc != null) { - return (__equalsCalc == obj); - } - __equalsCalc = obj; - boolean _equals; - _equals = true && - ((this.tipo==null && other.getTipo()==null) || - (this.tipo!=null && - this.tipo.equals(other.getTipo()))) && - ((this.idProcedimento==null && other.getIdProcedimento()==null) || - (this.idProcedimento!=null && - this.idProcedimento.equals(other.getIdProcedimento()))) && - ((this.idSerie==null && other.getIdSerie()==null) || - (this.idSerie!=null && - this.idSerie.equals(other.getIdSerie()))) && - ((this.numero==null && other.getNumero()==null) || - (this.numero!=null && - this.numero.equals(other.getNumero()))) && - ((this.data==null && other.getData()==null) || - (this.data!=null && - this.data.equals(other.getData()))) && - ((this.descricao==null && other.getDescricao()==null) || - (this.descricao!=null && - this.descricao.equals(other.getDescricao()))) && - ((this.remetente==null && other.getRemetente()==null) || - (this.remetente!=null && - this.remetente.equals(other.getRemetente()))) && - ((this.interessados==null && other.getInteressados()==null) || - (this.interessados!=null && - java.util.Arrays.equals(this.interessados, other.getInteressados()))) && - ((this.destinatarios==null && other.getDestinatarios()==null) || - (this.destinatarios!=null && - java.util.Arrays.equals(this.destinatarios, other.getDestinatarios()))) && - ((this.observacao==null && other.getObservacao()==null) || - (this.observacao!=null && - this.observacao.equals(other.getObservacao()))) && - ((this.nomeArquivo==null && other.getNomeArquivo()==null) || - (this.nomeArquivo!=null && - this.nomeArquivo.equals(other.getNomeArquivo()))) && - ((this.conteudo==null && other.getConteudo()==null) || - (this.conteudo!=null && - this.conteudo.equals(other.getConteudo()))) && - ((this.nivelAcesso==null && other.getNivelAcesso()==null) || - (this.nivelAcesso!=null && - this.nivelAcesso.equals(other.getNivelAcesso()))); - __equalsCalc = null; - return _equals; - } - - private boolean __hashCodeCalc = false; - public synchronized int hashCode() { - if (__hashCodeCalc) { - return 0; - } - __hashCodeCalc = true; - int _hashCode = 1; - if (getTipo() != null) { - _hashCode += getTipo().hashCode(); - } - if (getIdProcedimento() != null) { - _hashCode += getIdProcedimento().hashCode(); - } - if (getIdSerie() != null) { - _hashCode += getIdSerie().hashCode(); - } - if (getNumero() != null) { - _hashCode += getNumero().hashCode(); - } - if (getData() != null) { - _hashCode += getData().hashCode(); - } - if (getDescricao() != null) { - _hashCode += getDescricao().hashCode(); - } - if (getRemetente() != null) { - _hashCode += getRemetente().hashCode(); - } - if (getInteressados() != null) { - for (int i=0; - i