/** * Procedimento.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 Procedimento implements java.io.Serializable { private String idTipoProcedimento; private String numeroProtocolo; private String dataAutuacao; private String especificacao; private Assunto[] assuntos; private Interessado[] interessados; private String observacao; private String nivelAcesso; private String idHipoteseLegal; public Procedimento() { } public Procedimento( String idTipoProcedimento, String numeroProtocolo, String dataAutuacao, String especificacao, Assunto[] assuntos, Interessado[] interessados, String observacao, String nivelAcesso, String idHipoteseLegal) { this.idTipoProcedimento = idTipoProcedimento; this.numeroProtocolo = numeroProtocolo; this.dataAutuacao = dataAutuacao; this.especificacao = especificacao; this.assuntos = assuntos; this.interessados = interessados; this.observacao = observacao; this.nivelAcesso = nivelAcesso; this.idHipoteseLegal = idHipoteseLegal; } /** * Gets the idTipoProcedimento value for this Procedimento. * * @return idTipoProcedimento */ public String getIdTipoProcedimento() { return idTipoProcedimento; } /** * Sets the idTipoProcedimento value for this Procedimento. * * @param idTipoProcedimento */ public void setIdTipoProcedimento(String idTipoProcedimento) { this.idTipoProcedimento = idTipoProcedimento; } /** * Gets the numeroProtocolo value for this Procedimento. * * @return numeroProtocolo */ public String getNumeroProtocolo() { return numeroProtocolo; } /** * Sets the numeroProtocolo value for this Procedimento. * * @param numeroProtocolo */ public void setNumeroProtocolo(String numeroProtocolo) { this.numeroProtocolo = numeroProtocolo; } /** * Gets the dataAutuacao value for this Procedimento. * * @return dataAutuacao */ public String getDataAutuacao() { return dataAutuacao; } /** * Sets the dataAutuacao value for this Procedimento. * * @param dataAutuacao */ public void setDataAutuacao(String dataAutuacao) { this.dataAutuacao = dataAutuacao; } /** * Gets the especificacao value for this Procedimento. * * @return especificacao */ public String getEspecificacao() { return especificacao; } /** * Sets the especificacao value for this Procedimento. * * @param especificacao */ public void setEspecificacao(String especificacao) { this.especificacao = especificacao; } /** * Gets the assuntos value for this Procedimento. * * @return assuntos */ public Assunto[] getAssuntos() { return assuntos; } /** * Sets the assuntos value for this Procedimento. * * @param assuntos */ public void setAssuntos(Assunto[] assuntos) { this.assuntos = assuntos; } /** * Gets the interessados value for this Procedimento. * * @return interessados */ public Interessado[] getInteressados() { return interessados; } /** * Sets the interessados value for this Procedimento. * * @param interessados */ public void setInteressados(Interessado[] interessados) { this.interessados = interessados; } /** * Gets the observacao value for this Procedimento. * * @return observacao */ public String getObservacao() { return observacao; } /** * Sets the observacao value for this Procedimento. * * @param observacao */ public void setObservacao(String observacao) { this.observacao = observacao; } /** * Gets the nivelAcesso value for this Procedimento. * * @return nivelAcesso */ public String getNivelAcesso() { return nivelAcesso; } /** * Sets the nivelAcesso value for this Procedimento. * * @param nivelAcesso */ public void setNivelAcesso(String nivelAcesso) { this.nivelAcesso = nivelAcesso; } /** * Gets the idHipoteseLegal value for this Procedimento. * * @return idHipoteseLegal */ public String getIdHipoteseLegal() { return idHipoteseLegal; } /** * Sets the idHipoteseLegal value for this Procedimento. * * @param idHipoteseLegal */ public void setIdHipoteseLegal(String idHipoteseLegal) { this.idHipoteseLegal = idHipoteseLegal; } private Object __equalsCalc = null; public synchronized boolean equals(Object obj) { if (!(obj instanceof Procedimento)) return false; Procedimento other = (Procedimento) obj; if (obj == null) return false; if (this == obj) return true; if (__equalsCalc != null) { return (__equalsCalc == obj); } __equalsCalc = obj; boolean _equals; _equals = true && ((this.idTipoProcedimento==null && other.getIdTipoProcedimento()==null) || (this.idTipoProcedimento!=null && this.idTipoProcedimento.equals(other.getIdTipoProcedimento()))) && ((this.numeroProtocolo==null && other.getNumeroProtocolo()==null) || (this.numeroProtocolo!=null && this.numeroProtocolo.equals(other.getNumeroProtocolo()))) && ((this.dataAutuacao==null && other.getDataAutuacao()==null) || (this.dataAutuacao!=null && this.dataAutuacao.equals(other.getDataAutuacao()))) && ((this.especificacao==null && other.getEspecificacao()==null) || (this.especificacao!=null && this.especificacao.equals(other.getEspecificacao()))) && ((this.assuntos==null && other.getAssuntos()==null) || (this.assuntos!=null && java.util.Arrays.equals(this.assuntos, other.getAssuntos()))) && ((this.interessados==null && other.getInteressados()==null) || (this.interessados!=null && java.util.Arrays.equals(this.interessados, other.getInteressados()))) && ((this.observacao==null && other.getObservacao()==null) || (this.observacao!=null && this.observacao.equals(other.getObservacao()))) && ((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()))); __equalsCalc = null; return _equals; } private boolean __hashCodeCalc = false; public synchronized int hashCode() { if (__hashCodeCalc) { return 0; } __hashCodeCalc = true; int _hashCode = 1; if (getIdTipoProcedimento() != null) { _hashCode += getIdTipoProcedimento().hashCode(); } if (getNumeroProtocolo() != null) { _hashCode += getNumeroProtocolo().hashCode(); } if (getDataAutuacao() != null) { _hashCode += getDataAutuacao().hashCode(); } if (getEspecificacao() != null) { _hashCode += getEspecificacao().hashCode(); } if (getAssuntos() != null) { for (int i=0; i