/** * 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 Sei; public class Documento implements java.io.Serializable { private String tipo; private String idProcedimento; private String protocoloProcedimento; private String idSerie; private String numero; private String data; private String descricao; private String idTipoConferencia; private Remetente remetente; private Interessado[] interessados; private Destinatario[] destinatarios; private String observacao; private String nomeArquivo; private String nivelAcesso; private String idHipoteseLegal; private String conteudo; private byte[] conteudoMTOM; private String idArquivo; private Campo[] campos; private String sinBloqueado; public Documento() { } public Documento( String tipo, String idProcedimento, String protocoloProcedimento, String idSerie, String numero, String data, String descricao, String idTipoConferencia, Remetente remetente, Interessado[] interessados, Destinatario[] destinatarios, String observacao, String nomeArquivo, String nivelAcesso, String idHipoteseLegal, String conteudo, byte[] conteudoMTOM, String idArquivo, Campo[] campos, String sinBloqueado) { this.tipo = tipo; this.idProcedimento = idProcedimento; this.protocoloProcedimento = protocoloProcedimento; this.idSerie = idSerie; this.numero = numero; this.data = data; this.descricao = descricao; this.idTipoConferencia = idTipoConferencia; this.remetente = remetente; this.interessados = interessados; this.destinatarios = destinatarios; this.observacao = observacao; this.nomeArquivo = nomeArquivo; this.nivelAcesso = nivelAcesso; this.idHipoteseLegal = idHipoteseLegal; this.conteudo = conteudo; this.conteudoMTOM = conteudoMTOM; this.idArquivo = idArquivo; this.campos = campos; this.sinBloqueado = sinBloqueado; } /** * Gets the tipo value for this Documento. * * @return tipo */ public String getTipo() { return tipo; } /** * Sets the tipo value for this Documento. * * @param tipo */ public void setTipo(String tipo) { this.tipo = tipo; } /** * Gets the idProcedimento value for this Documento. * * @return idProcedimento */ public String getIdProcedimento() { return idProcedimento; } /** * Sets the idProcedimento value for this Documento. * * @param idProcedimento */ public void setIdProcedimento(String idProcedimento) { this.idProcedimento = idProcedimento; } /** * Gets the protocoloProcedimento value for this Documento. * * @return protocoloProcedimento */ public String getProtocoloProcedimento() { return protocoloProcedimento; } /** * Sets the protocoloProcedimento value for this Documento. * * @param protocoloProcedimento */ public void setProtocoloProcedimento(String protocoloProcedimento) { this.protocoloProcedimento = protocoloProcedimento; } /** * Gets the idSerie value for this Documento. * * @return idSerie */ public String getIdSerie() { return idSerie; } /** * Sets the idSerie value for this Documento. * * @param idSerie */ public void setIdSerie(String idSerie) { this.idSerie = idSerie; } /** * Gets the numero value for this Documento. * * @return numero */ public String getNumero() { return numero; } /** * Sets the numero value for this Documento. * * @param numero */ public void setNumero(String numero) { this.numero = numero; } /** * Gets the data value for this Documento. * * @return data */ public String getData() { return data; } /** * Sets the data value for this Documento. * * @param data */ public void setData(String data) { this.data = data; } /** * Gets the descricao value for this Documento. * * @return descricao */ public String getDescricao() { return descricao; } /** * Sets the descricao value for this Documento. * * @param descricao */ public void setDescricao(String descricao) { this.descricao = descricao; } /** * Gets the idTipoConferencia value for this Documento. * * @return idTipoConferencia */ public String getIdTipoConferencia() { return idTipoConferencia; } /** * Sets the idTipoConferencia value for this Documento. * * @param idTipoConferencia */ public void setIdTipoConferencia(String idTipoConferencia) { this.idTipoConferencia = idTipoConferencia; } /** * 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 String getObservacao() { return observacao; } /** * Sets the observacao value for this Documento. * * @param observacao */ public void setObservacao(String observacao) { this.observacao = observacao; } /** * Gets the nomeArquivo value for this Documento. * * @return nomeArquivo */ public String getNomeArquivo() { return nomeArquivo; } /** * Sets the nomeArquivo value for this Documento. * * @param nomeArquivo */ public void setNomeArquivo(String nomeArquivo) { this.nomeArquivo = nomeArquivo; } /** * Gets the nivelAcesso value for this Documento. * * @return nivelAcesso */ public String getNivelAcesso() { return nivelAcesso; } /** * Sets the nivelAcesso value for this Documento. * * @param nivelAcesso */ public void setNivelAcesso(String nivelAcesso) { this.nivelAcesso = nivelAcesso; } /** * Gets the idHipoteseLegal value for this Documento. * * @return idHipoteseLegal */ public String getIdHipoteseLegal() { return idHipoteseLegal; } /** * Sets the idHipoteseLegal value for this Documento. * * @param idHipoteseLegal */ public void setIdHipoteseLegal(String idHipoteseLegal) { this.idHipoteseLegal = idHipoteseLegal; } /** * Gets the conteudo value for this Documento. * * @return conteudo */ public String getConteudo() { return conteudo; } /** * Sets the conteudo value for this Documento. * * @param conteudo */ public void setConteudo(String conteudo) { this.conteudo = conteudo; } /** * Gets the conteudoMTOM value for this Documento. * * @return conteudoMTOM */ public byte[] getConteudoMTOM() { return conteudoMTOM; } /** * Sets the conteudoMTOM value for this Documento. * * @param conteudoMTOM */ public void setConteudoMTOM(byte[] conteudoMTOM) { this.conteudoMTOM = conteudoMTOM; } /** * Gets the idArquivo value for this Documento. * * @return idArquivo */ public String getIdArquivo() { return idArquivo; } /** * Sets the idArquivo value for this Documento. * * @param idArquivo */ public void setIdArquivo(String idArquivo) { this.idArquivo = idArquivo; } /** * Gets the campos value for this Documento. * * @return campos */ public Campo[] getCampos() { return campos; } /** * Sets the campos value for this Documento. * * @param campos */ public void setCampos(Campo[] campos) { this.campos = campos; } /** * Gets the sinBloqueado value for this Documento. * * @return sinBloqueado */ public String getSinBloqueado() { return sinBloqueado; } /** * Sets the sinBloqueado value for this Documento. * * @param sinBloqueado */ public void setSinBloqueado(String sinBloqueado) { this.sinBloqueado = sinBloqueado; } private Object __equalsCalc = null; public synchronized boolean equals(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.protocoloProcedimento==null && other.getProtocoloProcedimento()==null) || (this.protocoloProcedimento!=null && this.protocoloProcedimento.equals(other.getProtocoloProcedimento()))) && ((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.idTipoConferencia==null && other.getIdTipoConferencia()==null) || (this.idTipoConferencia!=null && this.idTipoConferencia.equals(other.getIdTipoConferencia()))) && ((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.nivelAcesso==null && other.getNivelAcesso()==null) || (this.nivelAcesso!=null && this.nivelAcesso.equals(other.getNivelAcesso()))) && ((this.idHipoteseLegal==null && other.getIdHipoteseLegal()==null) || (this.idHipoteseLegal!=null && this.idHipoteseLegal.equals(other.getIdHipoteseLegal()))) && ((this.conteudo==null && other.getConteudo()==null) || (this.conteudo!=null && this.conteudo.equals(other.getConteudo()))) && ((this.conteudoMTOM==null && other.getConteudoMTOM()==null) || (this.conteudoMTOM!=null && java.util.Arrays.equals(this.conteudoMTOM, other.getConteudoMTOM()))) && ((this.idArquivo==null && other.getIdArquivo()==null) || (this.idArquivo!=null && this.idArquivo.equals(other.getIdArquivo()))) && ((this.campos==null && other.getCampos()==null) || (this.campos!=null && java.util.Arrays.equals(this.campos, other.getCampos()))) && ((this.sinBloqueado==null && other.getSinBloqueado()==null) || (this.sinBloqueado!=null && this.sinBloqueado.equals(other.getSinBloqueado()))); __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 (getProtocoloProcedimento() != null) { _hashCode += getProtocoloProcedimento().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 (getIdTipoConferencia() != null) { _hashCode += getIdTipoConferencia().hashCode(); } if (getRemetente() != null) { _hashCode += getRemetente().hashCode(); } if (getInteressados() != null) { for (int i=0; i