From 0e7609381cc3eb26682c19e0472a85db7cd77fad Mon Sep 17 00:00:00 2001 From: andre.guimaraes Date: Wed, 6 Jun 2018 16:42:50 -0300 Subject: [PATCH] Remove comentários de código desnecessários --- src/main/java/br/gov/ans/integracao/sei/client/Assinatura.java | 482 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- src/main/java/br/gov/ans/integracao/sei/client/AtributoAndamento.java | 40 ---------------------------------------- src/main/java/br/gov/ans/integracao/sei/client/Campo.java | 247 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++------------------------------------------------------------------------------------------------------------------------------------------------ src/main/java/br/gov/ans/integracao/sei/client/Destinatario.java | 247 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++------------------------------------------------------------------------------------------------------------------------------------------------ src/main/java/br/gov/ans/integracao/sei/client/Interessado.java | 247 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++------------------------------------------------------------------------------------------------------------------------------------------------ src/main/java/br/gov/ans/integracao/sei/client/Procedimento.java | 682 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- src/main/java/br/gov/ans/integracao/sei/client/ProcedimentoResumido.java | 308 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ src/main/java/br/gov/ans/integracao/sei/client/Remetente.java | 247 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++------------------------------------------------------------------------------------------------------------------------------------------------ src/main/java/br/gov/ans/integracao/sei/client/RetornoConsultaDocumento.java | 920 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- src/main/java/br/gov/ans/integracao/sei/client/RetornoConsultaProcedimento.java | 1098 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ src/main/java/br/gov/ans/integracao/sei/client/RetornoGeracaoProcedimento.java | 381 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- src/main/java/br/gov/ans/integracao/sei/client/TipoProcedimento.java | 246 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++------------------------------------------------------------------------------------------------------------------------------------------------ src/main/java/br/gov/ans/integracao/sei/client/Unidade.java | 489 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- src/test/java/br/gov/ans/integracao/sei/testes/FunctionalTest.java | 4 ++-- 14 files changed, 2283 insertions(+), 3355 deletions(-) diff --git a/src/main/java/br/gov/ans/integracao/sei/client/Assinatura.java b/src/main/java/br/gov/ans/integracao/sei/client/Assinatura.java index 48a7bfc..77337fb 100644 --- a/src/main/java/br/gov/ans/integracao/sei/client/Assinatura.java +++ b/src/main/java/br/gov/ans/integracao/sei/client/Assinatura.java @@ -15,273 +15,219 @@ import org.codehaus.jackson.map.annotate.JsonSerialize; @JsonSerialize(include = JsonSerialize.Inclusion.NON_NULL) @JsonIgnoreProperties(ignoreUnknown = true) @XmlRootElement -public class Assinatura implements java.io.Serializable { - private java.lang.String nome; - - private java.lang.String cargoFuncao; - - private java.lang.String dataHora; - - private java.lang.String idUsuario; - - private java.lang.String idOrigem; - - private java.lang.String idOrgao; - - private java.lang.String sigla; - - public Assinatura() { - } - - public Assinatura( - java.lang.String nome, - java.lang.String cargoFuncao, - java.lang.String dataHora, - java.lang.String idUsuario, - java.lang.String idOrigem, - java.lang.String idOrgao, - java.lang.String sigla) { - this.nome = nome; - this.cargoFuncao = cargoFuncao; - this.dataHora = dataHora; - this.idUsuario = idUsuario; - this.idOrigem = idOrigem; - this.idOrgao = idOrgao; - this.sigla = sigla; - } - - - /** - * 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; - } - - public java.lang.String getIdUsuario() { - return idUsuario; - } - public void setIdUsuario(java.lang.String idUsuario) { - this.idUsuario = idUsuario; - } - public java.lang.String getIdOrigem() { - return idOrigem; - } - public void setIdOrigem(java.lang.String idOrigem) { - this.idOrigem = idOrigem; - } - public java.lang.String getIdOrgao() { - return idOrgao; - } - public void setIdOrgao(java.lang.String idOrgao) { - this.idOrgao = idOrgao; - } - public java.lang.String getSigla() { - return sigla; - } - public void setSigla(java.lang.String sigla) { - this.sigla = sigla; - } - private java.lang.Object __equalsCalc = null; - public 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()))) && - ((this.idUsuario==null && other.getIdUsuario()==null) || - (this.idUsuario!=null && - this.idUsuario.equals(other.getIdUsuario()))) && - ((this.idOrigem==null && other.getIdOrigem()==null) || - (this.idOrigem!=null && - this.idOrigem.equals(other.getIdOrigem()))) && - ((this.idOrgao==null && other.getIdOrgao()==null) || - (this.idOrgao!=null && - this.idOrgao.equals(other.getIdOrgao()))) && - ((this.sigla==null && other.getSigla()==null) || - (this.sigla!=null && - this.sigla.equals(other.getSigla()))); - __equalsCalc = null; - return _equals; - } - - private boolean __hashCodeCalc = false; - public 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(); - } - if (getIdUsuario() != null) { - _hashCode += getIdUsuario().hashCode(); - } - if (getIdOrigem() != null) { - _hashCode += getIdOrigem().hashCode(); - } - if (getIdOrgao() != null) { - _hashCode += getIdOrgao().hashCode(); - } - if (getSigla() != null) { - _hashCode += getSigla().hashCode(); - } - __hashCodeCalc = false; - return _hashCode; - } - - // Type metadata - private static org.apache.axis.description.TypeDesc typeDesc = - new org.apache.axis.description.TypeDesc(Assinatura.class, true); - - static { - typeDesc.setXmlType(new javax.xml.namespace.QName("Sei", "Assinatura")); - org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("nome"); - elemField.setXmlName(new javax.xml.namespace.QName("", "Nome")); - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); - elemField.setNillable(false); - typeDesc.addFieldDesc(elemField); - elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("cargoFuncao"); - elemField.setXmlName(new javax.xml.namespace.QName("", "CargoFuncao")); - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); - elemField.setNillable(false); - typeDesc.addFieldDesc(elemField); - elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("dataHora"); - elemField.setXmlName(new javax.xml.namespace.QName("", "DataHora")); - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); - elemField.setNillable(false); - typeDesc.addFieldDesc(elemField); - elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("idUsuario"); - elemField.setXmlName(new javax.xml.namespace.QName("", "IdUsuario")); - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); - elemField.setNillable(false); - typeDesc.addFieldDesc(elemField); - elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("idOrigem"); - elemField.setXmlName(new javax.xml.namespace.QName("", "IdOrigem")); - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); - elemField.setNillable(false); - typeDesc.addFieldDesc(elemField); - elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("idOrgao"); - elemField.setXmlName(new javax.xml.namespace.QName("", "IdOrgao")); - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); - elemField.setNillable(false); - typeDesc.addFieldDesc(elemField); - elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("sigla"); - elemField.setXmlName(new javax.xml.namespace.QName("", "Sigla")); - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); - elemField.setNillable(false); - typeDesc.addFieldDesc(elemField); - } - - /** - * Return type metadata object - */ - public static org.apache.axis.description.TypeDesc getTypeDesc() { - return typeDesc; - } - - /** - * Get Custom Serializer - */ - public static org.apache.axis.encoding.Serializer getSerializer( - java.lang.String mechType, - java.lang.Class _javaType, - javax.xml.namespace.QName _xmlType) { - return - new org.apache.axis.encoding.ser.BeanSerializer( - _javaType, _xmlType, typeDesc); - } - - /** - * Get Custom Deserializer - */ - public static org.apache.axis.encoding.Deserializer getDeserializer( - java.lang.String mechType, - java.lang.Class _javaType, - javax.xml.namespace.QName _xmlType) { - return - new org.apache.axis.encoding.ser.BeanDeserializer( - _javaType, _xmlType, typeDesc); - } +public class Assinatura implements java.io.Serializable { + private java.lang.String nome; + + private java.lang.String cargoFuncao; + + private java.lang.String dataHora; + + private java.lang.String idUsuario; + + private java.lang.String idOrigem; + + private java.lang.String idOrgao; + + private java.lang.String sigla; + + public Assinatura() { + } + + public Assinatura(java.lang.String nome, java.lang.String cargoFuncao, java.lang.String dataHora, + java.lang.String idUsuario, java.lang.String idOrigem, java.lang.String idOrgao, java.lang.String sigla) { + this.nome = nome; + this.cargoFuncao = cargoFuncao; + this.dataHora = dataHora; + this.idUsuario = idUsuario; + this.idOrigem = idOrigem; + this.idOrgao = idOrgao; + this.sigla = sigla; + } + + public java.lang.String getNome() { + return nome; + } + + public void setNome(java.lang.String nome) { + this.nome = nome; + } + + public java.lang.String getCargoFuncao() { + return cargoFuncao; + } + + public void setCargoFuncao(java.lang.String cargoFuncao) { + this.cargoFuncao = cargoFuncao; + } + + public java.lang.String getDataHora() { + return dataHora; + } + + public void setDataHora(java.lang.String dataHora) { + this.dataHora = dataHora; + } + + public java.lang.String getIdUsuario() { + return idUsuario; + } + + public void setIdUsuario(java.lang.String idUsuario) { + this.idUsuario = idUsuario; + } + + public java.lang.String getIdOrigem() { + return idOrigem; + } + + public void setIdOrigem(java.lang.String idOrigem) { + this.idOrigem = idOrigem; + } + + public java.lang.String getIdOrgao() { + return idOrgao; + } + + public void setIdOrgao(java.lang.String idOrgao) { + this.idOrgao = idOrgao; + } + + public java.lang.String getSigla() { + return sigla; + } + + public void setSigla(java.lang.String sigla) { + this.sigla = sigla; + } + + private java.lang.Object __equalsCalc = null; + + public 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()))) + && ((this.idUsuario == null && other.getIdUsuario() == null) + || (this.idUsuario != null && this.idUsuario.equals(other.getIdUsuario()))) + && ((this.idOrigem == null && other.getIdOrigem() == null) + || (this.idOrigem != null && this.idOrigem.equals(other.getIdOrigem()))) + && ((this.idOrgao == null && other.getIdOrgao() == null) + || (this.idOrgao != null && this.idOrgao.equals(other.getIdOrgao()))) + && ((this.sigla == null && other.getSigla() == null) + || (this.sigla != null && this.sigla.equals(other.getSigla()))); + __equalsCalc = null; + return _equals; + } + + private boolean __hashCodeCalc = false; + + public 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(); + } + if (getIdUsuario() != null) { + _hashCode += getIdUsuario().hashCode(); + } + if (getIdOrigem() != null) { + _hashCode += getIdOrigem().hashCode(); + } + if (getIdOrgao() != null) { + _hashCode += getIdOrgao().hashCode(); + } + if (getSigla() != null) { + _hashCode += getSigla().hashCode(); + } + __hashCodeCalc = false; + return _hashCode; + } + + private static org.apache.axis.description.TypeDesc typeDesc = new org.apache.axis.description.TypeDesc( + Assinatura.class, true); + + static { + typeDesc.setXmlType(new javax.xml.namespace.QName("Sei", "Assinatura")); + org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc(); + elemField.setFieldName("nome"); + elemField.setXmlName(new javax.xml.namespace.QName("", "Nome")); + elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); + elemField.setNillable(false); + typeDesc.addFieldDesc(elemField); + elemField = new org.apache.axis.description.ElementDesc(); + elemField.setFieldName("cargoFuncao"); + elemField.setXmlName(new javax.xml.namespace.QName("", "CargoFuncao")); + elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); + elemField.setNillable(false); + typeDesc.addFieldDesc(elemField); + elemField = new org.apache.axis.description.ElementDesc(); + elemField.setFieldName("dataHora"); + elemField.setXmlName(new javax.xml.namespace.QName("", "DataHora")); + elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); + elemField.setNillable(false); + typeDesc.addFieldDesc(elemField); + elemField = new org.apache.axis.description.ElementDesc(); + elemField.setFieldName("idUsuario"); + elemField.setXmlName(new javax.xml.namespace.QName("", "IdUsuario")); + elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); + elemField.setNillable(false); + typeDesc.addFieldDesc(elemField); + elemField = new org.apache.axis.description.ElementDesc(); + elemField.setFieldName("idOrigem"); + elemField.setXmlName(new javax.xml.namespace.QName("", "IdOrigem")); + elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); + elemField.setNillable(false); + typeDesc.addFieldDesc(elemField); + elemField = new org.apache.axis.description.ElementDesc(); + elemField.setFieldName("idOrgao"); + elemField.setXmlName(new javax.xml.namespace.QName("", "IdOrgao")); + elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); + elemField.setNillable(false); + typeDesc.addFieldDesc(elemField); + elemField = new org.apache.axis.description.ElementDesc(); + elemField.setFieldName("sigla"); + elemField.setXmlName(new javax.xml.namespace.QName("", "Sigla")); + elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); + elemField.setNillable(false); + typeDesc.addFieldDesc(elemField); + } + + public static org.apache.axis.description.TypeDesc getTypeDesc() { + return typeDesc; + } + + public static org.apache.axis.encoding.Serializer getSerializer(java.lang.String mechType, + java.lang.Class _javaType, javax.xml.namespace.QName _xmlType) { + return new org.apache.axis.encoding.ser.BeanSerializer(_javaType, _xmlType, typeDesc); + } + + public static org.apache.axis.encoding.Deserializer getDeserializer(java.lang.String mechType, + java.lang.Class _javaType, javax.xml.namespace.QName _xmlType) { + return new org.apache.axis.encoding.ser.BeanDeserializer(_javaType, _xmlType, typeDesc); + } } diff --git a/src/main/java/br/gov/ans/integracao/sei/client/AtributoAndamento.java b/src/main/java/br/gov/ans/integracao/sei/client/AtributoAndamento.java index 938d0dd..929eaaf 100644 --- a/src/main/java/br/gov/ans/integracao/sei/client/AtributoAndamento.java +++ b/src/main/java/br/gov/ans/integracao/sei/client/AtributoAndamento.java @@ -36,56 +36,26 @@ public class AtributoAndamento implements java.io.Serializable { this.idOrigem = idOrigem; } - /** - * Gets the nome value for this AtributoAndamento. - * - * @return nome - */ public java.lang.String getNome() { return nome; } - /** - * Sets the nome value for this AtributoAndamento. - * - * @param nome - */ public void setNome(java.lang.String nome) { this.nome = nome; } - /** - * Gets the valor value for this AtributoAndamento. - * - * @return valor - */ public java.lang.String getValor() { return valor; } - /** - * Sets the valor value for this AtributoAndamento. - * - * @param valor - */ public void setValor(java.lang.String valor) { this.valor = valor; } - /** - * Gets the idOrigem value for this AtributoAndamento. - * - * @return idOrigem - */ public java.lang.String getIdOrigem() { return idOrigem; } - /** - * Sets the idOrigem value for this AtributoAndamento. - * - * @param idOrigem - */ public void setIdOrigem(java.lang.String idOrigem) { this.idOrigem = idOrigem; } @@ -137,7 +107,6 @@ public class AtributoAndamento implements java.io.Serializable { return _hashCode; } - // Type metadata private static org.apache.axis.description.TypeDesc typeDesc = new org.apache.axis.description.TypeDesc( AtributoAndamento.class, true); @@ -163,24 +132,15 @@ public class AtributoAndamento implements java.io.Serializable { typeDesc.addFieldDesc(elemField); } - /** - * Return type metadata object - */ public static org.apache.axis.description.TypeDesc getTypeDesc() { return typeDesc; } - /** - * Get Custom Serializer - */ public static org.apache.axis.encoding.Serializer getSerializer(java.lang.String mechType, java.lang.Class _javaType, javax.xml.namespace.QName _xmlType) { return new org.apache.axis.encoding.ser.BeanSerializer(_javaType, _xmlType, typeDesc); } - /** - * Get Custom Deserializer - */ public static org.apache.axis.encoding.Deserializer getDeserializer(java.lang.String mechType, java.lang.Class _javaType, javax.xml.namespace.QName _xmlType) { return new org.apache.axis.encoding.ser.BeanDeserializer(_javaType, _xmlType, typeDesc); diff --git a/src/main/java/br/gov/ans/integracao/sei/client/Campo.java b/src/main/java/br/gov/ans/integracao/sei/client/Campo.java index 684ec71..542e882 100644 --- a/src/main/java/br/gov/ans/integracao/sei/client/Campo.java +++ b/src/main/java/br/gov/ans/integracao/sei/client/Campo.java @@ -15,149 +15,108 @@ import org.codehaus.jackson.map.annotate.JsonSerialize; @JsonSerialize(include = JsonSerialize.Inclusion.NON_NULL) @JsonIgnoreProperties(ignoreUnknown = true) @XmlRootElement -public class Campo implements java.io.Serializable { - private java.lang.String nome; - - private java.lang.String valor; - - public Campo() { - } - - public Campo( - java.lang.String nome, - java.lang.String valor) { - this.nome = nome; - this.valor = valor; - } - - - /** - * Gets the nome value for this Campo. - * - * @return nome - */ - public java.lang.String getNome() { - return nome; - } - - - /** - * Sets the nome value for this Campo. - * - * @param nome - */ - public void setNome(java.lang.String nome) { - this.nome = nome; - } - - - /** - * Gets the valor value for this Campo. - * - * @return valor - */ - public java.lang.String getValor() { - return valor; - } - - - /** - * Sets the valor value for this Campo. - * - * @param valor - */ - public void setValor(java.lang.String valor) { - this.valor = valor; - } - - private java.lang.Object __equalsCalc = null; - public boolean equals(java.lang.Object obj) { - if (!(obj instanceof Campo)) return false; - Campo other = (Campo) 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.valor==null && other.getValor()==null) || - (this.valor!=null && - this.valor.equals(other.getValor()))); - __equalsCalc = null; - return _equals; - } - - private boolean __hashCodeCalc = false; - public int hashCode() { - if (__hashCodeCalc) { - return 0; - } - __hashCodeCalc = true; - int _hashCode = 1; - if (getNome() != null) { - _hashCode += getNome().hashCode(); - } - if (getValor() != null) { - _hashCode += getValor().hashCode(); - } - __hashCodeCalc = false; - return _hashCode; - } - - // Type metadata - private static org.apache.axis.description.TypeDesc typeDesc = - new org.apache.axis.description.TypeDesc(Campo.class, true); - - static { - typeDesc.setXmlType(new javax.xml.namespace.QName("Sei", "Campo")); - org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("nome"); - elemField.setXmlName(new javax.xml.namespace.QName("", "Nome")); - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); - elemField.setNillable(false); - typeDesc.addFieldDesc(elemField); - elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("valor"); - elemField.setXmlName(new javax.xml.namespace.QName("", "Valor")); - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); - elemField.setNillable(false); - typeDesc.addFieldDesc(elemField); - } - - /** - * Return type metadata object - */ - public static org.apache.axis.description.TypeDesc getTypeDesc() { - return typeDesc; - } - - /** - * Get Custom Serializer - */ - public static org.apache.axis.encoding.Serializer getSerializer( - java.lang.String mechType, - java.lang.Class _javaType, - javax.xml.namespace.QName _xmlType) { - return - new org.apache.axis.encoding.ser.BeanSerializer( - _javaType, _xmlType, typeDesc); - } - - /** - * Get Custom Deserializer - */ - public static org.apache.axis.encoding.Deserializer getDeserializer( - java.lang.String mechType, - java.lang.Class _javaType, - javax.xml.namespace.QName _xmlType) { - return - new org.apache.axis.encoding.ser.BeanDeserializer( - _javaType, _xmlType, typeDesc); - } +public class Campo implements java.io.Serializable { + private java.lang.String nome; + + private java.lang.String valor; + + public Campo() { + } + + public Campo(java.lang.String nome, java.lang.String valor) { + this.nome = nome; + this.valor = valor; + } + + public java.lang.String getNome() { + return nome; + } + + public void setNome(java.lang.String nome) { + this.nome = nome; + } + + public java.lang.String getValor() { + return valor; + } + + public void setValor(java.lang.String valor) { + this.valor = valor; + } + + private java.lang.Object __equalsCalc = null; + + public boolean equals(java.lang.Object obj) { + if (!(obj instanceof Campo)) + return false; + Campo other = (Campo) 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.valor == null && other.getValor() == null) + || (this.valor != null && this.valor.equals(other.getValor()))); + __equalsCalc = null; + return _equals; + } + + private boolean __hashCodeCalc = false; + + public int hashCode() { + if (__hashCodeCalc) { + return 0; + } + __hashCodeCalc = true; + int _hashCode = 1; + if (getNome() != null) { + _hashCode += getNome().hashCode(); + } + if (getValor() != null) { + _hashCode += getValor().hashCode(); + } + __hashCodeCalc = false; + return _hashCode; + } + + private static org.apache.axis.description.TypeDesc typeDesc = new org.apache.axis.description.TypeDesc(Campo.class, + true); + + static { + typeDesc.setXmlType(new javax.xml.namespace.QName("Sei", "Campo")); + org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc(); + elemField.setFieldName("nome"); + elemField.setXmlName(new javax.xml.namespace.QName("", "Nome")); + elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); + elemField.setNillable(false); + typeDesc.addFieldDesc(elemField); + elemField = new org.apache.axis.description.ElementDesc(); + elemField.setFieldName("valor"); + elemField.setXmlName(new javax.xml.namespace.QName("", "Valor")); + elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); + elemField.setNillable(false); + typeDesc.addFieldDesc(elemField); + } + + public static org.apache.axis.description.TypeDesc getTypeDesc() { + return typeDesc; + } + + public static org.apache.axis.encoding.Serializer getSerializer(java.lang.String mechType, + java.lang.Class _javaType, javax.xml.namespace.QName _xmlType) { + return new org.apache.axis.encoding.ser.BeanSerializer(_javaType, _xmlType, typeDesc); + } + + public static org.apache.axis.encoding.Deserializer getDeserializer(java.lang.String mechType, + java.lang.Class _javaType, javax.xml.namespace.QName _xmlType) { + return new org.apache.axis.encoding.ser.BeanDeserializer(_javaType, _xmlType, typeDesc); + } } diff --git a/src/main/java/br/gov/ans/integracao/sei/client/Destinatario.java b/src/main/java/br/gov/ans/integracao/sei/client/Destinatario.java index 972134a..8db8d86 100644 --- a/src/main/java/br/gov/ans/integracao/sei/client/Destinatario.java +++ b/src/main/java/br/gov/ans/integracao/sei/client/Destinatario.java @@ -15,149 +15,108 @@ import org.codehaus.jackson.map.annotate.JsonSerialize; @JsonSerialize(include = JsonSerialize.Inclusion.NON_NULL) @JsonIgnoreProperties(ignoreUnknown = true) @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 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 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; - } - - // Type metadata - private static org.apache.axis.description.TypeDesc typeDesc = - new org.apache.axis.description.TypeDesc(Destinatario.class, true); - - static { - typeDesc.setXmlType(new javax.xml.namespace.QName("Sei", "Destinatario")); - org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("sigla"); - elemField.setXmlName(new javax.xml.namespace.QName("", "Sigla")); - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); - elemField.setNillable(false); - typeDesc.addFieldDesc(elemField); - elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("nome"); - elemField.setXmlName(new javax.xml.namespace.QName("", "Nome")); - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); - elemField.setNillable(false); - typeDesc.addFieldDesc(elemField); - } - - /** - * Return type metadata object - */ - public static org.apache.axis.description.TypeDesc getTypeDesc() { - return typeDesc; - } - - /** - * Get Custom Serializer - */ - public static org.apache.axis.encoding.Serializer getSerializer( - java.lang.String mechType, - java.lang.Class _javaType, - javax.xml.namespace.QName _xmlType) { - return - new org.apache.axis.encoding.ser.BeanSerializer( - _javaType, _xmlType, typeDesc); - } - - /** - * Get Custom Deserializer - */ - public static org.apache.axis.encoding.Deserializer getDeserializer( - java.lang.String mechType, - java.lang.Class _javaType, - javax.xml.namespace.QName _xmlType) { - return - new org.apache.axis.encoding.ser.BeanDeserializer( - _javaType, _xmlType, typeDesc); - } +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; + } + + public java.lang.String getSigla() { + return sigla; + } + + public void setSigla(java.lang.String sigla) { + this.sigla = sigla; + } + + public java.lang.String getNome() { + return nome; + } + + public void setNome(java.lang.String nome) { + this.nome = nome; + } + + private java.lang.Object __equalsCalc = null; + + public 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 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; + } + + private static org.apache.axis.description.TypeDesc typeDesc = new org.apache.axis.description.TypeDesc( + Destinatario.class, true); + + static { + typeDesc.setXmlType(new javax.xml.namespace.QName("Sei", "Destinatario")); + org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc(); + elemField.setFieldName("sigla"); + elemField.setXmlName(new javax.xml.namespace.QName("", "Sigla")); + elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); + elemField.setNillable(false); + typeDesc.addFieldDesc(elemField); + elemField = new org.apache.axis.description.ElementDesc(); + elemField.setFieldName("nome"); + elemField.setXmlName(new javax.xml.namespace.QName("", "Nome")); + elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); + elemField.setNillable(false); + typeDesc.addFieldDesc(elemField); + } + + public static org.apache.axis.description.TypeDesc getTypeDesc() { + return typeDesc; + } + + public static org.apache.axis.encoding.Serializer getSerializer(java.lang.String mechType, + java.lang.Class _javaType, javax.xml.namespace.QName _xmlType) { + return new org.apache.axis.encoding.ser.BeanSerializer(_javaType, _xmlType, typeDesc); + } + + public static org.apache.axis.encoding.Deserializer getDeserializer(java.lang.String mechType, + java.lang.Class _javaType, javax.xml.namespace.QName _xmlType) { + return new org.apache.axis.encoding.ser.BeanDeserializer(_javaType, _xmlType, typeDesc); + } } diff --git a/src/main/java/br/gov/ans/integracao/sei/client/Interessado.java b/src/main/java/br/gov/ans/integracao/sei/client/Interessado.java index ad8c6a9..f2c0c18 100644 --- a/src/main/java/br/gov/ans/integracao/sei/client/Interessado.java +++ b/src/main/java/br/gov/ans/integracao/sei/client/Interessado.java @@ -15,149 +15,108 @@ import org.codehaus.jackson.map.annotate.JsonSerialize; @JsonSerialize(include = JsonSerialize.Inclusion.NON_NULL) @JsonIgnoreProperties(ignoreUnknown = true) @XmlRootElement -public class Interessado implements java.io.Serializable { - private java.lang.String sigla; - - private java.lang.String nome; - - public Interessado() { - } - - public Interessado( - java.lang.String sigla, - java.lang.String nome) { - this.sigla = sigla; - this.nome = nome; - } - - - /** - * Gets the sigla value for this Interessado. - * - * @return sigla - */ - public java.lang.String getSigla() { - return sigla; - } - - - /** - * Sets the sigla value for this Interessado. - * - * @param sigla - */ - public void setSigla(java.lang.String sigla) { - this.sigla = sigla; - } - - - /** - * Gets the nome value for this Interessado. - * - * @return nome - */ - public java.lang.String getNome() { - return nome; - } - - - /** - * Sets the nome value for this Interessado. - * - * @param nome - */ - public void setNome(java.lang.String nome) { - this.nome = nome; - } - - private java.lang.Object __equalsCalc = null; - public boolean equals(java.lang.Object obj) { - if (!(obj instanceof Interessado)) return false; - Interessado other = (Interessado) 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 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; - } - - // Type metadata - private static org.apache.axis.description.TypeDesc typeDesc = - new org.apache.axis.description.TypeDesc(Interessado.class, true); - - static { - typeDesc.setXmlType(new javax.xml.namespace.QName("Sei", "Interessado")); - org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("sigla"); - elemField.setXmlName(new javax.xml.namespace.QName("", "Sigla")); - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); - elemField.setNillable(false); - typeDesc.addFieldDesc(elemField); - elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("nome"); - elemField.setXmlName(new javax.xml.namespace.QName("", "Nome")); - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); - elemField.setNillable(false); - typeDesc.addFieldDesc(elemField); - } - - /** - * Return type metadata object - */ - public static org.apache.axis.description.TypeDesc getTypeDesc() { - return typeDesc; - } - - /** - * Get Custom Serializer - */ - public static org.apache.axis.encoding.Serializer getSerializer( - java.lang.String mechType, - java.lang.Class _javaType, - javax.xml.namespace.QName _xmlType) { - return - new org.apache.axis.encoding.ser.BeanSerializer( - _javaType, _xmlType, typeDesc); - } - - /** - * Get Custom Deserializer - */ - public static org.apache.axis.encoding.Deserializer getDeserializer( - java.lang.String mechType, - java.lang.Class _javaType, - javax.xml.namespace.QName _xmlType) { - return - new org.apache.axis.encoding.ser.BeanDeserializer( - _javaType, _xmlType, typeDesc); - } +public class Interessado implements java.io.Serializable { + private java.lang.String sigla; + + private java.lang.String nome; + + public Interessado() { + } + + public Interessado(java.lang.String sigla, java.lang.String nome) { + this.sigla = sigla; + this.nome = nome; + } + + public java.lang.String getSigla() { + return sigla; + } + + public void setSigla(java.lang.String sigla) { + this.sigla = sigla; + } + + public java.lang.String getNome() { + return nome; + } + + public void setNome(java.lang.String nome) { + this.nome = nome; + } + + private java.lang.Object __equalsCalc = null; + + public boolean equals(java.lang.Object obj) { + if (!(obj instanceof Interessado)) + return false; + Interessado other = (Interessado) 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 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; + } + + private static org.apache.axis.description.TypeDesc typeDesc = new org.apache.axis.description.TypeDesc( + Interessado.class, true); + + static { + typeDesc.setXmlType(new javax.xml.namespace.QName("Sei", "Interessado")); + org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc(); + elemField.setFieldName("sigla"); + elemField.setXmlName(new javax.xml.namespace.QName("", "Sigla")); + elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); + elemField.setNillable(false); + typeDesc.addFieldDesc(elemField); + elemField = new org.apache.axis.description.ElementDesc(); + elemField.setFieldName("nome"); + elemField.setXmlName(new javax.xml.namespace.QName("", "Nome")); + elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); + elemField.setNillable(false); + typeDesc.addFieldDesc(elemField); + } + + public static org.apache.axis.description.TypeDesc getTypeDesc() { + return typeDesc; + } + + public static org.apache.axis.encoding.Serializer getSerializer(java.lang.String mechType, + java.lang.Class _javaType, javax.xml.namespace.QName _xmlType) { + return new org.apache.axis.encoding.ser.BeanSerializer(_javaType, _xmlType, typeDesc); + } + + public static org.apache.axis.encoding.Deserializer getDeserializer(java.lang.String mechType, + java.lang.Class _javaType, javax.xml.namespace.QName _xmlType) { + return new org.apache.axis.encoding.ser.BeanDeserializer(_javaType, _xmlType, typeDesc); + } } diff --git a/src/main/java/br/gov/ans/integracao/sei/client/Procedimento.java b/src/main/java/br/gov/ans/integracao/sei/client/Procedimento.java index 5da1be7..89f7767 100644 --- a/src/main/java/br/gov/ans/integracao/sei/client/Procedimento.java +++ b/src/main/java/br/gov/ans/integracao/sei/client/Procedimento.java @@ -15,417 +15,275 @@ import org.codehaus.jackson.map.annotate.JsonSerialize; @JsonSerialize(include = JsonSerialize.Inclusion.NON_NULL) @JsonIgnoreProperties(ignoreUnknown = true) @XmlRootElement -public class Procedimento implements java.io.Serializable { - private java.lang.String idTipoProcedimento; - - private java.lang.String numeroProtocolo; - - private java.lang.String dataAutuacao; - - private java.lang.String especificacao; - - private br.gov.ans.integracao.sei.client.Assunto[] assuntos; - - private br.gov.ans.integracao.sei.client.Interessado[] interessados; - - private java.lang.String observacao; - - private java.lang.String nivelAcesso; - - private java.lang.String idHipoteseLegal; - - public Procedimento() { - } - - public Procedimento( - java.lang.String idTipoProcedimento, - java.lang.String numeroProtocolo, - java.lang.String dataAutuacao, - java.lang.String especificacao, - br.gov.ans.integracao.sei.client.Assunto[] assuntos, - br.gov.ans.integracao.sei.client.Interessado[] interessados, - java.lang.String observacao, - java.lang.String nivelAcesso, - java.lang.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 java.lang.String getIdTipoProcedimento() { - return idTipoProcedimento; - } - - - /** - * Sets the idTipoProcedimento value for this Procedimento. - * - * @param idTipoProcedimento - */ - public void setIdTipoProcedimento(java.lang.String idTipoProcedimento) { - this.idTipoProcedimento = idTipoProcedimento; - } - - - /** - * Gets the numeroProtocolo value for this Procedimento. - * - * @return numeroProtocolo - */ - public java.lang.String getNumeroProtocolo() { - return numeroProtocolo; - } - - - /** - * Sets the numeroProtocolo value for this Procedimento. - * - * @param numeroProtocolo - */ - public void setNumeroProtocolo(java.lang.String numeroProtocolo) { - this.numeroProtocolo = numeroProtocolo; - } - - - /** - * Gets the dataAutuacao value for this Procedimento. - * - * @return dataAutuacao - */ - public java.lang.String getDataAutuacao() { - return dataAutuacao; - } - - - /** - * Sets the dataAutuacao value for this Procedimento. - * - * @param dataAutuacao - */ - public void setDataAutuacao(java.lang.String dataAutuacao) { - this.dataAutuacao = dataAutuacao; - } - - - /** - * Gets the especificacao value for this Procedimento. - * - * @return especificacao - */ - public java.lang.String getEspecificacao() { - return especificacao; - } - - - /** - * Sets the especificacao value for this Procedimento. - * - * @param especificacao - */ - public void setEspecificacao(java.lang.String especificacao) { - this.especificacao = especificacao; - } - - - /** - * Gets the assuntos value for this Procedimento. - * - * @return assuntos - */ - public br.gov.ans.integracao.sei.client.Assunto[] getAssuntos() { - return assuntos; - } - - - /** - * Sets the assuntos value for this Procedimento. - * - * @param assuntos - */ - public void setAssuntos(br.gov.ans.integracao.sei.client.Assunto[] assuntos) { - this.assuntos = assuntos; - } - - - /** - * Gets the interessados value for this Procedimento. - * - * @return interessados - */ - public br.gov.ans.integracao.sei.client.Interessado[] getInteressados() { - return interessados; - } - - - /** - * Sets the interessados value for this Procedimento. - * - * @param interessados - */ - public void setInteressados(br.gov.ans.integracao.sei.client.Interessado[] interessados) { - this.interessados = interessados; - } - - - /** - * Gets the observacao value for this Procedimento. - * - * @return observacao - */ - public java.lang.String getObservacao() { - return observacao; - } - - - /** - * Sets the observacao value for this Procedimento. - * - * @param observacao - */ - public void setObservacao(java.lang.String observacao) { - this.observacao = observacao; - } - - - /** - * Gets the nivelAcesso value for this Procedimento. - * - * @return nivelAcesso - */ - public java.lang.String getNivelAcesso() { - return nivelAcesso; - } - - - /** - * Sets the nivelAcesso value for this Procedimento. - * - * @param nivelAcesso - */ - public void setNivelAcesso(java.lang.String nivelAcesso) { - this.nivelAcesso = nivelAcesso; - } - - - /** - * Gets the idHipoteseLegal value for this Procedimento. - * - * @return idHipoteseLegal - */ - public java.lang.String getIdHipoteseLegal() { - return idHipoteseLegal; - } - - - /** - * Sets the idHipoteseLegal value for this Procedimento. - * - * @param idHipoteseLegal - */ - public void setIdHipoteseLegal(java.lang.String idHipoteseLegal) { - this.idHipoteseLegal = idHipoteseLegal; - } - - private java.lang.Object __equalsCalc = null; - public boolean equals(java.lang.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 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