Commit 0e7609381cc3eb26682c19e0472a85db7cd77fad

Authored by andre.guimaraes
1 parent ad8e1e15

Remove comentários de código desnecessários

Remoção de comentários de código que foram apontados pelo sonnar.
src/main/java/br/gov/ans/integracao/sei/client/Assinatura.java
@@ -15,273 +15,219 @@ import org.codehaus.jackson.map.annotate.JsonSerialize; @@ -15,273 +15,219 @@ import org.codehaus.jackson.map.annotate.JsonSerialize;
15 @JsonSerialize(include = JsonSerialize.Inclusion.NON_NULL) 15 @JsonSerialize(include = JsonSerialize.Inclusion.NON_NULL)
16 @JsonIgnoreProperties(ignoreUnknown = true) 16 @JsonIgnoreProperties(ignoreUnknown = true)
17 @XmlRootElement 17 @XmlRootElement
18 -public class Assinatura implements java.io.Serializable {  
19 - private java.lang.String nome;  
20 -  
21 - private java.lang.String cargoFuncao;  
22 -  
23 - private java.lang.String dataHora;  
24 -  
25 - private java.lang.String idUsuario;  
26 -  
27 - private java.lang.String idOrigem;  
28 -  
29 - private java.lang.String idOrgao;  
30 -  
31 - private java.lang.String sigla;  
32 -  
33 - public Assinatura() {  
34 - }  
35 -  
36 - public Assinatura(  
37 - java.lang.String nome,  
38 - java.lang.String cargoFuncao,  
39 - java.lang.String dataHora,  
40 - java.lang.String idUsuario,  
41 - java.lang.String idOrigem,  
42 - java.lang.String idOrgao,  
43 - java.lang.String sigla) {  
44 - this.nome = nome;  
45 - this.cargoFuncao = cargoFuncao;  
46 - this.dataHora = dataHora;  
47 - this.idUsuario = idUsuario;  
48 - this.idOrigem = idOrigem;  
49 - this.idOrgao = idOrgao;  
50 - this.sigla = sigla;  
51 - }  
52 -  
53 -  
54 - /**  
55 - * Gets the nome value for this Assinatura.  
56 - *  
57 - * @return nome  
58 - */  
59 - public java.lang.String getNome() {  
60 - return nome;  
61 - }  
62 -  
63 -  
64 - /**  
65 - * Sets the nome value for this Assinatura.  
66 - *  
67 - * @param nome  
68 - */  
69 - public void setNome(java.lang.String nome) {  
70 - this.nome = nome;  
71 - }  
72 -  
73 -  
74 - /**  
75 - * Gets the cargoFuncao value for this Assinatura.  
76 - *  
77 - * @return cargoFuncao  
78 - */  
79 - public java.lang.String getCargoFuncao() {  
80 - return cargoFuncao;  
81 - }  
82 -  
83 -  
84 - /**  
85 - * Sets the cargoFuncao value for this Assinatura.  
86 - *  
87 - * @param cargoFuncao  
88 - */  
89 - public void setCargoFuncao(java.lang.String cargoFuncao) {  
90 - this.cargoFuncao = cargoFuncao;  
91 - }  
92 -  
93 -  
94 - /**  
95 - * Gets the dataHora value for this Assinatura.  
96 - *  
97 - * @return dataHora  
98 - */  
99 - public java.lang.String getDataHora() {  
100 - return dataHora;  
101 - }  
102 -  
103 -  
104 - /**  
105 - * Sets the dataHora value for this Assinatura.  
106 - *  
107 - * @param dataHora  
108 - */  
109 - public void setDataHora(java.lang.String dataHora) {  
110 - this.dataHora = dataHora;  
111 - }  
112 -  
113 - public java.lang.String getIdUsuario() {  
114 - return idUsuario;  
115 - }  
116 - public void setIdUsuario(java.lang.String idUsuario) {  
117 - this.idUsuario = idUsuario;  
118 - }  
119 - public java.lang.String getIdOrigem() {  
120 - return idOrigem;  
121 - }  
122 - public void setIdOrigem(java.lang.String idOrigem) {  
123 - this.idOrigem = idOrigem;  
124 - }  
125 - public java.lang.String getIdOrgao() {  
126 - return idOrgao;  
127 - }  
128 - public void setIdOrgao(java.lang.String idOrgao) {  
129 - this.idOrgao = idOrgao;  
130 - }  
131 - public java.lang.String getSigla() {  
132 - return sigla;  
133 - }  
134 - public void setSigla(java.lang.String sigla) {  
135 - this.sigla = sigla;  
136 - }  
137 - private java.lang.Object __equalsCalc = null;  
138 - public boolean equals(java.lang.Object obj) {  
139 - if (!(obj instanceof Assinatura)) return false;  
140 - Assinatura other = (Assinatura) obj;  
141 - if (obj == null) return false;  
142 - if (this == obj) return true;  
143 - if (__equalsCalc != null) {  
144 - return (__equalsCalc == obj);  
145 - }  
146 - __equalsCalc = obj;  
147 - boolean _equals;  
148 - _equals = true &&  
149 - ((this.nome==null && other.getNome()==null) ||  
150 - (this.nome!=null &&  
151 - this.nome.equals(other.getNome()))) &&  
152 - ((this.cargoFuncao==null && other.getCargoFuncao()==null) ||  
153 - (this.cargoFuncao!=null &&  
154 - this.cargoFuncao.equals(other.getCargoFuncao()))) &&  
155 - ((this.dataHora==null && other.getDataHora()==null) ||  
156 - (this.dataHora!=null &&  
157 - this.dataHora.equals(other.getDataHora()))) &&  
158 - ((this.idUsuario==null && other.getIdUsuario()==null) ||  
159 - (this.idUsuario!=null &&  
160 - this.idUsuario.equals(other.getIdUsuario()))) &&  
161 - ((this.idOrigem==null && other.getIdOrigem()==null) ||  
162 - (this.idOrigem!=null &&  
163 - this.idOrigem.equals(other.getIdOrigem()))) &&  
164 - ((this.idOrgao==null && other.getIdOrgao()==null) ||  
165 - (this.idOrgao!=null &&  
166 - this.idOrgao.equals(other.getIdOrgao()))) &&  
167 - ((this.sigla==null && other.getSigla()==null) ||  
168 - (this.sigla!=null &&  
169 - this.sigla.equals(other.getSigla())));  
170 - __equalsCalc = null;  
171 - return _equals;  
172 - }  
173 -  
174 - private boolean __hashCodeCalc = false;  
175 - public int hashCode() {  
176 - if (__hashCodeCalc) {  
177 - return 0;  
178 - }  
179 - __hashCodeCalc = true;  
180 - int _hashCode = 1;  
181 - if (getNome() != null) {  
182 - _hashCode += getNome().hashCode();  
183 - }  
184 - if (getCargoFuncao() != null) {  
185 - _hashCode += getCargoFuncao().hashCode();  
186 - }  
187 - if (getDataHora() != null) {  
188 - _hashCode += getDataHora().hashCode();  
189 - }  
190 - if (getIdUsuario() != null) {  
191 - _hashCode += getIdUsuario().hashCode();  
192 - }  
193 - if (getIdOrigem() != null) {  
194 - _hashCode += getIdOrigem().hashCode();  
195 - }  
196 - if (getIdOrgao() != null) {  
197 - _hashCode += getIdOrgao().hashCode();  
198 - }  
199 - if (getSigla() != null) {  
200 - _hashCode += getSigla().hashCode();  
201 - }  
202 - __hashCodeCalc = false;  
203 - return _hashCode;  
204 - }  
205 -  
206 - // Type metadata  
207 - private static org.apache.axis.description.TypeDesc typeDesc =  
208 - new org.apache.axis.description.TypeDesc(Assinatura.class, true);  
209 -  
210 - static {  
211 - typeDesc.setXmlType(new javax.xml.namespace.QName("Sei", "Assinatura"));  
212 - org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();  
213 - elemField.setFieldName("nome");  
214 - elemField.setXmlName(new javax.xml.namespace.QName("", "Nome"));  
215 - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));  
216 - elemField.setNillable(false);  
217 - typeDesc.addFieldDesc(elemField);  
218 - elemField = new org.apache.axis.description.ElementDesc();  
219 - elemField.setFieldName("cargoFuncao");  
220 - elemField.setXmlName(new javax.xml.namespace.QName("", "CargoFuncao"));  
221 - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));  
222 - elemField.setNillable(false);  
223 - typeDesc.addFieldDesc(elemField);  
224 - elemField = new org.apache.axis.description.ElementDesc();  
225 - elemField.setFieldName("dataHora");  
226 - elemField.setXmlName(new javax.xml.namespace.QName("", "DataHora"));  
227 - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));  
228 - elemField.setNillable(false);  
229 - typeDesc.addFieldDesc(elemField);  
230 - elemField = new org.apache.axis.description.ElementDesc();  
231 - elemField.setFieldName("idUsuario");  
232 - elemField.setXmlName(new javax.xml.namespace.QName("", "IdUsuario"));  
233 - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));  
234 - elemField.setNillable(false);  
235 - typeDesc.addFieldDesc(elemField);  
236 - elemField = new org.apache.axis.description.ElementDesc();  
237 - elemField.setFieldName("idOrigem");  
238 - elemField.setXmlName(new javax.xml.namespace.QName("", "IdOrigem"));  
239 - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));  
240 - elemField.setNillable(false);  
241 - typeDesc.addFieldDesc(elemField);  
242 - elemField = new org.apache.axis.description.ElementDesc();  
243 - elemField.setFieldName("idOrgao");  
244 - elemField.setXmlName(new javax.xml.namespace.QName("", "IdOrgao"));  
245 - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));  
246 - elemField.setNillable(false);  
247 - typeDesc.addFieldDesc(elemField);  
248 - elemField = new org.apache.axis.description.ElementDesc();  
249 - elemField.setFieldName("sigla");  
250 - elemField.setXmlName(new javax.xml.namespace.QName("", "Sigla"));  
251 - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));  
252 - elemField.setNillable(false);  
253 - typeDesc.addFieldDesc(elemField);  
254 - }  
255 -  
256 - /**  
257 - * Return type metadata object  
258 - */  
259 - public static org.apache.axis.description.TypeDesc getTypeDesc() {  
260 - return typeDesc;  
261 - }  
262 -  
263 - /**  
264 - * Get Custom Serializer  
265 - */  
266 - public static org.apache.axis.encoding.Serializer getSerializer(  
267 - java.lang.String mechType,  
268 - java.lang.Class _javaType,  
269 - javax.xml.namespace.QName _xmlType) {  
270 - return  
271 - new org.apache.axis.encoding.ser.BeanSerializer(  
272 - _javaType, _xmlType, typeDesc);  
273 - }  
274 -  
275 - /**  
276 - * Get Custom Deserializer  
277 - */  
278 - public static org.apache.axis.encoding.Deserializer getDeserializer(  
279 - java.lang.String mechType,  
280 - java.lang.Class _javaType,  
281 - javax.xml.namespace.QName _xmlType) {  
282 - return  
283 - new org.apache.axis.encoding.ser.BeanDeserializer(  
284 - _javaType, _xmlType, typeDesc);  
285 - } 18 +public class Assinatura implements java.io.Serializable {
  19 + private java.lang.String nome;
  20 +
  21 + private java.lang.String cargoFuncao;
  22 +
  23 + private java.lang.String dataHora;
  24 +
  25 + private java.lang.String idUsuario;
  26 +
  27 + private java.lang.String idOrigem;
  28 +
  29 + private java.lang.String idOrgao;
  30 +
  31 + private java.lang.String sigla;
  32 +
  33 + public Assinatura() {
  34 + }
  35 +
  36 + public Assinatura(java.lang.String nome, java.lang.String cargoFuncao, java.lang.String dataHora,
  37 + java.lang.String idUsuario, java.lang.String idOrigem, java.lang.String idOrgao, java.lang.String sigla) {
  38 + this.nome = nome;
  39 + this.cargoFuncao = cargoFuncao;
  40 + this.dataHora = dataHora;
  41 + this.idUsuario = idUsuario;
  42 + this.idOrigem = idOrigem;
  43 + this.idOrgao = idOrgao;
  44 + this.sigla = sigla;
  45 + }
  46 +
  47 + public java.lang.String getNome() {
  48 + return nome;
  49 + }
  50 +
  51 + public void setNome(java.lang.String nome) {
  52 + this.nome = nome;
  53 + }
  54 +
  55 + public java.lang.String getCargoFuncao() {
  56 + return cargoFuncao;
  57 + }
  58 +
  59 + public void setCargoFuncao(java.lang.String cargoFuncao) {
  60 + this.cargoFuncao = cargoFuncao;
  61 + }
  62 +
  63 + public java.lang.String getDataHora() {
  64 + return dataHora;
  65 + }
  66 +
  67 + public void setDataHora(java.lang.String dataHora) {
  68 + this.dataHora = dataHora;
  69 + }
  70 +
  71 + public java.lang.String getIdUsuario() {
  72 + return idUsuario;
  73 + }
  74 +
  75 + public void setIdUsuario(java.lang.String idUsuario) {
  76 + this.idUsuario = idUsuario;
  77 + }
  78 +
  79 + public java.lang.String getIdOrigem() {
  80 + return idOrigem;
  81 + }
  82 +
  83 + public void setIdOrigem(java.lang.String idOrigem) {
  84 + this.idOrigem = idOrigem;
  85 + }
  86 +
  87 + public java.lang.String getIdOrgao() {
  88 + return idOrgao;
  89 + }
  90 +
  91 + public void setIdOrgao(java.lang.String idOrgao) {
  92 + this.idOrgao = idOrgao;
  93 + }
  94 +
  95 + public java.lang.String getSigla() {
  96 + return sigla;
  97 + }
  98 +
  99 + public void setSigla(java.lang.String sigla) {
  100 + this.sigla = sigla;
  101 + }
  102 +
  103 + private java.lang.Object __equalsCalc = null;
  104 +
  105 + public boolean equals(java.lang.Object obj) {
  106 + if (!(obj instanceof Assinatura))
  107 + return false;
  108 + Assinatura other = (Assinatura) obj;
  109 + if (obj == null)
  110 + return false;
  111 + if (this == obj)
  112 + return true;
  113 + if (__equalsCalc != null) {
  114 + return (__equalsCalc == obj);
  115 + }
  116 + __equalsCalc = obj;
  117 + boolean _equals;
  118 + _equals = true
  119 + && ((this.nome == null && other.getNome() == null)
  120 + || (this.nome != null && this.nome.equals(other.getNome())))
  121 + && ((this.cargoFuncao == null && other.getCargoFuncao() == null)
  122 + || (this.cargoFuncao != null && this.cargoFuncao.equals(other.getCargoFuncao())))
  123 + && ((this.dataHora == null && other.getDataHora() == null)
  124 + || (this.dataHora != null && this.dataHora.equals(other.getDataHora())))
  125 + && ((this.idUsuario == null && other.getIdUsuario() == null)
  126 + || (this.idUsuario != null && this.idUsuario.equals(other.getIdUsuario())))
  127 + && ((this.idOrigem == null && other.getIdOrigem() == null)
  128 + || (this.idOrigem != null && this.idOrigem.equals(other.getIdOrigem())))
  129 + && ((this.idOrgao == null && other.getIdOrgao() == null)
  130 + || (this.idOrgao != null && this.idOrgao.equals(other.getIdOrgao())))
  131 + && ((this.sigla == null && other.getSigla() == null)
  132 + || (this.sigla != null && this.sigla.equals(other.getSigla())));
  133 + __equalsCalc = null;
  134 + return _equals;
  135 + }
  136 +
  137 + private boolean __hashCodeCalc = false;
  138 +
  139 + public int hashCode() {
  140 + if (__hashCodeCalc) {
  141 + return 0;
  142 + }
  143 + __hashCodeCalc = true;
  144 + int _hashCode = 1;
  145 + if (getNome() != null) {
  146 + _hashCode += getNome().hashCode();
  147 + }
  148 + if (getCargoFuncao() != null) {
  149 + _hashCode += getCargoFuncao().hashCode();
  150 + }
  151 + if (getDataHora() != null) {
  152 + _hashCode += getDataHora().hashCode();
  153 + }
  154 + if (getIdUsuario() != null) {
  155 + _hashCode += getIdUsuario().hashCode();
  156 + }
  157 + if (getIdOrigem() != null) {
  158 + _hashCode += getIdOrigem().hashCode();
  159 + }
  160 + if (getIdOrgao() != null) {
  161 + _hashCode += getIdOrgao().hashCode();
  162 + }
  163 + if (getSigla() != null) {
  164 + _hashCode += getSigla().hashCode();
  165 + }
  166 + __hashCodeCalc = false;
  167 + return _hashCode;
  168 + }
  169 +
  170 + private static org.apache.axis.description.TypeDesc typeDesc = new org.apache.axis.description.TypeDesc(
  171 + Assinatura.class, true);
  172 +
  173 + static {
  174 + typeDesc.setXmlType(new javax.xml.namespace.QName("Sei", "Assinatura"));
  175 + org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
  176 + elemField.setFieldName("nome");
  177 + elemField.setXmlName(new javax.xml.namespace.QName("", "Nome"));
  178 + elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
  179 + elemField.setNillable(false);
  180 + typeDesc.addFieldDesc(elemField);
  181 + elemField = new org.apache.axis.description.ElementDesc();
  182 + elemField.setFieldName("cargoFuncao");
  183 + elemField.setXmlName(new javax.xml.namespace.QName("", "CargoFuncao"));
  184 + elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
  185 + elemField.setNillable(false);
  186 + typeDesc.addFieldDesc(elemField);
  187 + elemField = new org.apache.axis.description.ElementDesc();
  188 + elemField.setFieldName("dataHora");
  189 + elemField.setXmlName(new javax.xml.namespace.QName("", "DataHora"));
  190 + elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
  191 + elemField.setNillable(false);
  192 + typeDesc.addFieldDesc(elemField);
  193 + elemField = new org.apache.axis.description.ElementDesc();
  194 + elemField.setFieldName("idUsuario");
  195 + elemField.setXmlName(new javax.xml.namespace.QName("", "IdUsuario"));
  196 + elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
  197 + elemField.setNillable(false);
  198 + typeDesc.addFieldDesc(elemField);
  199 + elemField = new org.apache.axis.description.ElementDesc();
  200 + elemField.setFieldName("idOrigem");
  201 + elemField.setXmlName(new javax.xml.namespace.QName("", "IdOrigem"));
  202 + elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
  203 + elemField.setNillable(false);
  204 + typeDesc.addFieldDesc(elemField);
  205 + elemField = new org.apache.axis.description.ElementDesc();
  206 + elemField.setFieldName("idOrgao");
  207 + elemField.setXmlName(new javax.xml.namespace.QName("", "IdOrgao"));
  208 + elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
  209 + elemField.setNillable(false);
  210 + typeDesc.addFieldDesc(elemField);
  211 + elemField = new org.apache.axis.description.ElementDesc();
  212 + elemField.setFieldName("sigla");
  213 + elemField.setXmlName(new javax.xml.namespace.QName("", "Sigla"));
  214 + elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
  215 + elemField.setNillable(false);
  216 + typeDesc.addFieldDesc(elemField);
  217 + }
  218 +
  219 + public static org.apache.axis.description.TypeDesc getTypeDesc() {
  220 + return typeDesc;
  221 + }
  222 +
  223 + public static org.apache.axis.encoding.Serializer getSerializer(java.lang.String mechType,
  224 + java.lang.Class _javaType, javax.xml.namespace.QName _xmlType) {
  225 + return new org.apache.axis.encoding.ser.BeanSerializer(_javaType, _xmlType, typeDesc);
  226 + }
  227 +
  228 + public static org.apache.axis.encoding.Deserializer getDeserializer(java.lang.String mechType,
  229 + java.lang.Class _javaType, javax.xml.namespace.QName _xmlType) {
  230 + return new org.apache.axis.encoding.ser.BeanDeserializer(_javaType, _xmlType, typeDesc);
  231 + }
286 232
287 } 233 }
src/main/java/br/gov/ans/integracao/sei/client/AtributoAndamento.java
@@ -36,56 +36,26 @@ public class AtributoAndamento implements java.io.Serializable { @@ -36,56 +36,26 @@ public class AtributoAndamento implements java.io.Serializable {
36 this.idOrigem = idOrigem; 36 this.idOrigem = idOrigem;
37 } 37 }
38 38
39 - /**  
40 - * Gets the nome value for this AtributoAndamento.  
41 - *  
42 - * @return nome  
43 - */  
44 public java.lang.String getNome() { 39 public java.lang.String getNome() {
45 return nome; 40 return nome;
46 } 41 }
47 42
48 - /**  
49 - * Sets the nome value for this AtributoAndamento.  
50 - *  
51 - * @param nome  
52 - */  
53 public void setNome(java.lang.String nome) { 43 public void setNome(java.lang.String nome) {
54 this.nome = nome; 44 this.nome = nome;
55 } 45 }
56 46
57 - /**  
58 - * Gets the valor value for this AtributoAndamento.  
59 - *  
60 - * @return valor  
61 - */  
62 public java.lang.String getValor() { 47 public java.lang.String getValor() {
63 return valor; 48 return valor;
64 } 49 }
65 50
66 - /**  
67 - * Sets the valor value for this AtributoAndamento.  
68 - *  
69 - * @param valor  
70 - */  
71 public void setValor(java.lang.String valor) { 51 public void setValor(java.lang.String valor) {
72 this.valor = valor; 52 this.valor = valor;
73 } 53 }
74 54
75 - /**  
76 - * Gets the idOrigem value for this AtributoAndamento.  
77 - *  
78 - * @return idOrigem  
79 - */  
80 public java.lang.String getIdOrigem() { 55 public java.lang.String getIdOrigem() {
81 return idOrigem; 56 return idOrigem;
82 } 57 }
83 58
84 - /**  
85 - * Sets the idOrigem value for this AtributoAndamento.  
86 - *  
87 - * @param idOrigem  
88 - */  
89 public void setIdOrigem(java.lang.String idOrigem) { 59 public void setIdOrigem(java.lang.String idOrigem) {
90 this.idOrigem = idOrigem; 60 this.idOrigem = idOrigem;
91 } 61 }
@@ -137,7 +107,6 @@ public class AtributoAndamento implements java.io.Serializable { @@ -137,7 +107,6 @@ public class AtributoAndamento implements java.io.Serializable {
137 return _hashCode; 107 return _hashCode;
138 } 108 }
139 109
140 - // Type metadata  
141 private static org.apache.axis.description.TypeDesc typeDesc = new org.apache.axis.description.TypeDesc( 110 private static org.apache.axis.description.TypeDesc typeDesc = new org.apache.axis.description.TypeDesc(
142 AtributoAndamento.class, true); 111 AtributoAndamento.class, true);
143 112
@@ -163,24 +132,15 @@ public class AtributoAndamento implements java.io.Serializable { @@ -163,24 +132,15 @@ public class AtributoAndamento implements java.io.Serializable {
163 typeDesc.addFieldDesc(elemField); 132 typeDesc.addFieldDesc(elemField);
164 } 133 }
165 134
166 - /**  
167 - * Return type metadata object  
168 - */  
169 public static org.apache.axis.description.TypeDesc getTypeDesc() { 135 public static org.apache.axis.description.TypeDesc getTypeDesc() {
170 return typeDesc; 136 return typeDesc;
171 } 137 }
172 138
173 - /**  
174 - * Get Custom Serializer  
175 - */  
176 public static org.apache.axis.encoding.Serializer getSerializer(java.lang.String mechType, 139 public static org.apache.axis.encoding.Serializer getSerializer(java.lang.String mechType,
177 java.lang.Class _javaType, javax.xml.namespace.QName _xmlType) { 140 java.lang.Class _javaType, javax.xml.namespace.QName _xmlType) {
178 return new org.apache.axis.encoding.ser.BeanSerializer(_javaType, _xmlType, typeDesc); 141 return new org.apache.axis.encoding.ser.BeanSerializer(_javaType, _xmlType, typeDesc);
179 } 142 }
180 143
181 - /**  
182 - * Get Custom Deserializer  
183 - */  
184 public static org.apache.axis.encoding.Deserializer getDeserializer(java.lang.String mechType, 144 public static org.apache.axis.encoding.Deserializer getDeserializer(java.lang.String mechType,
185 java.lang.Class _javaType, javax.xml.namespace.QName _xmlType) { 145 java.lang.Class _javaType, javax.xml.namespace.QName _xmlType) {
186 return new org.apache.axis.encoding.ser.BeanDeserializer(_javaType, _xmlType, typeDesc); 146 return new org.apache.axis.encoding.ser.BeanDeserializer(_javaType, _xmlType, typeDesc);
src/main/java/br/gov/ans/integracao/sei/client/Campo.java
@@ -15,149 +15,108 @@ import org.codehaus.jackson.map.annotate.JsonSerialize; @@ -15,149 +15,108 @@ import org.codehaus.jackson.map.annotate.JsonSerialize;
15 @JsonSerialize(include = JsonSerialize.Inclusion.NON_NULL) 15 @JsonSerialize(include = JsonSerialize.Inclusion.NON_NULL)
16 @JsonIgnoreProperties(ignoreUnknown = true) 16 @JsonIgnoreProperties(ignoreUnknown = true)
17 @XmlRootElement 17 @XmlRootElement
18 -public class Campo implements java.io.Serializable {  
19 - private java.lang.String nome;  
20 -  
21 - private java.lang.String valor;  
22 -  
23 - public Campo() {  
24 - }  
25 -  
26 - public Campo(  
27 - java.lang.String nome,  
28 - java.lang.String valor) {  
29 - this.nome = nome;  
30 - this.valor = valor;  
31 - }  
32 -  
33 -  
34 - /**  
35 - * Gets the nome value for this Campo.  
36 - *  
37 - * @return nome  
38 - */  
39 - public java.lang.String getNome() {  
40 - return nome;  
41 - }  
42 -  
43 -  
44 - /**  
45 - * Sets the nome value for this Campo.  
46 - *  
47 - * @param nome  
48 - */  
49 - public void setNome(java.lang.String nome) {  
50 - this.nome = nome;  
51 - }  
52 -  
53 -  
54 - /**  
55 - * Gets the valor value for this Campo.  
56 - *  
57 - * @return valor  
58 - */  
59 - public java.lang.String getValor() {  
60 - return valor;  
61 - }  
62 -  
63 -  
64 - /**  
65 - * Sets the valor value for this Campo.  
66 - *  
67 - * @param valor  
68 - */  
69 - public void setValor(java.lang.String valor) {  
70 - this.valor = valor;  
71 - }  
72 -  
73 - private java.lang.Object __equalsCalc = null;  
74 - public boolean equals(java.lang.Object obj) {  
75 - if (!(obj instanceof Campo)) return false;  
76 - Campo other = (Campo) obj;  
77 - if (obj == null) return false;  
78 - if (this == obj) return true;  
79 - if (__equalsCalc != null) {  
80 - return (__equalsCalc == obj);  
81 - }  
82 - __equalsCalc = obj;  
83 - boolean _equals;  
84 - _equals = true &&  
85 - ((this.nome==null && other.getNome()==null) ||  
86 - (this.nome!=null &&  
87 - this.nome.equals(other.getNome()))) &&  
88 - ((this.valor==null && other.getValor()==null) ||  
89 - (this.valor!=null &&  
90 - this.valor.equals(other.getValor())));  
91 - __equalsCalc = null;  
92 - return _equals;  
93 - }  
94 -  
95 - private boolean __hashCodeCalc = false;  
96 - public int hashCode() {  
97 - if (__hashCodeCalc) {  
98 - return 0;  
99 - }  
100 - __hashCodeCalc = true;  
101 - int _hashCode = 1;  
102 - if (getNome() != null) {  
103 - _hashCode += getNome().hashCode();  
104 - }  
105 - if (getValor() != null) {  
106 - _hashCode += getValor().hashCode();  
107 - }  
108 - __hashCodeCalc = false;  
109 - return _hashCode;  
110 - }  
111 -  
112 - // Type metadata  
113 - private static org.apache.axis.description.TypeDesc typeDesc =  
114 - new org.apache.axis.description.TypeDesc(Campo.class, true);  
115 -  
116 - static {  
117 - typeDesc.setXmlType(new javax.xml.namespace.QName("Sei", "Campo"));  
118 - org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();  
119 - elemField.setFieldName("nome");  
120 - elemField.setXmlName(new javax.xml.namespace.QName("", "Nome"));  
121 - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));  
122 - elemField.setNillable(false);  
123 - typeDesc.addFieldDesc(elemField);  
124 - elemField = new org.apache.axis.description.ElementDesc();  
125 - elemField.setFieldName("valor");  
126 - elemField.setXmlName(new javax.xml.namespace.QName("", "Valor"));  
127 - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));  
128 - elemField.setNillable(false);  
129 - typeDesc.addFieldDesc(elemField);  
130 - }  
131 -  
132 - /**  
133 - * Return type metadata object  
134 - */  
135 - public static org.apache.axis.description.TypeDesc getTypeDesc() {  
136 - return typeDesc;  
137 - }  
138 -  
139 - /**  
140 - * Get Custom Serializer  
141 - */  
142 - public static org.apache.axis.encoding.Serializer getSerializer(  
143 - java.lang.String mechType,  
144 - java.lang.Class _javaType,  
145 - javax.xml.namespace.QName _xmlType) {  
146 - return  
147 - new org.apache.axis.encoding.ser.BeanSerializer(  
148 - _javaType, _xmlType, typeDesc);  
149 - }  
150 -  
151 - /**  
152 - * Get Custom Deserializer  
153 - */  
154 - public static org.apache.axis.encoding.Deserializer getDeserializer(  
155 - java.lang.String mechType,  
156 - java.lang.Class _javaType,  
157 - javax.xml.namespace.QName _xmlType) {  
158 - return  
159 - new org.apache.axis.encoding.ser.BeanDeserializer(  
160 - _javaType, _xmlType, typeDesc);  
161 - } 18 +public class Campo implements java.io.Serializable {
  19 + private java.lang.String nome;
  20 +
  21 + private java.lang.String valor;
  22 +
  23 + public Campo() {
  24 + }
  25 +
  26 + public Campo(java.lang.String nome, java.lang.String valor) {
  27 + this.nome = nome;
  28 + this.valor = valor;
  29 + }
  30 +
  31 + public java.lang.String getNome() {
  32 + return nome;
  33 + }
  34 +
  35 + public void setNome(java.lang.String nome) {
  36 + this.nome = nome;
  37 + }
  38 +
  39 + public java.lang.String getValor() {
  40 + return valor;
  41 + }
  42 +
  43 + public void setValor(java.lang.String valor) {
  44 + this.valor = valor;
  45 + }
  46 +
  47 + private java.lang.Object __equalsCalc = null;
  48 +
  49 + public boolean equals(java.lang.Object obj) {
  50 + if (!(obj instanceof Campo))
  51 + return false;
  52 + Campo other = (Campo) obj;
  53 + if (obj == null)
  54 + return false;
  55 + if (this == obj)
  56 + return true;
  57 + if (__equalsCalc != null) {
  58 + return (__equalsCalc == obj);
  59 + }
  60 + __equalsCalc = obj;
  61 + boolean _equals;
  62 + _equals = true
  63 + && ((this.nome == null && other.getNome() == null)
  64 + || (this.nome != null && this.nome.equals(other.getNome())))
  65 + && ((this.valor == null && other.getValor() == null)
  66 + || (this.valor != null && this.valor.equals(other.getValor())));
  67 + __equalsCalc = null;
  68 + return _equals;
  69 + }
  70 +
  71 + private boolean __hashCodeCalc = false;
  72 +
  73 + public int hashCode() {
  74 + if (__hashCodeCalc) {
  75 + return 0;
  76 + }
  77 + __hashCodeCalc = true;
  78 + int _hashCode = 1;
  79 + if (getNome() != null) {
  80 + _hashCode += getNome().hashCode();
  81 + }
  82 + if (getValor() != null) {
  83 + _hashCode += getValor().hashCode();
  84 + }
  85 + __hashCodeCalc = false;
  86 + return _hashCode;
  87 + }
  88 +
  89 + private static org.apache.axis.description.TypeDesc typeDesc = new org.apache.axis.description.TypeDesc(Campo.class,
  90 + true);
  91 +
  92 + static {
  93 + typeDesc.setXmlType(new javax.xml.namespace.QName("Sei", "Campo"));
  94 + org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
  95 + elemField.setFieldName("nome");
  96 + elemField.setXmlName(new javax.xml.namespace.QName("", "Nome"));
  97 + elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
  98 + elemField.setNillable(false);
  99 + typeDesc.addFieldDesc(elemField);
  100 + elemField = new org.apache.axis.description.ElementDesc();
  101 + elemField.setFieldName("valor");
  102 + elemField.setXmlName(new javax.xml.namespace.QName("", "Valor"));
  103 + elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
  104 + elemField.setNillable(false);
  105 + typeDesc.addFieldDesc(elemField);
  106 + }
  107 +
  108 + public static org.apache.axis.description.TypeDesc getTypeDesc() {
  109 + return typeDesc;
  110 + }
  111 +
  112 + public static org.apache.axis.encoding.Serializer getSerializer(java.lang.String mechType,
  113 + java.lang.Class _javaType, javax.xml.namespace.QName _xmlType) {
  114 + return new org.apache.axis.encoding.ser.BeanSerializer(_javaType, _xmlType, typeDesc);
  115 + }
  116 +
  117 + public static org.apache.axis.encoding.Deserializer getDeserializer(java.lang.String mechType,
  118 + java.lang.Class _javaType, javax.xml.namespace.QName _xmlType) {
  119 + return new org.apache.axis.encoding.ser.BeanDeserializer(_javaType, _xmlType, typeDesc);
  120 + }
162 121
163 } 122 }
src/main/java/br/gov/ans/integracao/sei/client/Destinatario.java
@@ -15,149 +15,108 @@ import org.codehaus.jackson.map.annotate.JsonSerialize; @@ -15,149 +15,108 @@ import org.codehaus.jackson.map.annotate.JsonSerialize;
15 @JsonSerialize(include = JsonSerialize.Inclusion.NON_NULL) 15 @JsonSerialize(include = JsonSerialize.Inclusion.NON_NULL)
16 @JsonIgnoreProperties(ignoreUnknown = true) 16 @JsonIgnoreProperties(ignoreUnknown = true)
17 @XmlRootElement 17 @XmlRootElement
18 -public class Destinatario implements java.io.Serializable {  
19 - private java.lang.String sigla;  
20 -  
21 - private java.lang.String nome;  
22 -  
23 - public Destinatario() {  
24 - }  
25 -  
26 - public Destinatario(  
27 - java.lang.String sigla,  
28 - java.lang.String nome) {  
29 - this.sigla = sigla;  
30 - this.nome = nome;  
31 - }  
32 -  
33 -  
34 - /**  
35 - * Gets the sigla value for this Destinatario.  
36 - *  
37 - * @return sigla  
38 - */  
39 - public java.lang.String getSigla() {  
40 - return sigla;  
41 - }  
42 -  
43 -  
44 - /**  
45 - * Sets the sigla value for this Destinatario.  
46 - *  
47 - * @param sigla  
48 - */  
49 - public void setSigla(java.lang.String sigla) {  
50 - this.sigla = sigla;  
51 - }  
52 -  
53 -  
54 - /**  
55 - * Gets the nome value for this Destinatario.  
56 - *  
57 - * @return nome  
58 - */  
59 - public java.lang.String getNome() {  
60 - return nome;  
61 - }  
62 -  
63 -  
64 - /**  
65 - * Sets the nome value for this Destinatario.  
66 - *  
67 - * @param nome  
68 - */  
69 - public void setNome(java.lang.String nome) {  
70 - this.nome = nome;  
71 - }  
72 -  
73 - private java.lang.Object __equalsCalc = null;  
74 - public boolean equals(java.lang.Object obj) {  
75 - if (!(obj instanceof Destinatario)) return false;  
76 - Destinatario other = (Destinatario) obj;  
77 - if (obj == null) return false;  
78 - if (this == obj) return true;  
79 - if (__equalsCalc != null) {  
80 - return (__equalsCalc == obj);  
81 - }  
82 - __equalsCalc = obj;  
83 - boolean _equals;  
84 - _equals = true &&  
85 - ((this.sigla==null && other.getSigla()==null) ||  
86 - (this.sigla!=null &&  
87 - this.sigla.equals(other.getSigla()))) &&  
88 - ((this.nome==null && other.getNome()==null) ||  
89 - (this.nome!=null &&  
90 - this.nome.equals(other.getNome())));  
91 - __equalsCalc = null;  
92 - return _equals;  
93 - }  
94 -  
95 - private boolean __hashCodeCalc = false;  
96 - public int hashCode() {  
97 - if (__hashCodeCalc) {  
98 - return 0;  
99 - }  
100 - __hashCodeCalc = true;  
101 - int _hashCode = 1;  
102 - if (getSigla() != null) {  
103 - _hashCode += getSigla().hashCode();  
104 - }  
105 - if (getNome() != null) {  
106 - _hashCode += getNome().hashCode();  
107 - }  
108 - __hashCodeCalc = false;  
109 - return _hashCode;  
110 - }  
111 -  
112 - // Type metadata  
113 - private static org.apache.axis.description.TypeDesc typeDesc =  
114 - new org.apache.axis.description.TypeDesc(Destinatario.class, true);  
115 -  
116 - static {  
117 - typeDesc.setXmlType(new javax.xml.namespace.QName("Sei", "Destinatario"));  
118 - org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();  
119 - elemField.setFieldName("sigla");  
120 - elemField.setXmlName(new javax.xml.namespace.QName("", "Sigla"));  
121 - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));  
122 - elemField.setNillable(false);  
123 - typeDesc.addFieldDesc(elemField);  
124 - elemField = new org.apache.axis.description.ElementDesc();  
125 - elemField.setFieldName("nome");  
126 - elemField.setXmlName(new javax.xml.namespace.QName("", "Nome"));  
127 - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));  
128 - elemField.setNillable(false);  
129 - typeDesc.addFieldDesc(elemField);  
130 - }  
131 -  
132 - /**  
133 - * Return type metadata object  
134 - */  
135 - public static org.apache.axis.description.TypeDesc getTypeDesc() {  
136 - return typeDesc;  
137 - }  
138 -  
139 - /**  
140 - * Get Custom Serializer  
141 - */  
142 - public static org.apache.axis.encoding.Serializer getSerializer(  
143 - java.lang.String mechType,  
144 - java.lang.Class _javaType,  
145 - javax.xml.namespace.QName _xmlType) {  
146 - return  
147 - new org.apache.axis.encoding.ser.BeanSerializer(  
148 - _javaType, _xmlType, typeDesc);  
149 - }  
150 -  
151 - /**  
152 - * Get Custom Deserializer  
153 - */  
154 - public static org.apache.axis.encoding.Deserializer getDeserializer(  
155 - java.lang.String mechType,  
156 - java.lang.Class _javaType,  
157 - javax.xml.namespace.QName _xmlType) {  
158 - return  
159 - new org.apache.axis.encoding.ser.BeanDeserializer(  
160 - _javaType, _xmlType, typeDesc);  
161 - } 18 +public class Destinatario implements java.io.Serializable {
  19 + private java.lang.String sigla;
  20 +
  21 + private java.lang.String nome;
  22 +
  23 + public Destinatario() {
  24 + }
  25 +
  26 + public Destinatario(java.lang.String sigla, java.lang.String nome) {
  27 + this.sigla = sigla;
  28 + this.nome = nome;
  29 + }
  30 +
  31 + public java.lang.String getSigla() {
  32 + return sigla;
  33 + }
  34 +
  35 + public void setSigla(java.lang.String sigla) {
  36 + this.sigla = sigla;
  37 + }
  38 +
  39 + public java.lang.String getNome() {
  40 + return nome;
  41 + }
  42 +
  43 + public void setNome(java.lang.String nome) {
  44 + this.nome = nome;
  45 + }
  46 +
  47 + private java.lang.Object __equalsCalc = null;
  48 +
  49 + public boolean equals(java.lang.Object obj) {
  50 + if (!(obj instanceof Destinatario))
  51 + return false;
  52 + Destinatario other = (Destinatario) obj;
  53 + if (obj == null)
  54 + return false;
  55 + if (this == obj)
  56 + return true;
  57 + if (__equalsCalc != null) {
  58 + return (__equalsCalc == obj);
  59 + }
  60 + __equalsCalc = obj;
  61 + boolean _equals;
  62 + _equals = true
  63 + && ((this.sigla == null && other.getSigla() == null)
  64 + || (this.sigla != null && this.sigla.equals(other.getSigla())))
  65 + && ((this.nome == null && other.getNome() == null)
  66 + || (this.nome != null && this.nome.equals(other.getNome())));
  67 + __equalsCalc = null;
  68 + return _equals;
  69 + }
  70 +
  71 + private boolean __hashCodeCalc = false;
  72 +
  73 + public int hashCode() {
  74 + if (__hashCodeCalc) {
  75 + return 0;
  76 + }
  77 + __hashCodeCalc = true;
  78 + int _hashCode = 1;
  79 + if (getSigla() != null) {
  80 + _hashCode += getSigla().hashCode();
  81 + }
  82 + if (getNome() != null) {
  83 + _hashCode += getNome().hashCode();
  84 + }
  85 + __hashCodeCalc = false;
  86 + return _hashCode;
  87 + }
  88 +
  89 + private static org.apache.axis.description.TypeDesc typeDesc = new org.apache.axis.description.TypeDesc(
  90 + Destinatario.class, true);
  91 +
  92 + static {
  93 + typeDesc.setXmlType(new javax.xml.namespace.QName("Sei", "Destinatario"));
  94 + org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
  95 + elemField.setFieldName("sigla");
  96 + elemField.setXmlName(new javax.xml.namespace.QName("", "Sigla"));
  97 + elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
  98 + elemField.setNillable(false);
  99 + typeDesc.addFieldDesc(elemField);
  100 + elemField = new org.apache.axis.description.ElementDesc();
  101 + elemField.setFieldName("nome");
  102 + elemField.setXmlName(new javax.xml.namespace.QName("", "Nome"));
  103 + elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
  104 + elemField.setNillable(false);
  105 + typeDesc.addFieldDesc(elemField);
  106 + }
  107 +
  108 + public static org.apache.axis.description.TypeDesc getTypeDesc() {
  109 + return typeDesc;
  110 + }
  111 +
  112 + public static org.apache.axis.encoding.Serializer getSerializer(java.lang.String mechType,
  113 + java.lang.Class _javaType, javax.xml.namespace.QName _xmlType) {
  114 + return new org.apache.axis.encoding.ser.BeanSerializer(_javaType, _xmlType, typeDesc);
  115 + }
  116 +
  117 + public static org.apache.axis.encoding.Deserializer getDeserializer(java.lang.String mechType,
  118 + java.lang.Class _javaType, javax.xml.namespace.QName _xmlType) {
  119 + return new org.apache.axis.encoding.ser.BeanDeserializer(_javaType, _xmlType, typeDesc);
  120 + }
162 121
163 } 122 }
src/main/java/br/gov/ans/integracao/sei/client/Interessado.java
@@ -15,149 +15,108 @@ import org.codehaus.jackson.map.annotate.JsonSerialize; @@ -15,149 +15,108 @@ import org.codehaus.jackson.map.annotate.JsonSerialize;
15 @JsonSerialize(include = JsonSerialize.Inclusion.NON_NULL) 15 @JsonSerialize(include = JsonSerialize.Inclusion.NON_NULL)
16 @JsonIgnoreProperties(ignoreUnknown = true) 16 @JsonIgnoreProperties(ignoreUnknown = true)
17 @XmlRootElement 17 @XmlRootElement
18 -public class Interessado implements java.io.Serializable {  
19 - private java.lang.String sigla;  
20 -  
21 - private java.lang.String nome;  
22 -  
23 - public Interessado() {  
24 - }  
25 -  
26 - public Interessado(  
27 - java.lang.String sigla,  
28 - java.lang.String nome) {  
29 - this.sigla = sigla;  
30 - this.nome = nome;  
31 - }  
32 -  
33 -  
34 - /**  
35 - * Gets the sigla value for this Interessado.  
36 - *  
37 - * @return sigla  
38 - */  
39 - public java.lang.String getSigla() {  
40 - return sigla;  
41 - }  
42 -  
43 -  
44 - /**  
45 - * Sets the sigla value for this Interessado.  
46 - *  
47 - * @param sigla  
48 - */  
49 - public void setSigla(java.lang.String sigla) {  
50 - this.sigla = sigla;  
51 - }  
52 -  
53 -  
54 - /**  
55 - * Gets the nome value for this Interessado.  
56 - *  
57 - * @return nome  
58 - */  
59 - public java.lang.String getNome() {  
60 - return nome;  
61 - }  
62 -  
63 -  
64 - /**  
65 - * Sets the nome value for this Interessado.  
66 - *  
67 - * @param nome  
68 - */  
69 - public void setNome(java.lang.String nome) {  
70 - this.nome = nome;  
71 - }  
72 -  
73 - private java.lang.Object __equalsCalc = null;  
74 - public boolean equals(java.lang.Object obj) {  
75 - if (!(obj instanceof Interessado)) return false;  
76 - Interessado other = (Interessado) obj;  
77 - if (obj == null) return false;  
78 - if (this == obj) return true;  
79 - if (__equalsCalc != null) {  
80 - return (__equalsCalc == obj);  
81 - }  
82 - __equalsCalc = obj;  
83 - boolean _equals;  
84 - _equals = true &&  
85 - ((this.sigla==null && other.getSigla()==null) ||  
86 - (this.sigla!=null &&  
87 - this.sigla.equals(other.getSigla()))) &&  
88 - ((this.nome==null && other.getNome()==null) ||  
89 - (this.nome!=null &&  
90 - this.nome.equals(other.getNome())));  
91 - __equalsCalc = null;  
92 - return _equals;  
93 - }  
94 -  
95 - private boolean __hashCodeCalc = false;  
96 - public int hashCode() {  
97 - if (__hashCodeCalc) {  
98 - return 0;  
99 - }  
100 - __hashCodeCalc = true;  
101 - int _hashCode = 1;  
102 - if (getSigla() != null) {  
103 - _hashCode += getSigla().hashCode();  
104 - }  
105 - if (getNome() != null) {  
106 - _hashCode += getNome().hashCode();  
107 - }  
108 - __hashCodeCalc = false;  
109 - return _hashCode;  
110 - }  
111 -  
112 - // Type metadata  
113 - private static org.apache.axis.description.TypeDesc typeDesc =  
114 - new org.apache.axis.description.TypeDesc(Interessado.class, true);  
115 -  
116 - static {  
117 - typeDesc.setXmlType(new javax.xml.namespace.QName("Sei", "Interessado"));  
118 - org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();  
119 - elemField.setFieldName("sigla");  
120 - elemField.setXmlName(new javax.xml.namespace.QName("", "Sigla"));  
121 - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));  
122 - elemField.setNillable(false);  
123 - typeDesc.addFieldDesc(elemField);  
124 - elemField = new org.apache.axis.description.ElementDesc();  
125 - elemField.setFieldName("nome");  
126 - elemField.setXmlName(new javax.xml.namespace.QName("", "Nome"));  
127 - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));  
128 - elemField.setNillable(false);  
129 - typeDesc.addFieldDesc(elemField);  
130 - }  
131 -  
132 - /**  
133 - * Return type metadata object  
134 - */  
135 - public static org.apache.axis.description.TypeDesc getTypeDesc() {  
136 - return typeDesc;  
137 - }  
138 -  
139 - /**  
140 - * Get Custom Serializer  
141 - */  
142 - public static org.apache.axis.encoding.Serializer getSerializer(  
143 - java.lang.String mechType,  
144 - java.lang.Class _javaType,  
145 - javax.xml.namespace.QName _xmlType) {  
146 - return  
147 - new org.apache.axis.encoding.ser.BeanSerializer(  
148 - _javaType, _xmlType, typeDesc);  
149 - }  
150 -  
151 - /**  
152 - * Get Custom Deserializer  
153 - */  
154 - public static org.apache.axis.encoding.Deserializer getDeserializer(  
155 - java.lang.String mechType,  
156 - java.lang.Class _javaType,  
157 - javax.xml.namespace.QName _xmlType) {  
158 - return  
159 - new org.apache.axis.encoding.ser.BeanDeserializer(  
160 - _javaType, _xmlType, typeDesc);  
161 - } 18 +public class Interessado implements java.io.Serializable {
  19 + private java.lang.String sigla;
  20 +
  21 + private java.lang.String nome;
  22 +
  23 + public Interessado() {
  24 + }
  25 +
  26 + public Interessado(java.lang.String sigla, java.lang.String nome) {
  27 + this.sigla = sigla;
  28 + this.nome = nome;
  29 + }
  30 +
  31 + public java.lang.String getSigla() {
  32 + return sigla;
  33 + }
  34 +
  35 + public void setSigla(java.lang.String sigla) {
  36 + this.sigla = sigla;
  37 + }
  38 +
  39 + public java.lang.String getNome() {
  40 + return nome;
  41 + }
  42 +
  43 + public void setNome(java.lang.String nome) {
  44 + this.nome = nome;
  45 + }
  46 +
  47 + private java.lang.Object __equalsCalc = null;
  48 +
  49 + public boolean equals(java.lang.Object obj) {
  50 + if (!(obj instanceof Interessado))
  51 + return false;
  52 + Interessado other = (Interessado) obj;
  53 + if (obj == null)
  54 + return false;
  55 + if (this == obj)
  56 + return true;
  57 + if (__equalsCalc != null) {
  58 + return (__equalsCalc == obj);
  59 + }
  60 + __equalsCalc = obj;
  61 + boolean _equals;
  62 + _equals = true
  63 + && ((this.sigla == null && other.getSigla() == null)
  64 + || (this.sigla != null && this.sigla.equals(other.getSigla())))
  65 + && ((this.nome == null && other.getNome() == null)
  66 + || (this.nome != null && this.nome.equals(other.getNome())));
  67 + __equalsCalc = null;
  68 + return _equals;
  69 + }
  70 +
  71 + private boolean __hashCodeCalc = false;
  72 +
  73 + public int hashCode() {
  74 + if (__hashCodeCalc) {
  75 + return 0;
  76 + }
  77 + __hashCodeCalc = true;
  78 + int _hashCode = 1;
  79 + if (getSigla() != null) {
  80 + _hashCode += getSigla().hashCode();
  81 + }
  82 + if (getNome() != null) {
  83 + _hashCode += getNome().hashCode();
  84 + }
  85 + __hashCodeCalc = false;
  86 + return _hashCode;
  87 + }
  88 +
  89 + private static org.apache.axis.description.TypeDesc typeDesc = new org.apache.axis.description.TypeDesc(
  90 + Interessado.class, true);
  91 +
  92 + static {
  93 + typeDesc.setXmlType(new javax.xml.namespace.QName("Sei", "Interessado"));
  94 + org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
  95 + elemField.setFieldName("sigla");
  96 + elemField.setXmlName(new javax.xml.namespace.QName("", "Sigla"));
  97 + elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
  98 + elemField.setNillable(false);
  99 + typeDesc.addFieldDesc(elemField);
  100 + elemField = new org.apache.axis.description.ElementDesc();
  101 + elemField.setFieldName("nome");
  102 + elemField.setXmlName(new javax.xml.namespace.QName("", "Nome"));
  103 + elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
  104 + elemField.setNillable(false);
  105 + typeDesc.addFieldDesc(elemField);
  106 + }
  107 +
  108 + public static org.apache.axis.description.TypeDesc getTypeDesc() {
  109 + return typeDesc;
  110 + }
  111 +
  112 + public static org.apache.axis.encoding.Serializer getSerializer(java.lang.String mechType,
  113 + java.lang.Class _javaType, javax.xml.namespace.QName _xmlType) {
  114 + return new org.apache.axis.encoding.ser.BeanSerializer(_javaType, _xmlType, typeDesc);
  115 + }
  116 +
  117 + public static org.apache.axis.encoding.Deserializer getDeserializer(java.lang.String mechType,
  118 + java.lang.Class _javaType, javax.xml.namespace.QName _xmlType) {
  119 + return new org.apache.axis.encoding.ser.BeanDeserializer(_javaType, _xmlType, typeDesc);
  120 + }
162 121
163 } 122 }
src/main/java/br/gov/ans/integracao/sei/client/Procedimento.java
@@ -15,417 +15,275 @@ import org.codehaus.jackson.map.annotate.JsonSerialize; @@ -15,417 +15,275 @@ import org.codehaus.jackson.map.annotate.JsonSerialize;
15 @JsonSerialize(include = JsonSerialize.Inclusion.NON_NULL) 15 @JsonSerialize(include = JsonSerialize.Inclusion.NON_NULL)
16 @JsonIgnoreProperties(ignoreUnknown = true) 16 @JsonIgnoreProperties(ignoreUnknown = true)
17 @XmlRootElement 17 @XmlRootElement
18 -public class Procedimento implements java.io.Serializable {  
19 - private java.lang.String idTipoProcedimento;  
20 -  
21 - private java.lang.String numeroProtocolo;  
22 -  
23 - private java.lang.String dataAutuacao;  
24 -  
25 - private java.lang.String especificacao;  
26 -  
27 - private br.gov.ans.integracao.sei.client.Assunto[] assuntos;  
28 -  
29 - private br.gov.ans.integracao.sei.client.Interessado[] interessados;  
30 -  
31 - private java.lang.String observacao;  
32 -  
33 - private java.lang.String nivelAcesso;  
34 -  
35 - private java.lang.String idHipoteseLegal;  
36 -  
37 - public Procedimento() {  
38 - }  
39 -  
40 - public Procedimento(  
41 - java.lang.String idTipoProcedimento,  
42 - java.lang.String numeroProtocolo,  
43 - java.lang.String dataAutuacao,  
44 - java.lang.String especificacao,  
45 - br.gov.ans.integracao.sei.client.Assunto[] assuntos,  
46 - br.gov.ans.integracao.sei.client.Interessado[] interessados,  
47 - java.lang.String observacao,  
48 - java.lang.String nivelAcesso,  
49 - java.lang.String idHipoteseLegal) {  
50 - this.idTipoProcedimento = idTipoProcedimento;  
51 - this.numeroProtocolo = numeroProtocolo;  
52 - this.dataAutuacao = dataAutuacao;  
53 - this.especificacao = especificacao;  
54 - this.assuntos = assuntos;  
55 - this.interessados = interessados;  
56 - this.observacao = observacao;  
57 - this.nivelAcesso = nivelAcesso;  
58 - this.idHipoteseLegal = idHipoteseLegal;  
59 - }  
60 -  
61 -  
62 - /**  
63 - * Gets the idTipoProcedimento value for this Procedimento.  
64 - *  
65 - * @return idTipoProcedimento  
66 - */  
67 - public java.lang.String getIdTipoProcedimento() {  
68 - return idTipoProcedimento;  
69 - }  
70 -  
71 -  
72 - /**  
73 - * Sets the idTipoProcedimento value for this Procedimento.  
74 - *  
75 - * @param idTipoProcedimento  
76 - */  
77 - public void setIdTipoProcedimento(java.lang.String idTipoProcedimento) {  
78 - this.idTipoProcedimento = idTipoProcedimento;  
79 - }  
80 -  
81 -  
82 - /**  
83 - * Gets the numeroProtocolo value for this Procedimento.  
84 - *  
85 - * @return numeroProtocolo  
86 - */  
87 - public java.lang.String getNumeroProtocolo() {  
88 - return numeroProtocolo;  
89 - }  
90 -  
91 -  
92 - /**  
93 - * Sets the numeroProtocolo value for this Procedimento.  
94 - *  
95 - * @param numeroProtocolo  
96 - */  
97 - public void setNumeroProtocolo(java.lang.String numeroProtocolo) {  
98 - this.numeroProtocolo = numeroProtocolo;  
99 - }  
100 -  
101 -  
102 - /**  
103 - * Gets the dataAutuacao value for this Procedimento.  
104 - *  
105 - * @return dataAutuacao  
106 - */  
107 - public java.lang.String getDataAutuacao() {  
108 - return dataAutuacao;  
109 - }  
110 -  
111 -  
112 - /**  
113 - * Sets the dataAutuacao value for this Procedimento.  
114 - *  
115 - * @param dataAutuacao  
116 - */  
117 - public void setDataAutuacao(java.lang.String dataAutuacao) {  
118 - this.dataAutuacao = dataAutuacao;  
119 - }  
120 -  
121 -  
122 - /**  
123 - * Gets the especificacao value for this Procedimento.  
124 - *  
125 - * @return especificacao  
126 - */  
127 - public java.lang.String getEspecificacao() {  
128 - return especificacao;  
129 - }  
130 -  
131 -  
132 - /**  
133 - * Sets the especificacao value for this Procedimento.  
134 - *  
135 - * @param especificacao  
136 - */  
137 - public void setEspecificacao(java.lang.String especificacao) {  
138 - this.especificacao = especificacao;  
139 - }  
140 -  
141 -  
142 - /**  
143 - * Gets the assuntos value for this Procedimento.  
144 - *  
145 - * @return assuntos  
146 - */  
147 - public br.gov.ans.integracao.sei.client.Assunto[] getAssuntos() {  
148 - return assuntos;  
149 - }  
150 -  
151 -  
152 - /**  
153 - * Sets the assuntos value for this Procedimento.  
154 - *  
155 - * @param assuntos  
156 - */  
157 - public void setAssuntos(br.gov.ans.integracao.sei.client.Assunto[] assuntos) {  
158 - this.assuntos = assuntos;  
159 - }  
160 -  
161 -  
162 - /**  
163 - * Gets the interessados value for this Procedimento.  
164 - *  
165 - * @return interessados  
166 - */  
167 - public br.gov.ans.integracao.sei.client.Interessado[] getInteressados() {  
168 - return interessados;  
169 - }  
170 -  
171 -  
172 - /**  
173 - * Sets the interessados value for this Procedimento.  
174 - *  
175 - * @param interessados  
176 - */  
177 - public void setInteressados(br.gov.ans.integracao.sei.client.Interessado[] interessados) {  
178 - this.interessados = interessados;  
179 - }  
180 -  
181 -  
182 - /**  
183 - * Gets the observacao value for this Procedimento.  
184 - *  
185 - * @return observacao  
186 - */  
187 - public java.lang.String getObservacao() {  
188 - return observacao;  
189 - }  
190 -  
191 -  
192 - /**  
193 - * Sets the observacao value for this Procedimento.  
194 - *  
195 - * @param observacao  
196 - */  
197 - public void setObservacao(java.lang.String observacao) {  
198 - this.observacao = observacao;  
199 - }  
200 -  
201 -  
202 - /**  
203 - * Gets the nivelAcesso value for this Procedimento.  
204 - *  
205 - * @return nivelAcesso  
206 - */  
207 - public java.lang.String getNivelAcesso() {  
208 - return nivelAcesso;  
209 - }  
210 -  
211 -  
212 - /**  
213 - * Sets the nivelAcesso value for this Procedimento.  
214 - *  
215 - * @param nivelAcesso  
216 - */  
217 - public void setNivelAcesso(java.lang.String nivelAcesso) {  
218 - this.nivelAcesso = nivelAcesso;  
219 - }  
220 -  
221 -  
222 - /**  
223 - * Gets the idHipoteseLegal value for this Procedimento.  
224 - *  
225 - * @return idHipoteseLegal  
226 - */  
227 - public java.lang.String getIdHipoteseLegal() {  
228 - return idHipoteseLegal;  
229 - }  
230 -  
231 -  
232 - /**  
233 - * Sets the idHipoteseLegal value for this Procedimento.  
234 - *  
235 - * @param idHipoteseLegal  
236 - */  
237 - public void setIdHipoteseLegal(java.lang.String idHipoteseLegal) {  
238 - this.idHipoteseLegal = idHipoteseLegal;  
239 - }  
240 -  
241 - private java.lang.Object __equalsCalc = null;  
242 - public boolean equals(java.lang.Object obj) {  
243 - if (!(obj instanceof Procedimento)) return false;  
244 - Procedimento other = (Procedimento) obj;  
245 - if (obj == null) return false;  
246 - if (this == obj) return true;  
247 - if (__equalsCalc != null) {  
248 - return (__equalsCalc == obj);  
249 - }  
250 - __equalsCalc = obj;  
251 - boolean _equals;  
252 - _equals = true &&  
253 - ((this.idTipoProcedimento==null && other.getIdTipoProcedimento()==null) ||  
254 - (this.idTipoProcedimento!=null &&  
255 - this.idTipoProcedimento.equals(other.getIdTipoProcedimento()))) &&  
256 - ((this.numeroProtocolo==null && other.getNumeroProtocolo()==null) ||  
257 - (this.numeroProtocolo!=null &&  
258 - this.numeroProtocolo.equals(other.getNumeroProtocolo()))) &&  
259 - ((this.dataAutuacao==null && other.getDataAutuacao()==null) ||  
260 - (this.dataAutuacao!=null &&  
261 - this.dataAutuacao.equals(other.getDataAutuacao()))) &&  
262 - ((this.especificacao==null && other.getEspecificacao()==null) ||  
263 - (this.especificacao!=null &&  
264 - this.especificacao.equals(other.getEspecificacao()))) &&  
265 - ((this.assuntos==null && other.getAssuntos()==null) ||  
266 - (this.assuntos!=null &&  
267 - java.util.Arrays.equals(this.assuntos, other.getAssuntos()))) &&  
268 - ((this.interessados==null && other.getInteressados()==null) ||  
269 - (this.interessados!=null &&  
270 - java.util.Arrays.equals(this.interessados, other.getInteressados()))) &&  
271 - ((this.observacao==null && other.getObservacao()==null) ||  
272 - (this.observacao!=null &&  
273 - this.observacao.equals(other.getObservacao()))) &&  
274 - ((this.nivelAcesso==null && other.getNivelAcesso()==null) ||  
275 - (this.nivelAcesso!=null &&  
276 - this.nivelAcesso.equals(other.getNivelAcesso()))) &&  
277 - ((this.idHipoteseLegal==null && other.getIdHipoteseLegal()==null) ||  
278 - (this.idHipoteseLegal!=null &&  
279 - this.idHipoteseLegal.equals(other.getIdHipoteseLegal())));  
280 - __equalsCalc = null;  
281 - return _equals;  
282 - }  
283 -  
284 - private boolean __hashCodeCalc = false;  
285 - public int hashCode() {  
286 - if (__hashCodeCalc) {  
287 - return 0;  
288 - }  
289 - __hashCodeCalc = true;  
290 - int _hashCode = 1;  
291 - if (getIdTipoProcedimento() != null) {  
292 - _hashCode += getIdTipoProcedimento().hashCode();  
293 - }  
294 - if (getNumeroProtocolo() != null) {  
295 - _hashCode += getNumeroProtocolo().hashCode();  
296 - }  
297 - if (getDataAutuacao() != null) {  
298 - _hashCode += getDataAutuacao().hashCode();  
299 - }  
300 - if (getEspecificacao() != null) {  
301 - _hashCode += getEspecificacao().hashCode();  
302 - }  
303 - if (getAssuntos() != null) {  
304 - for (int i=0;  
305 - i<java.lang.reflect.Array.getLength(getAssuntos());  
306 - i++) {  
307 - java.lang.Object obj = java.lang.reflect.Array.get(getAssuntos(), i);  
308 - if (obj != null &&  
309 - !obj.getClass().isArray()) {  
310 - _hashCode += obj.hashCode();  
311 - }  
312 - }  
313 - }  
314 - if (getInteressados() != null) {  
315 - for (int i=0;  
316 - i<java.lang.reflect.Array.getLength(getInteressados());  
317 - i++) {  
318 - java.lang.Object obj = java.lang.reflect.Array.get(getInteressados(), i);  
319 - if (obj != null &&  
320 - !obj.getClass().isArray()) {  
321 - _hashCode += obj.hashCode();  
322 - }  
323 - }  
324 - }  
325 - if (getObservacao() != null) {  
326 - _hashCode += getObservacao().hashCode();  
327 - }  
328 - if (getNivelAcesso() != null) {  
329 - _hashCode += getNivelAcesso().hashCode();  
330 - }  
331 - if (getIdHipoteseLegal() != null) {  
332 - _hashCode += getIdHipoteseLegal().hashCode();  
333 - }  
334 - __hashCodeCalc = false;  
335 - return _hashCode;  
336 - }  
337 -  
338 - // Type metadata  
339 - private static org.apache.axis.description.TypeDesc typeDesc =  
340 - new org.apache.axis.description.TypeDesc(Procedimento.class, true);  
341 -  
342 - static {  
343 - typeDesc.setXmlType(new javax.xml.namespace.QName("Sei", "Procedimento"));  
344 - org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();  
345 - elemField.setFieldName("idTipoProcedimento");  
346 - elemField.setXmlName(new javax.xml.namespace.QName("", "IdTipoProcedimento"));  
347 - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));  
348 - elemField.setNillable(false);  
349 - typeDesc.addFieldDesc(elemField);  
350 - elemField = new org.apache.axis.description.ElementDesc();  
351 - elemField.setFieldName("numeroProtocolo");  
352 - elemField.setXmlName(new javax.xml.namespace.QName("", "NumeroProtocolo"));  
353 - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));  
354 - elemField.setNillable(true);  
355 - typeDesc.addFieldDesc(elemField);  
356 - elemField = new org.apache.axis.description.ElementDesc();  
357 - elemField.setFieldName("dataAutuacao");  
358 - elemField.setXmlName(new javax.xml.namespace.QName("", "DataAutuacao"));  
359 - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));  
360 - elemField.setNillable(true);  
361 - typeDesc.addFieldDesc(elemField);  
362 - elemField = new org.apache.axis.description.ElementDesc();  
363 - elemField.setFieldName("especificacao");  
364 - elemField.setXmlName(new javax.xml.namespace.QName("", "Especificacao"));  
365 - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));  
366 - elemField.setNillable(false);  
367 - typeDesc.addFieldDesc(elemField);  
368 - elemField = new org.apache.axis.description.ElementDesc();  
369 - elemField.setFieldName("assuntos");  
370 - elemField.setXmlName(new javax.xml.namespace.QName("", "Assuntos"));  
371 - elemField.setXmlType(new javax.xml.namespace.QName("Sei", "Assunto"));  
372 - elemField.setNillable(true);  
373 - typeDesc.addFieldDesc(elemField);  
374 - elemField = new org.apache.axis.description.ElementDesc();  
375 - elemField.setFieldName("interessados");  
376 - elemField.setXmlName(new javax.xml.namespace.QName("", "Interessados"));  
377 - elemField.setXmlType(new javax.xml.namespace.QName("Sei", "Interessado"));  
378 - elemField.setNillable(false);  
379 - typeDesc.addFieldDesc(elemField);  
380 - elemField = new org.apache.axis.description.ElementDesc();  
381 - elemField.setFieldName("observacao");  
382 - elemField.setXmlName(new javax.xml.namespace.QName("", "Observacao"));  
383 - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));  
384 - elemField.setNillable(true);  
385 - typeDesc.addFieldDesc(elemField);  
386 - elemField = new org.apache.axis.description.ElementDesc();  
387 - elemField.setFieldName("nivelAcesso");  
388 - elemField.setXmlName(new javax.xml.namespace.QName("", "NivelAcesso"));  
389 - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));  
390 - elemField.setNillable(true);  
391 - typeDesc.addFieldDesc(elemField);  
392 - elemField = new org.apache.axis.description.ElementDesc();  
393 - elemField.setFieldName("idHipoteseLegal");  
394 - elemField.setXmlName(new javax.xml.namespace.QName("", "IdHipoteseLegal"));  
395 - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));  
396 - elemField.setNillable(true);  
397 - typeDesc.addFieldDesc(elemField);  
398 - }  
399 -  
400 - /**  
401 - * Return type metadata object  
402 - */  
403 - public static org.apache.axis.description.TypeDesc getTypeDesc() {  
404 - return typeDesc;  
405 - }  
406 -  
407 - /**  
408 - * Get Custom Serializer  
409 - */  
410 - public static org.apache.axis.encoding.Serializer getSerializer(  
411 - java.lang.String mechType,  
412 - java.lang.Class _javaType,  
413 - javax.xml.namespace.QName _xmlType) {  
414 - return  
415 - new org.apache.axis.encoding.ser.BeanSerializer(  
416 - _javaType, _xmlType, typeDesc);  
417 - }  
418 -  
419 - /**  
420 - * Get Custom Deserializer  
421 - */  
422 - public static org.apache.axis.encoding.Deserializer getDeserializer(  
423 - java.lang.String mechType,  
424 - java.lang.Class _javaType,  
425 - javax.xml.namespace.QName _xmlType) {  
426 - return  
427 - new org.apache.axis.encoding.ser.BeanDeserializer(  
428 - _javaType, _xmlType, typeDesc);  
429 - } 18 +public class Procedimento implements java.io.Serializable {
  19 + private java.lang.String idTipoProcedimento;
  20 +
  21 + private java.lang.String numeroProtocolo;
  22 +
  23 + private java.lang.String dataAutuacao;
  24 +
  25 + private java.lang.String especificacao;
  26 +
  27 + private br.gov.ans.integracao.sei.client.Assunto[] assuntos;
  28 +
  29 + private br.gov.ans.integracao.sei.client.Interessado[] interessados;
  30 +
  31 + private java.lang.String observacao;
  32 +
  33 + private java.lang.String nivelAcesso;
  34 +
  35 + private java.lang.String idHipoteseLegal;
  36 +
  37 + public Procedimento() {
  38 + }
  39 +
  40 + public Procedimento(java.lang.String idTipoProcedimento, java.lang.String numeroProtocolo,
  41 + java.lang.String dataAutuacao, java.lang.String especificacao,
  42 + br.gov.ans.integracao.sei.client.Assunto[] assuntos,
  43 + br.gov.ans.integracao.sei.client.Interessado[] interessados, java.lang.String observacao,
  44 + java.lang.String nivelAcesso, java.lang.String idHipoteseLegal) {
  45 + this.idTipoProcedimento = idTipoProcedimento;
  46 + this.numeroProtocolo = numeroProtocolo;
  47 + this.dataAutuacao = dataAutuacao;
  48 + this.especificacao = especificacao;
  49 + this.assuntos = assuntos;
  50 + this.interessados = interessados;
  51 + this.observacao = observacao;
  52 + this.nivelAcesso = nivelAcesso;
  53 + this.idHipoteseLegal = idHipoteseLegal;
  54 + }
  55 +
  56 + public java.lang.String getIdTipoProcedimento() {
  57 + return idTipoProcedimento;
  58 + }
  59 +
  60 + public void setIdTipoProcedimento(java.lang.String idTipoProcedimento) {
  61 + this.idTipoProcedimento = idTipoProcedimento;
  62 + }
  63 +
  64 + public java.lang.String getNumeroProtocolo() {
  65 + return numeroProtocolo;
  66 + }
  67 +
  68 + public void setNumeroProtocolo(java.lang.String numeroProtocolo) {
  69 + this.numeroProtocolo = numeroProtocolo;
  70 + }
  71 +
  72 + public java.lang.String getDataAutuacao() {
  73 + return dataAutuacao;
  74 + }
  75 +
  76 + public void setDataAutuacao(java.lang.String dataAutuacao) {
  77 + this.dataAutuacao = dataAutuacao;
  78 + }
  79 +
  80 + public java.lang.String getEspecificacao() {
  81 + return especificacao;
  82 + }
  83 +
  84 + public void setEspecificacao(java.lang.String especificacao) {
  85 + this.especificacao = especificacao;
  86 + }
  87 +
  88 + public br.gov.ans.integracao.sei.client.Assunto[] getAssuntos() {
  89 + return assuntos;
  90 + }
  91 +
  92 + public void setAssuntos(br.gov.ans.integracao.sei.client.Assunto[] assuntos) {
  93 + this.assuntos = assuntos;
  94 + }
  95 +
  96 + public br.gov.ans.integracao.sei.client.Interessado[] getInteressados() {
  97 + return interessados;
  98 + }
  99 +
  100 + public void setInteressados(br.gov.ans.integracao.sei.client.Interessado[] interessados) {
  101 + this.interessados = interessados;
  102 + }
  103 +
  104 + public java.lang.String getObservacao() {
  105 + return observacao;
  106 + }
  107 +
  108 + public void setObservacao(java.lang.String observacao) {
  109 + this.observacao = observacao;
  110 + }
  111 +
  112 + public java.lang.String getNivelAcesso() {
  113 + return nivelAcesso;
  114 + }
  115 +
  116 + public void setNivelAcesso(java.lang.String nivelAcesso) {
  117 + this.nivelAcesso = nivelAcesso;
  118 + }
  119 +
  120 + public java.lang.String getIdHipoteseLegal() {
  121 + return idHipoteseLegal;
  122 + }
  123 +
  124 + public void setIdHipoteseLegal(java.lang.String idHipoteseLegal) {
  125 + this.idHipoteseLegal = idHipoteseLegal;
  126 + }
  127 +
  128 + private java.lang.Object __equalsCalc = null;
  129 +
  130 + public boolean equals(java.lang.Object obj) {
  131 + if (!(obj instanceof Procedimento))
  132 + return false;
  133 + Procedimento other = (Procedimento) obj;
  134 + if (obj == null)
  135 + return false;
  136 + if (this == obj)
  137 + return true;
  138 + if (__equalsCalc != null) {
  139 + return (__equalsCalc == obj);
  140 + }
  141 + __equalsCalc = obj;
  142 + boolean _equals;
  143 + _equals = true && ((this.idTipoProcedimento == null && other.getIdTipoProcedimento() == null)
  144 + || (this.idTipoProcedimento != null && this.idTipoProcedimento.equals(other.getIdTipoProcedimento())))
  145 + && ((this.numeroProtocolo == null && other.getNumeroProtocolo() == null)
  146 + || (this.numeroProtocolo != null && this.numeroProtocolo.equals(other.getNumeroProtocolo())))
  147 + && ((this.dataAutuacao == null && other.getDataAutuacao() == null)
  148 + || (this.dataAutuacao != null && this.dataAutuacao.equals(other.getDataAutuacao())))
  149 + && ((this.especificacao == null && other.getEspecificacao() == null)
  150 + || (this.especificacao != null && this.especificacao.equals(other.getEspecificacao())))
  151 + && ((this.assuntos == null && other.getAssuntos() == null)
  152 + || (this.assuntos != null && java.util.Arrays.equals(this.assuntos, other.getAssuntos())))
  153 + && ((this.interessados == null && other.getInteressados() == null) || (this.interessados != null
  154 + && java.util.Arrays.equals(this.interessados, other.getInteressados())))
  155 + && ((this.observacao == null && other.getObservacao() == null)
  156 + || (this.observacao != null && this.observacao.equals(other.getObservacao())))
  157 + && ((this.nivelAcesso == null && other.getNivelAcesso() == null)
  158 + || (this.nivelAcesso != null && this.nivelAcesso.equals(other.getNivelAcesso())))
  159 + && ((this.idHipoteseLegal == null && other.getIdHipoteseLegal() == null)
  160 + || (this.idHipoteseLegal != null && this.idHipoteseLegal.equals(other.getIdHipoteseLegal())));
  161 + __equalsCalc = null;
  162 + return _equals;
  163 + }
  164 +
  165 + private boolean __hashCodeCalc = false;
  166 +
  167 + public int hashCode() {
  168 + if (__hashCodeCalc) {
  169 + return 0;
  170 + }
  171 + __hashCodeCalc = true;
  172 + int _hashCode = 1;
  173 + if (getIdTipoProcedimento() != null) {
  174 + _hashCode += getIdTipoProcedimento().hashCode();
  175 + }
  176 + if (getNumeroProtocolo() != null) {
  177 + _hashCode += getNumeroProtocolo().hashCode();
  178 + }
  179 + if (getDataAutuacao() != null) {
  180 + _hashCode += getDataAutuacao().hashCode();
  181 + }
  182 + if (getEspecificacao() != null) {
  183 + _hashCode += getEspecificacao().hashCode();
  184 + }
  185 + if (getAssuntos() != null) {
  186 + for (int i = 0; i < java.lang.reflect.Array.getLength(getAssuntos()); i++) {
  187 + java.lang.Object obj = java.lang.reflect.Array.get(getAssuntos(), i);
  188 + if (obj != null && !obj.getClass().isArray()) {
  189 + _hashCode += obj.hashCode();
  190 + }
  191 + }
  192 + }
  193 + if (getInteressados() != null) {
  194 + for (int i = 0; i < java.lang.reflect.Array.getLength(getInteressados()); i++) {
  195 + java.lang.Object obj = java.lang.reflect.Array.get(getInteressados(), i);
  196 + if (obj != null && !obj.getClass().isArray()) {
  197 + _hashCode += obj.hashCode();
  198 + }
  199 + }
  200 + }
  201 + if (getObservacao() != null) {
  202 + _hashCode += getObservacao().hashCode();
  203 + }
  204 + if (getNivelAcesso() != null) {
  205 + _hashCode += getNivelAcesso().hashCode();
  206 + }
  207 + if (getIdHipoteseLegal() != null) {
  208 + _hashCode += getIdHipoteseLegal().hashCode();
  209 + }
  210 + __hashCodeCalc = false;
  211 + return _hashCode;
  212 + }
  213 +
  214 + private static org.apache.axis.description.TypeDesc typeDesc = new org.apache.axis.description.TypeDesc(
  215 + Procedimento.class, true);
  216 +
  217 + static {
  218 + typeDesc.setXmlType(new javax.xml.namespace.QName("Sei", "Procedimento"));
  219 + org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
  220 + elemField.setFieldName("idTipoProcedimento");
  221 + elemField.setXmlName(new javax.xml.namespace.QName("", "IdTipoProcedimento"));
  222 + elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
  223 + elemField.setNillable(false);
  224 + typeDesc.addFieldDesc(elemField);
  225 + elemField = new org.apache.axis.description.ElementDesc();
  226 + elemField.setFieldName("numeroProtocolo");
  227 + elemField.setXmlName(new javax.xml.namespace.QName("", "NumeroProtocolo"));
  228 + elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
  229 + elemField.setNillable(true);
  230 + typeDesc.addFieldDesc(elemField);
  231 + elemField = new org.apache.axis.description.ElementDesc();
  232 + elemField.setFieldName("dataAutuacao");
  233 + elemField.setXmlName(new javax.xml.namespace.QName("", "DataAutuacao"));
  234 + elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
  235 + elemField.setNillable(true);
  236 + typeDesc.addFieldDesc(elemField);
  237 + elemField = new org.apache.axis.description.ElementDesc();
  238 + elemField.setFieldName("especificacao");
  239 + elemField.setXmlName(new javax.xml.namespace.QName("", "Especificacao"));
  240 + elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
  241 + elemField.setNillable(false);
  242 + typeDesc.addFieldDesc(elemField);
  243 + elemField = new org.apache.axis.description.ElementDesc();
  244 + elemField.setFieldName("assuntos");
  245 + elemField.setXmlName(new javax.xml.namespace.QName("", "Assuntos"));
  246 + elemField.setXmlType(new javax.xml.namespace.QName("Sei", "Assunto"));
  247 + elemField.setNillable(true);
  248 + typeDesc.addFieldDesc(elemField);
  249 + elemField = new org.apache.axis.description.ElementDesc();
  250 + elemField.setFieldName("interessados");
  251 + elemField.setXmlName(new javax.xml.namespace.QName("", "Interessados"));
  252 + elemField.setXmlType(new javax.xml.namespace.QName("Sei", "Interessado"));
  253 + elemField.setNillable(false);
  254 + typeDesc.addFieldDesc(elemField);
  255 + elemField = new org.apache.axis.description.ElementDesc();
  256 + elemField.setFieldName("observacao");
  257 + elemField.setXmlName(new javax.xml.namespace.QName("", "Observacao"));
  258 + elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
  259 + elemField.setNillable(true);
  260 + typeDesc.addFieldDesc(elemField);
  261 + elemField = new org.apache.axis.description.ElementDesc();
  262 + elemField.setFieldName("nivelAcesso");
  263 + elemField.setXmlName(new javax.xml.namespace.QName("", "NivelAcesso"));
  264 + elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
  265 + elemField.setNillable(true);
  266 + typeDesc.addFieldDesc(elemField);
  267 + elemField = new org.apache.axis.description.ElementDesc();
  268 + elemField.setFieldName("idHipoteseLegal");
  269 + elemField.setXmlName(new javax.xml.namespace.QName("", "IdHipoteseLegal"));
  270 + elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
  271 + elemField.setNillable(true);
  272 + typeDesc.addFieldDesc(elemField);
  273 + }
  274 +
  275 + public static org.apache.axis.description.TypeDesc getTypeDesc() {
  276 + return typeDesc;
  277 + }
  278 +
  279 + public static org.apache.axis.encoding.Serializer getSerializer(java.lang.String mechType,
  280 + java.lang.Class _javaType, javax.xml.namespace.QName _xmlType) {
  281 + return new org.apache.axis.encoding.ser.BeanSerializer(_javaType, _xmlType, typeDesc);
  282 + }
  283 +
  284 + public static org.apache.axis.encoding.Deserializer getDeserializer(java.lang.String mechType,
  285 + java.lang.Class _javaType, javax.xml.namespace.QName _xmlType) {
  286 + return new org.apache.axis.encoding.ser.BeanDeserializer(_javaType, _xmlType, typeDesc);
  287 + }
430 288
431 } 289 }
src/main/java/br/gov/ans/integracao/sei/client/ProcedimentoResumido.java
@@ -15,185 +15,133 @@ import org.codehaus.jackson.map.annotate.JsonSerialize; @@ -15,185 +15,133 @@ import org.codehaus.jackson.map.annotate.JsonSerialize;
15 @JsonSerialize(include = JsonSerialize.Inclusion.NON_NULL) 15 @JsonSerialize(include = JsonSerialize.Inclusion.NON_NULL)
16 @JsonIgnoreProperties(ignoreUnknown = true) 16 @JsonIgnoreProperties(ignoreUnknown = true)
17 @XmlRootElement 17 @XmlRootElement
18 -public class ProcedimentoResumido implements java.io.Serializable {  
19 - private java.lang.String idProcedimento;  
20 -  
21 - private java.lang.String procedimentoFormatado;  
22 -  
23 - private br.gov.ans.integracao.sei.client.TipoProcedimento tipoProcedimento;  
24 -  
25 - public ProcedimentoResumido() {  
26 - }  
27 -  
28 - public ProcedimentoResumido(  
29 - java.lang.String idProcedimento,  
30 - java.lang.String procedimentoFormatado,  
31 - br.gov.ans.integracao.sei.client.TipoProcedimento tipoProcedimento) {  
32 - this.idProcedimento = idProcedimento;  
33 - this.procedimentoFormatado = procedimentoFormatado;  
34 - this.tipoProcedimento = tipoProcedimento;  
35 - }  
36 -  
37 -  
38 - /**  
39 - * Gets the idProcedimento value for this ProcedimentoResumido.  
40 - *  
41 - * @return idProcedimento  
42 - */  
43 - public java.lang.String getIdProcedimento() {  
44 - return idProcedimento;  
45 - }  
46 -  
47 -  
48 - /**  
49 - * Sets the idProcedimento value for this ProcedimentoResumido.  
50 - *  
51 - * @param idProcedimento  
52 - */  
53 - public void setIdProcedimento(java.lang.String idProcedimento) {  
54 - this.idProcedimento = idProcedimento;  
55 - }  
56 -  
57 -  
58 - /**  
59 - * Gets the procedimentoFormatado value for this ProcedimentoResumido.  
60 - *  
61 - * @return procedimentoFormatado  
62 - */  
63 - public java.lang.String getProcedimentoFormatado() {  
64 - return procedimentoFormatado;  
65 - }  
66 -  
67 -  
68 - /**  
69 - * Sets the procedimentoFormatado value for this ProcedimentoResumido.  
70 - *  
71 - * @param procedimentoFormatado  
72 - */  
73 - public void setProcedimentoFormatado(java.lang.String procedimentoFormatado) {  
74 - this.procedimentoFormatado = procedimentoFormatado;  
75 - }  
76 -  
77 -  
78 - /**  
79 - * Gets the tipoProcedimento value for this ProcedimentoResumido.  
80 - *  
81 - * @return tipoProcedimento  
82 - */  
83 - public br.gov.ans.integracao.sei.client.TipoProcedimento getTipoProcedimento() {  
84 - return tipoProcedimento;  
85 - }  
86 -  
87 -  
88 - /**  
89 - * Sets the tipoProcedimento value for this ProcedimentoResumido.  
90 - *  
91 - * @param tipoProcedimento  
92 - */  
93 - public void setTipoProcedimento(br.gov.ans.integracao.sei.client.TipoProcedimento tipoProcedimento) {  
94 - this.tipoProcedimento = tipoProcedimento;  
95 - }  
96 -  
97 - private java.lang.Object __equalsCalc = null;  
98 - public boolean equals(java.lang.Object obj) {  
99 - if (!(obj instanceof ProcedimentoResumido)) return false;  
100 - ProcedimentoResumido other = (ProcedimentoResumido) obj;  
101 - if (obj == null) return false;  
102 - if (this == obj) return true;  
103 - if (__equalsCalc != null) {  
104 - return (__equalsCalc == obj);  
105 - }  
106 - __equalsCalc = obj;  
107 - boolean _equals;  
108 - _equals = true &&  
109 - ((this.idProcedimento==null && other.getIdProcedimento()==null) ||  
110 - (this.idProcedimento!=null &&  
111 - this.idProcedimento.equals(other.getIdProcedimento()))) &&  
112 - ((this.procedimentoFormatado==null && other.getProcedimentoFormatado()==null) ||  
113 - (this.procedimentoFormatado!=null &&  
114 - this.procedimentoFormatado.equals(other.getProcedimentoFormatado()))) &&  
115 - ((this.tipoProcedimento==null && other.getTipoProcedimento()==null) ||  
116 - (this.tipoProcedimento!=null &&  
117 - this.tipoProcedimento.equals(other.getTipoProcedimento())));  
118 - __equalsCalc = null;  
119 - return _equals;  
120 - }  
121 -  
122 - private boolean __hashCodeCalc = false;  
123 - public int hashCode() {  
124 - if (__hashCodeCalc) {  
125 - return 0;  
126 - }  
127 - __hashCodeCalc = true;  
128 - int _hashCode = 1;  
129 - if (getIdProcedimento() != null) {  
130 - _hashCode += getIdProcedimento().hashCode();  
131 - }  
132 - if (getProcedimentoFormatado() != null) {  
133 - _hashCode += getProcedimentoFormatado().hashCode();  
134 - }  
135 - if (getTipoProcedimento() != null) {  
136 - _hashCode += getTipoProcedimento().hashCode();  
137 - }  
138 - __hashCodeCalc = false;  
139 - return _hashCode;  
140 - }  
141 -  
142 - // Type metadata  
143 - private static org.apache.axis.description.TypeDesc typeDesc =  
144 - new org.apache.axis.description.TypeDesc(ProcedimentoResumido.class, true);  
145 -  
146 - static {  
147 - typeDesc.setXmlType(new javax.xml.namespace.QName("Sei", "ProcedimentoResumido"));  
148 - org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();  
149 - elemField.setFieldName("idProcedimento");  
150 - elemField.setXmlName(new javax.xml.namespace.QName("", "IdProcedimento"));  
151 - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));  
152 - elemField.setNillable(false);  
153 - typeDesc.addFieldDesc(elemField);  
154 - elemField = new org.apache.axis.description.ElementDesc();  
155 - elemField.setFieldName("procedimentoFormatado");  
156 - elemField.setXmlName(new javax.xml.namespace.QName("", "ProcedimentoFormatado"));  
157 - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));  
158 - elemField.setNillable(false);  
159 - typeDesc.addFieldDesc(elemField);  
160 - elemField = new org.apache.axis.description.ElementDesc();  
161 - elemField.setFieldName("tipoProcedimento");  
162 - elemField.setXmlName(new javax.xml.namespace.QName("", "TipoProcedimento"));  
163 - elemField.setXmlType(new javax.xml.namespace.QName("Sei", "TipoProcedimento"));  
164 - elemField.setNillable(false);  
165 - typeDesc.addFieldDesc(elemField);  
166 - }  
167 -  
168 - /**  
169 - * Return type metadata object  
170 - */  
171 - public static org.apache.axis.description.TypeDesc getTypeDesc() {  
172 - return typeDesc;  
173 - }  
174 -  
175 - /**  
176 - * Get Custom Serializer  
177 - */  
178 - public static org.apache.axis.encoding.Serializer getSerializer(  
179 - java.lang.String mechType,  
180 - java.lang.Class _javaType,  
181 - javax.xml.namespace.QName _xmlType) {  
182 - return  
183 - new org.apache.axis.encoding.ser.BeanSerializer(  
184 - _javaType, _xmlType, typeDesc);  
185 - }  
186 -  
187 - /**  
188 - * Get Custom Deserializer  
189 - */  
190 - public static org.apache.axis.encoding.Deserializer getDeserializer(  
191 - java.lang.String mechType,  
192 - java.lang.Class _javaType,  
193 - javax.xml.namespace.QName _xmlType) {  
194 - return  
195 - new org.apache.axis.encoding.ser.BeanDeserializer(  
196 - _javaType, _xmlType, typeDesc);  
197 - } 18 +public class ProcedimentoResumido implements java.io.Serializable {
  19 + private java.lang.String idProcedimento;
  20 +
  21 + private java.lang.String procedimentoFormatado;
  22 +
  23 + private br.gov.ans.integracao.sei.client.TipoProcedimento tipoProcedimento;
  24 +
  25 + public ProcedimentoResumido() {
  26 + }
  27 +
  28 + public ProcedimentoResumido(java.lang.String idProcedimento, java.lang.String procedimentoFormatado,
  29 + br.gov.ans.integracao.sei.client.TipoProcedimento tipoProcedimento) {
  30 + this.idProcedimento = idProcedimento;
  31 + this.procedimentoFormatado = procedimentoFormatado;
  32 + this.tipoProcedimento = tipoProcedimento;
  33 + }
  34 +
  35 + public java.lang.String getIdProcedimento() {
  36 + return idProcedimento;
  37 + }
  38 +
  39 + public void setIdProcedimento(java.lang.String idProcedimento) {
  40 + this.idProcedimento = idProcedimento;
  41 + }
  42 +
  43 + public java.lang.String getProcedimentoFormatado() {
  44 + return procedimentoFormatado;
  45 + }
  46 +
  47 + public void setProcedimentoFormatado(java.lang.String procedimentoFormatado) {
  48 + this.procedimentoFormatado = procedimentoFormatado;
  49 + }
  50 +
  51 + public br.gov.ans.integracao.sei.client.TipoProcedimento getTipoProcedimento() {
  52 + return tipoProcedimento;
  53 + }
  54 +
  55 + public void setTipoProcedimento(br.gov.ans.integracao.sei.client.TipoProcedimento tipoProcedimento) {
  56 + this.tipoProcedimento = tipoProcedimento;
  57 + }
  58 +
  59 + private java.lang.Object __equalsCalc = null;
  60 +
  61 + public boolean equals(java.lang.Object obj) {
  62 + if (!(obj instanceof ProcedimentoResumido))
  63 + return false;
  64 + ProcedimentoResumido other = (ProcedimentoResumido) obj;
  65 + if (obj == null)
  66 + return false;
  67 + if (this == obj)
  68 + return true;
  69 + if (__equalsCalc != null) {
  70 + return (__equalsCalc == obj);
  71 + }
  72 + __equalsCalc = obj;
  73 + boolean _equals;
  74 + _equals = true
  75 + && ((this.idProcedimento == null && other.getIdProcedimento() == null)
  76 + || (this.idProcedimento != null && this.idProcedimento.equals(other.getIdProcedimento())))
  77 + && ((this.procedimentoFormatado == null && other.getProcedimentoFormatado() == null)
  78 + || (this.procedimentoFormatado != null
  79 + && this.procedimentoFormatado.equals(other.getProcedimentoFormatado())))
  80 + && ((this.tipoProcedimento == null && other.getTipoProcedimento() == null)
  81 + || (this.tipoProcedimento != null
  82 + && this.tipoProcedimento.equals(other.getTipoProcedimento())));
  83 + __equalsCalc = null;
  84 + return _equals;
  85 + }
  86 +
  87 + private boolean __hashCodeCalc = false;
  88 +
  89 + public int hashCode() {
  90 + if (__hashCodeCalc) {
  91 + return 0;
  92 + }
  93 + __hashCodeCalc = true;
  94 + int _hashCode = 1;
  95 + if (getIdProcedimento() != null) {
  96 + _hashCode += getIdProcedimento().hashCode();
  97 + }
  98 + if (getProcedimentoFormatado() != null) {
  99 + _hashCode += getProcedimentoFormatado().hashCode();
  100 + }
  101 + if (getTipoProcedimento() != null) {
  102 + _hashCode += getTipoProcedimento().hashCode();
  103 + }
  104 + __hashCodeCalc = false;
  105 + return _hashCode;
  106 + }
  107 +
  108 + private static org.apache.axis.description.TypeDesc typeDesc = new org.apache.axis.description.TypeDesc(
  109 + ProcedimentoResumido.class, true);
  110 +
  111 + static {
  112 + typeDesc.setXmlType(new javax.xml.namespace.QName("Sei", "ProcedimentoResumido"));
  113 + org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
  114 + elemField.setFieldName("idProcedimento");
  115 + elemField.setXmlName(new javax.xml.namespace.QName("", "IdProcedimento"));
  116 + elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
  117 + elemField.setNillable(false);
  118 + typeDesc.addFieldDesc(elemField);
  119 + elemField = new org.apache.axis.description.ElementDesc();
  120 + elemField.setFieldName("procedimentoFormatado");
  121 + elemField.setXmlName(new javax.xml.namespace.QName("", "ProcedimentoFormatado"));
  122 + elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
  123 + elemField.setNillable(false);
  124 + typeDesc.addFieldDesc(elemField);
  125 + elemField = new org.apache.axis.description.ElementDesc();
  126 + elemField.setFieldName("tipoProcedimento");
  127 + elemField.setXmlName(new javax.xml.namespace.QName("", "TipoProcedimento"));
  128 + elemField.setXmlType(new javax.xml.namespace.QName("Sei", "TipoProcedimento"));
  129 + elemField.setNillable(false);
  130 + typeDesc.addFieldDesc(elemField);
  131 + }
  132 +
  133 + public static org.apache.axis.description.TypeDesc getTypeDesc() {
  134 + return typeDesc;
  135 + }
  136 +
  137 + public static org.apache.axis.encoding.Serializer getSerializer(java.lang.String mechType,
  138 + java.lang.Class _javaType, javax.xml.namespace.QName _xmlType) {
  139 + return new org.apache.axis.encoding.ser.BeanSerializer(_javaType, _xmlType, typeDesc);
  140 + }
  141 +
  142 + public static org.apache.axis.encoding.Deserializer getDeserializer(java.lang.String mechType,
  143 + java.lang.Class _javaType, javax.xml.namespace.QName _xmlType) {
  144 + return new org.apache.axis.encoding.ser.BeanDeserializer(_javaType, _xmlType, typeDesc);
  145 + }
198 146
199 } 147 }
src/main/java/br/gov/ans/integracao/sei/client/Remetente.java
@@ -15,149 +15,108 @@ import org.codehaus.jackson.map.annotate.JsonSerialize; @@ -15,149 +15,108 @@ import org.codehaus.jackson.map.annotate.JsonSerialize;
15 @JsonSerialize(include = JsonSerialize.Inclusion.NON_NULL) 15 @JsonSerialize(include = JsonSerialize.Inclusion.NON_NULL)
16 @JsonIgnoreProperties(ignoreUnknown = true) 16 @JsonIgnoreProperties(ignoreUnknown = true)
17 @XmlRootElement 17 @XmlRootElement
18 -public class Remetente implements java.io.Serializable {  
19 - private java.lang.String sigla;  
20 -  
21 - private java.lang.String nome;  
22 -  
23 - public Remetente() {  
24 - }  
25 -  
26 - public Remetente(  
27 - java.lang.String sigla,  
28 - java.lang.String nome) {  
29 - this.sigla = sigla;  
30 - this.nome = nome;  
31 - }  
32 -  
33 -  
34 - /**  
35 - * Gets the sigla value for this Remetente.  
36 - *  
37 - * @return sigla  
38 - */  
39 - public java.lang.String getSigla() {  
40 - return sigla;  
41 - }  
42 -  
43 -  
44 - /**  
45 - * Sets the sigla value for this Remetente.  
46 - *  
47 - * @param sigla  
48 - */  
49 - public void setSigla(java.lang.String sigla) {  
50 - this.sigla = sigla;  
51 - }  
52 -  
53 -  
54 - /**  
55 - * Gets the nome value for this Remetente.  
56 - *  
57 - * @return nome  
58 - */  
59 - public java.lang.String getNome() {  
60 - return nome;  
61 - }  
62 -  
63 -  
64 - /**  
65 - * Sets the nome value for this Remetente.  
66 - *  
67 - * @param nome  
68 - */  
69 - public void setNome(java.lang.String nome) {  
70 - this.nome = nome;  
71 - }  
72 -  
73 - private java.lang.Object __equalsCalc = null;  
74 - public boolean equals(java.lang.Object obj) {  
75 - if (!(obj instanceof Remetente)) return false;  
76 - Remetente other = (Remetente) obj;  
77 - if (obj == null) return false;  
78 - if (this == obj) return true;  
79 - if (__equalsCalc != null) {  
80 - return (__equalsCalc == obj);  
81 - }  
82 - __equalsCalc = obj;  
83 - boolean _equals;  
84 - _equals = true &&  
85 - ((this.sigla==null && other.getSigla()==null) ||  
86 - (this.sigla!=null &&  
87 - this.sigla.equals(other.getSigla()))) &&  
88 - ((this.nome==null && other.getNome()==null) ||  
89 - (this.nome!=null &&  
90 - this.nome.equals(other.getNome())));  
91 - __equalsCalc = null;  
92 - return _equals;  
93 - }  
94 -  
95 - private boolean __hashCodeCalc = false;  
96 - public int hashCode() {  
97 - if (__hashCodeCalc) {  
98 - return 0;  
99 - }  
100 - __hashCodeCalc = true;  
101 - int _hashCode = 1;  
102 - if (getSigla() != null) {  
103 - _hashCode += getSigla().hashCode();  
104 - }  
105 - if (getNome() != null) {  
106 - _hashCode += getNome().hashCode();  
107 - }  
108 - __hashCodeCalc = false;  
109 - return _hashCode;  
110 - }  
111 -  
112 - // Type metadata  
113 - private static org.apache.axis.description.TypeDesc typeDesc =  
114 - new org.apache.axis.description.TypeDesc(Remetente.class, true);  
115 -  
116 - static {  
117 - typeDesc.setXmlType(new javax.xml.namespace.QName("Sei", "Remetente"));  
118 - org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();  
119 - elemField.setFieldName("sigla");  
120 - elemField.setXmlName(new javax.xml.namespace.QName("", "Sigla"));  
121 - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));  
122 - elemField.setNillable(false);  
123 - typeDesc.addFieldDesc(elemField);  
124 - elemField = new org.apache.axis.description.ElementDesc();  
125 - elemField.setFieldName("nome");  
126 - elemField.setXmlName(new javax.xml.namespace.QName("", "Nome"));  
127 - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));  
128 - elemField.setNillable(false);  
129 - typeDesc.addFieldDesc(elemField);  
130 - }  
131 -  
132 - /**  
133 - * Return type metadata object  
134 - */  
135 - public static org.apache.axis.description.TypeDesc getTypeDesc() {  
136 - return typeDesc;  
137 - }  
138 -  
139 - /**  
140 - * Get Custom Serializer  
141 - */  
142 - public static org.apache.axis.encoding.Serializer getSerializer(  
143 - java.lang.String mechType,  
144 - java.lang.Class _javaType,  
145 - javax.xml.namespace.QName _xmlType) {  
146 - return  
147 - new org.apache.axis.encoding.ser.BeanSerializer(  
148 - _javaType, _xmlType, typeDesc);  
149 - }  
150 -  
151 - /**  
152 - * Get Custom Deserializer  
153 - */  
154 - public static org.apache.axis.encoding.Deserializer getDeserializer(  
155 - java.lang.String mechType,  
156 - java.lang.Class _javaType,  
157 - javax.xml.namespace.QName _xmlType) {  
158 - return  
159 - new org.apache.axis.encoding.ser.BeanDeserializer(  
160 - _javaType, _xmlType, typeDesc);  
161 - } 18 +public class Remetente implements java.io.Serializable {
  19 + private java.lang.String sigla;
  20 +
  21 + private java.lang.String nome;
  22 +
  23 + public Remetente() {
  24 + }
  25 +
  26 + public Remetente(java.lang.String sigla, java.lang.String nome) {
  27 + this.sigla = sigla;
  28 + this.nome = nome;
  29 + }
  30 +
  31 + public java.lang.String getSigla() {
  32 + return sigla;
  33 + }
  34 +
  35 + public void setSigla(java.lang.String sigla) {
  36 + this.sigla = sigla;
  37 + }
  38 +
  39 + public java.lang.String getNome() {
  40 + return nome;
  41 + }
  42 +
  43 + public void setNome(java.lang.String nome) {
  44 + this.nome = nome;
  45 + }
  46 +
  47 + private java.lang.Object __equalsCalc = null;
  48 +
  49 + public boolean equals(java.lang.Object obj) {
  50 + if (!(obj instanceof Remetente))
  51 + return false;
  52 + Remetente other = (Remetente) obj;
  53 + if (obj == null)
  54 + return false;
  55 + if (this == obj)
  56 + return true;
  57 + if (__equalsCalc != null) {
  58 + return (__equalsCalc == obj);
  59 + }
  60 + __equalsCalc = obj;
  61 + boolean _equals;
  62 + _equals = true
  63 + && ((this.sigla == null && other.getSigla() == null)
  64 + || (this.sigla != null && this.sigla.equals(other.getSigla())))
  65 + && ((this.nome == null && other.getNome() == null)
  66 + || (this.nome != null && this.nome.equals(other.getNome())));
  67 + __equalsCalc = null;
  68 + return _equals;
  69 + }
  70 +
  71 + private boolean __hashCodeCalc = false;
  72 +
  73 + public int hashCode() {
  74 + if (__hashCodeCalc) {
  75 + return 0;
  76 + }
  77 + __hashCodeCalc = true;
  78 + int _hashCode = 1;
  79 + if (getSigla() != null) {
  80 + _hashCode += getSigla().hashCode();
  81 + }
  82 + if (getNome() != null) {
  83 + _hashCode += getNome().hashCode();
  84 + }
  85 + __hashCodeCalc = false;
  86 + return _hashCode;
  87 + }
  88 +
  89 + private static org.apache.axis.description.TypeDesc typeDesc = new org.apache.axis.description.TypeDesc(
  90 + Remetente.class, true);
  91 +
  92 + static {
  93 + typeDesc.setXmlType(new javax.xml.namespace.QName("Sei", "Remetente"));
  94 + org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
  95 + elemField.setFieldName("sigla");
  96 + elemField.setXmlName(new javax.xml.namespace.QName("", "Sigla"));
  97 + elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
  98 + elemField.setNillable(false);
  99 + typeDesc.addFieldDesc(elemField);
  100 + elemField = new org.apache.axis.description.ElementDesc();
  101 + elemField.setFieldName("nome");
  102 + elemField.setXmlName(new javax.xml.namespace.QName("", "Nome"));
  103 + elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
  104 + elemField.setNillable(false);
  105 + typeDesc.addFieldDesc(elemField);
  106 + }
  107 +
  108 + public static org.apache.axis.description.TypeDesc getTypeDesc() {
  109 + return typeDesc;
  110 + }
  111 +
  112 + public static org.apache.axis.encoding.Serializer getSerializer(java.lang.String mechType,
  113 + java.lang.Class _javaType, javax.xml.namespace.QName _xmlType) {
  114 + return new org.apache.axis.encoding.ser.BeanSerializer(_javaType, _xmlType, typeDesc);
  115 + }
  116 +
  117 + public static org.apache.axis.encoding.Deserializer getDeserializer(java.lang.String mechType,
  118 + java.lang.Class _javaType, javax.xml.namespace.QName _xmlType) {
  119 + return new org.apache.axis.encoding.ser.BeanDeserializer(_javaType, _xmlType, typeDesc);
  120 + }
162 121
163 } 122 }
src/main/java/br/gov/ans/integracao/sei/client/RetornoConsultaDocumento.java
@@ -15,561 +15,369 @@ import org.codehaus.jackson.map.annotate.JsonSerialize; @@ -15,561 +15,369 @@ import org.codehaus.jackson.map.annotate.JsonSerialize;
15 @JsonSerialize(include = JsonSerialize.Inclusion.NON_NULL) 15 @JsonSerialize(include = JsonSerialize.Inclusion.NON_NULL)
16 @JsonIgnoreProperties(ignoreUnknown = true) 16 @JsonIgnoreProperties(ignoreUnknown = true)
17 @XmlRootElement 17 @XmlRootElement
18 -public class RetornoConsultaDocumento implements java.io.Serializable {  
19 - private java.lang.String idProcedimento;  
20 -  
21 - private java.lang.String procedimentoFormatado;  
22 -  
23 - private java.lang.String idDocumento;  
24 -  
25 - private java.lang.String documentoFormatado;  
26 -  
27 - private java.lang.String linkAcesso;  
28 -  
29 - private br.gov.ans.integracao.sei.client.Serie serie;  
30 -  
31 - private java.lang.String numero;  
32 -  
33 - private java.lang.String data;  
34 -  
35 - private br.gov.ans.integracao.sei.client.Unidade unidadeElaboradora;  
36 -  
37 - private br.gov.ans.integracao.sei.client.Andamento andamentoGeracao;  
38 -  
39 - private br.gov.ans.integracao.sei.client.Assinatura[] assinaturas;  
40 -  
41 - private br.gov.ans.integracao.sei.client.Publicacao publicacao;  
42 -  
43 - private br.gov.ans.integracao.sei.client.Campo[] campos;  
44 -  
45 - public RetornoConsultaDocumento() {  
46 - }  
47 -  
48 - public RetornoConsultaDocumento(  
49 - java.lang.String idProcedimento,  
50 - java.lang.String procedimentoFormatado,  
51 - java.lang.String idDocumento,  
52 - java.lang.String documentoFormatado,  
53 - java.lang.String linkAcesso,  
54 - br.gov.ans.integracao.sei.client.Serie serie,  
55 - java.lang.String numero,  
56 - java.lang.String data,  
57 - br.gov.ans.integracao.sei.client.Unidade unidadeElaboradora,  
58 - br.gov.ans.integracao.sei.client.Andamento andamentoGeracao,  
59 - br.gov.ans.integracao.sei.client.Assinatura[] assinaturas,  
60 - br.gov.ans.integracao.sei.client.Publicacao publicacao,  
61 - br.gov.ans.integracao.sei.client.Campo[] campos) {  
62 - this.idProcedimento = idProcedimento;  
63 - this.procedimentoFormatado = procedimentoFormatado;  
64 - this.idDocumento = idDocumento;  
65 - this.documentoFormatado = documentoFormatado;  
66 - this.linkAcesso = linkAcesso;  
67 - this.serie = serie;  
68 - this.numero = numero;  
69 - this.data = data;  
70 - this.unidadeElaboradora = unidadeElaboradora;  
71 - this.andamentoGeracao = andamentoGeracao;  
72 - this.assinaturas = assinaturas;  
73 - this.publicacao = publicacao;  
74 - this.campos = campos;  
75 - }  
76 -  
77 -  
78 - /**  
79 - * Gets the idProcedimento value for this RetornoConsultaDocumento.  
80 - *  
81 - * @return idProcedimento  
82 - */  
83 - public java.lang.String getIdProcedimento() {  
84 - return idProcedimento;  
85 - }  
86 -  
87 -  
88 - /**  
89 - * Sets the idProcedimento value for this RetornoConsultaDocumento.  
90 - *  
91 - * @param idProcedimento  
92 - */  
93 - public void setIdProcedimento(java.lang.String idProcedimento) {  
94 - this.idProcedimento = idProcedimento;  
95 - }  
96 -  
97 -  
98 - /**  
99 - * Gets the procedimentoFormatado value for this RetornoConsultaDocumento.  
100 - *  
101 - * @return procedimentoFormatado  
102 - */  
103 - public java.lang.String getProcedimentoFormatado() {  
104 - return procedimentoFormatado;  
105 - }  
106 -  
107 -  
108 - /**  
109 - * Sets the procedimentoFormatado value for this RetornoConsultaDocumento.  
110 - *  
111 - * @param procedimentoFormatado  
112 - */  
113 - public void setProcedimentoFormatado(java.lang.String procedimentoFormatado) {  
114 - this.procedimentoFormatado = procedimentoFormatado;  
115 - }  
116 -  
117 -  
118 - /**  
119 - * Gets the idDocumento value for this RetornoConsultaDocumento.  
120 - *  
121 - * @return idDocumento  
122 - */  
123 - public java.lang.String getIdDocumento() {  
124 - return idDocumento;  
125 - }  
126 -  
127 -  
128 - /**  
129 - * Sets the idDocumento value for this RetornoConsultaDocumento.  
130 - *  
131 - * @param idDocumento  
132 - */  
133 - public void setIdDocumento(java.lang.String idDocumento) {  
134 - this.idDocumento = idDocumento;  
135 - }  
136 -  
137 -  
138 - /**  
139 - * Gets the documentoFormatado value for this RetornoConsultaDocumento.  
140 - *  
141 - * @return documentoFormatado  
142 - */  
143 - public java.lang.String getDocumentoFormatado() {  
144 - return documentoFormatado;  
145 - }  
146 -  
147 -  
148 - /**  
149 - * Sets the documentoFormatado value for this RetornoConsultaDocumento.  
150 - *  
151 - * @param documentoFormatado  
152 - */  
153 - public void setDocumentoFormatado(java.lang.String documentoFormatado) {  
154 - this.documentoFormatado = documentoFormatado;  
155 - }  
156 -  
157 -  
158 - /**  
159 - * Gets the linkAcesso value for this RetornoConsultaDocumento.  
160 - *  
161 - * @return linkAcesso  
162 - */  
163 - public java.lang.String getLinkAcesso() {  
164 - return linkAcesso;  
165 - }  
166 -  
167 -  
168 - /**  
169 - * Sets the linkAcesso value for this RetornoConsultaDocumento.  
170 - *  
171 - * @param linkAcesso  
172 - */  
173 - public void setLinkAcesso(java.lang.String linkAcesso) {  
174 - this.linkAcesso = linkAcesso;  
175 - }  
176 -  
177 -  
178 - /**  
179 - * Gets the serie value for this RetornoConsultaDocumento.  
180 - *  
181 - * @return serie  
182 - */  
183 - public br.gov.ans.integracao.sei.client.Serie getSerie() {  
184 - return serie;  
185 - }  
186 -  
187 -  
188 - /**  
189 - * Sets the serie value for this RetornoConsultaDocumento.  
190 - *  
191 - * @param serie  
192 - */  
193 - public void setSerie(br.gov.ans.integracao.sei.client.Serie serie) {  
194 - this.serie = serie;  
195 - }  
196 -  
197 -  
198 - /**  
199 - * Gets the numero value for this RetornoConsultaDocumento.  
200 - *  
201 - * @return numero  
202 - */  
203 - public java.lang.String getNumero() {  
204 - return numero;  
205 - }  
206 -  
207 -  
208 - /**  
209 - * Sets the numero value for this RetornoConsultaDocumento.  
210 - *  
211 - * @param numero  
212 - */  
213 - public void setNumero(java.lang.String numero) {  
214 - this.numero = numero;  
215 - }  
216 -  
217 -  
218 - /**  
219 - * Gets the data value for this RetornoConsultaDocumento.  
220 - *  
221 - * @return data  
222 - */  
223 - public java.lang.String getData() {  
224 - return data;  
225 - }  
226 -  
227 -  
228 - /**  
229 - * Sets the data value for this RetornoConsultaDocumento.  
230 - *  
231 - * @param data  
232 - */  
233 - public void setData(java.lang.String data) {  
234 - this.data = data;  
235 - }  
236 -  
237 -  
238 - /**  
239 - * Gets the unidadeElaboradora value for this RetornoConsultaDocumento.  
240 - *  
241 - * @return unidadeElaboradora  
242 - */  
243 - public br.gov.ans.integracao.sei.client.Unidade getUnidadeElaboradora() {  
244 - return unidadeElaboradora;  
245 - }  
246 -  
247 -  
248 - /**  
249 - * Sets the unidadeElaboradora value for this RetornoConsultaDocumento.  
250 - *  
251 - * @param unidadeElaboradora  
252 - */  
253 - public void setUnidadeElaboradora(br.gov.ans.integracao.sei.client.Unidade unidadeElaboradora) {  
254 - this.unidadeElaboradora = unidadeElaboradora;  
255 - }  
256 -  
257 -  
258 - /**  
259 - * Gets the andamentoGeracao value for this RetornoConsultaDocumento.  
260 - *  
261 - * @return andamentoGeracao  
262 - */  
263 - public br.gov.ans.integracao.sei.client.Andamento getAndamentoGeracao() {  
264 - return andamentoGeracao;  
265 - }  
266 -  
267 -  
268 - /**  
269 - * Sets the andamentoGeracao value for this RetornoConsultaDocumento.  
270 - *  
271 - * @param andamentoGeracao  
272 - */  
273 - public void setAndamentoGeracao(br.gov.ans.integracao.sei.client.Andamento andamentoGeracao) {  
274 - this.andamentoGeracao = andamentoGeracao;  
275 - }  
276 -  
277 -  
278 - /**  
279 - * Gets the assinaturas value for this RetornoConsultaDocumento.  
280 - *  
281 - * @return assinaturas  
282 - */  
283 - public br.gov.ans.integracao.sei.client.Assinatura[] getAssinaturas() {  
284 - return assinaturas;  
285 - }  
286 -  
287 -  
288 - /**  
289 - * Sets the assinaturas value for this RetornoConsultaDocumento.  
290 - *  
291 - * @param assinaturas  
292 - */  
293 - public void setAssinaturas(br.gov.ans.integracao.sei.client.Assinatura[] assinaturas) {  
294 - this.assinaturas = assinaturas;  
295 - }  
296 -  
297 -  
298 - /**  
299 - * Gets the publicacao value for this RetornoConsultaDocumento.  
300 - *  
301 - * @return publicacao  
302 - */  
303 - public br.gov.ans.integracao.sei.client.Publicacao getPublicacao() {  
304 - return publicacao;  
305 - }  
306 -  
307 -  
308 - /**  
309 - * Sets the publicacao value for this RetornoConsultaDocumento.  
310 - *  
311 - * @param publicacao  
312 - */  
313 - public void setPublicacao(br.gov.ans.integracao.sei.client.Publicacao publicacao) {  
314 - this.publicacao = publicacao;  
315 - }  
316 -  
317 -  
318 - /**  
319 - * Gets the campos value for this RetornoConsultaDocumento.  
320 - *  
321 - * @return campos  
322 - */  
323 - public br.gov.ans.integracao.sei.client.Campo[] getCampos() {  
324 - return campos;  
325 - }  
326 -  
327 -  
328 - /**  
329 - * Sets the campos value for this RetornoConsultaDocumento.  
330 - *  
331 - * @param campos  
332 - */  
333 - public void setCampos(br.gov.ans.integracao.sei.client.Campo[] campos) {  
334 - this.campos = campos;  
335 - }  
336 -  
337 - private java.lang.Object __equalsCalc = null;  
338 - public boolean equals(java.lang.Object obj) {  
339 - if (!(obj instanceof RetornoConsultaDocumento)) return false;  
340 - RetornoConsultaDocumento other = (RetornoConsultaDocumento) obj;  
341 - if (obj == null) return false;  
342 - if (this == obj) return true;  
343 - if (__equalsCalc != null) {  
344 - return (__equalsCalc == obj);  
345 - }  
346 - __equalsCalc = obj;  
347 - boolean _equals;  
348 - _equals = true &&  
349 - ((this.idProcedimento==null && other.getIdProcedimento()==null) ||  
350 - (this.idProcedimento!=null &&  
351 - this.idProcedimento.equals(other.getIdProcedimento()))) &&  
352 - ((this.procedimentoFormatado==null && other.getProcedimentoFormatado()==null) ||  
353 - (this.procedimentoFormatado!=null &&  
354 - this.procedimentoFormatado.equals(other.getProcedimentoFormatado()))) &&  
355 - ((this.idDocumento==null && other.getIdDocumento()==null) ||  
356 - (this.idDocumento!=null &&  
357 - this.idDocumento.equals(other.getIdDocumento()))) &&  
358 - ((this.documentoFormatado==null && other.getDocumentoFormatado()==null) ||  
359 - (this.documentoFormatado!=null &&  
360 - this.documentoFormatado.equals(other.getDocumentoFormatado()))) &&  
361 - ((this.linkAcesso==null && other.getLinkAcesso()==null) ||  
362 - (this.linkAcesso!=null &&  
363 - this.linkAcesso.equals(other.getLinkAcesso()))) &&  
364 - ((this.serie==null && other.getSerie()==null) ||  
365 - (this.serie!=null &&  
366 - this.serie.equals(other.getSerie()))) &&  
367 - ((this.numero==null && other.getNumero()==null) ||  
368 - (this.numero!=null &&  
369 - this.numero.equals(other.getNumero()))) &&  
370 - ((this.data==null && other.getData()==null) ||  
371 - (this.data!=null &&  
372 - this.data.equals(other.getData()))) &&  
373 - ((this.unidadeElaboradora==null && other.getUnidadeElaboradora()==null) ||  
374 - (this.unidadeElaboradora!=null &&  
375 - this.unidadeElaboradora.equals(other.getUnidadeElaboradora()))) &&  
376 - ((this.andamentoGeracao==null && other.getAndamentoGeracao()==null) ||  
377 - (this.andamentoGeracao!=null &&  
378 - this.andamentoGeracao.equals(other.getAndamentoGeracao()))) &&  
379 - ((this.assinaturas==null && other.getAssinaturas()==null) ||  
380 - (this.assinaturas!=null &&  
381 - java.util.Arrays.equals(this.assinaturas, other.getAssinaturas()))) &&  
382 - ((this.publicacao==null && other.getPublicacao()==null) ||  
383 - (this.publicacao!=null &&  
384 - this.publicacao.equals(other.getPublicacao()))) &&  
385 - ((this.campos==null && other.getCampos()==null) ||  
386 - (this.campos!=null &&  
387 - java.util.Arrays.equals(this.campos, other.getCampos())));  
388 - __equalsCalc = null;  
389 - return _equals;  
390 - }  
391 -  
392 - private boolean __hashCodeCalc = false;  
393 - public int hashCode() {  
394 - if (__hashCodeCalc) {  
395 - return 0;  
396 - }  
397 - __hashCodeCalc = true;  
398 - int _hashCode = 1;  
399 - if (getIdProcedimento() != null) {  
400 - _hashCode += getIdProcedimento().hashCode();  
401 - }  
402 - if (getProcedimentoFormatado() != null) {  
403 - _hashCode += getProcedimentoFormatado().hashCode();  
404 - }  
405 - if (getIdDocumento() != null) {  
406 - _hashCode += getIdDocumento().hashCode();  
407 - }  
408 - if (getDocumentoFormatado() != null) {  
409 - _hashCode += getDocumentoFormatado().hashCode();  
410 - }  
411 - if (getLinkAcesso() != null) {  
412 - _hashCode += getLinkAcesso().hashCode();  
413 - }  
414 - if (getSerie() != null) {  
415 - _hashCode += getSerie().hashCode();  
416 - }  
417 - if (getNumero() != null) {  
418 - _hashCode += getNumero().hashCode();  
419 - }  
420 - if (getData() != null) {  
421 - _hashCode += getData().hashCode();  
422 - }  
423 - if (getUnidadeElaboradora() != null) {  
424 - _hashCode += getUnidadeElaboradora().hashCode();  
425 - }  
426 - if (getAndamentoGeracao() != null) {  
427 - _hashCode += getAndamentoGeracao().hashCode();  
428 - }  
429 - if (getAssinaturas() != null) {  
430 - for (int i=0;  
431 - i<java.lang.reflect.Array.getLength(getAssinaturas());  
432 - i++) {  
433 - java.lang.Object obj = java.lang.reflect.Array.get(getAssinaturas(), i);  
434 - if (obj != null &&  
435 - !obj.getClass().isArray()) {  
436 - _hashCode += obj.hashCode();  
437 - }  
438 - }  
439 - }  
440 - if (getPublicacao() != null) {  
441 - _hashCode += getPublicacao().hashCode();  
442 - }  
443 - if (getCampos() != null) {  
444 - for (int i=0;  
445 - i<java.lang.reflect.Array.getLength(getCampos());  
446 - i++) {  
447 - java.lang.Object obj = java.lang.reflect.Array.get(getCampos(), i);  
448 - if (obj != null &&  
449 - !obj.getClass().isArray()) {  
450 - _hashCode += obj.hashCode();  
451 - }  
452 - }  
453 - }  
454 - __hashCodeCalc = false;  
455 - return _hashCode;  
456 - }  
457 -  
458 - // Type metadata  
459 - private static org.apache.axis.description.TypeDesc typeDesc =  
460 - new org.apache.axis.description.TypeDesc(RetornoConsultaDocumento.class, true);  
461 -  
462 - static {  
463 - typeDesc.setXmlType(new javax.xml.namespace.QName("Sei", "RetornoConsultaDocumento"));  
464 - org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();  
465 - elemField.setFieldName("idProcedimento");  
466 - elemField.setXmlName(new javax.xml.namespace.QName("", "IdProcedimento"));  
467 - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));  
468 - elemField.setNillable(false);  
469 - typeDesc.addFieldDesc(elemField);  
470 - elemField = new org.apache.axis.description.ElementDesc();  
471 - elemField.setFieldName("procedimentoFormatado");  
472 - elemField.setXmlName(new javax.xml.namespace.QName("", "ProcedimentoFormatado"));  
473 - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));  
474 - elemField.setNillable(false);  
475 - typeDesc.addFieldDesc(elemField);  
476 - elemField = new org.apache.axis.description.ElementDesc();  
477 - elemField.setFieldName("idDocumento");  
478 - elemField.setXmlName(new javax.xml.namespace.QName("", "IdDocumento"));  
479 - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));  
480 - elemField.setNillable(false);  
481 - typeDesc.addFieldDesc(elemField);  
482 - elemField = new org.apache.axis.description.ElementDesc();  
483 - elemField.setFieldName("documentoFormatado");  
484 - elemField.setXmlName(new javax.xml.namespace.QName("", "DocumentoFormatado"));  
485 - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));  
486 - elemField.setNillable(false);  
487 - typeDesc.addFieldDesc(elemField);  
488 - elemField = new org.apache.axis.description.ElementDesc();  
489 - elemField.setFieldName("linkAcesso");  
490 - elemField.setXmlName(new javax.xml.namespace.QName("", "LinkAcesso"));  
491 - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));  
492 - elemField.setNillable(false);  
493 - typeDesc.addFieldDesc(elemField);  
494 - elemField = new org.apache.axis.description.ElementDesc();  
495 - elemField.setFieldName("serie");  
496 - elemField.setXmlName(new javax.xml.namespace.QName("", "Serie"));  
497 - elemField.setXmlType(new javax.xml.namespace.QName("Sei", "Serie"));  
498 - elemField.setNillable(false);  
499 - typeDesc.addFieldDesc(elemField);  
500 - elemField = new org.apache.axis.description.ElementDesc();  
501 - elemField.setFieldName("numero");  
502 - elemField.setXmlName(new javax.xml.namespace.QName("", "Numero"));  
503 - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));  
504 - elemField.setNillable(false);  
505 - typeDesc.addFieldDesc(elemField);  
506 - elemField = new org.apache.axis.description.ElementDesc();  
507 - elemField.setFieldName("data");  
508 - elemField.setXmlName(new javax.xml.namespace.QName("", "Data"));  
509 - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));  
510 - elemField.setNillable(false);  
511 - typeDesc.addFieldDesc(elemField);  
512 - elemField = new org.apache.axis.description.ElementDesc();  
513 - elemField.setFieldName("unidadeElaboradora");  
514 - elemField.setXmlName(new javax.xml.namespace.QName("", "UnidadeElaboradora"));  
515 - elemField.setXmlType(new javax.xml.namespace.QName("Sei", "Unidade"));  
516 - elemField.setNillable(false);  
517 - typeDesc.addFieldDesc(elemField);  
518 - elemField = new org.apache.axis.description.ElementDesc();  
519 - elemField.setFieldName("andamentoGeracao");  
520 - elemField.setXmlName(new javax.xml.namespace.QName("", "AndamentoGeracao"));  
521 - elemField.setXmlType(new javax.xml.namespace.QName("Sei", "Andamento"));  
522 - elemField.setNillable(false);  
523 - typeDesc.addFieldDesc(elemField);  
524 - elemField = new org.apache.axis.description.ElementDesc();  
525 - elemField.setFieldName("assinaturas");  
526 - elemField.setXmlName(new javax.xml.namespace.QName("", "Assinaturas"));  
527 - elemField.setXmlType(new javax.xml.namespace.QName("Sei", "Assinatura"));  
528 - elemField.setNillable(false);  
529 - typeDesc.addFieldDesc(elemField);  
530 - elemField = new org.apache.axis.description.ElementDesc();  
531 - elemField.setFieldName("publicacao");  
532 - elemField.setXmlName(new javax.xml.namespace.QName("", "Publicacao"));  
533 - elemField.setXmlType(new javax.xml.namespace.QName("Sei", "Publicacao"));  
534 - elemField.setNillable(false);  
535 - typeDesc.addFieldDesc(elemField);  
536 - elemField = new org.apache.axis.description.ElementDesc();  
537 - elemField.setFieldName("campos");  
538 - elemField.setXmlName(new javax.xml.namespace.QName("", "Campos"));  
539 - elemField.setXmlType(new javax.xml.namespace.QName("Sei", "Campo"));  
540 - elemField.setNillable(false);  
541 - typeDesc.addFieldDesc(elemField);  
542 - }  
543 -  
544 - /**  
545 - * Return type metadata object  
546 - */  
547 - public static org.apache.axis.description.TypeDesc getTypeDesc() {  
548 - return typeDesc;  
549 - }  
550 -  
551 - /**  
552 - * Get Custom Serializer  
553 - */  
554 - public static org.apache.axis.encoding.Serializer getSerializer(  
555 - java.lang.String mechType,  
556 - java.lang.Class _javaType,  
557 - javax.xml.namespace.QName _xmlType) {  
558 - return  
559 - new org.apache.axis.encoding.ser.BeanSerializer(  
560 - _javaType, _xmlType, typeDesc);  
561 - }  
562 -  
563 - /**  
564 - * Get Custom Deserializer  
565 - */  
566 - public static org.apache.axis.encoding.Deserializer getDeserializer(  
567 - java.lang.String mechType,  
568 - java.lang.Class _javaType,  
569 - javax.xml.namespace.QName _xmlType) {  
570 - return  
571 - new org.apache.axis.encoding.ser.BeanDeserializer(  
572 - _javaType, _xmlType, typeDesc);  
573 - } 18 +public class RetornoConsultaDocumento implements java.io.Serializable {
  19 + private java.lang.String idProcedimento;
  20 +
  21 + private java.lang.String procedimentoFormatado;
  22 +
  23 + private java.lang.String idDocumento;
  24 +
  25 + private java.lang.String documentoFormatado;
  26 +
  27 + private java.lang.String linkAcesso;
  28 +
  29 + private br.gov.ans.integracao.sei.client.Serie serie;
  30 +
  31 + private java.lang.String numero;
  32 +
  33 + private java.lang.String data;
  34 +
  35 + private br.gov.ans.integracao.sei.client.Unidade unidadeElaboradora;
  36 +
  37 + private br.gov.ans.integracao.sei.client.Andamento andamentoGeracao;
  38 +
  39 + private br.gov.ans.integracao.sei.client.Assinatura[] assinaturas;
  40 +
  41 + private br.gov.ans.integracao.sei.client.Publicacao publicacao;
  42 +
  43 + private br.gov.ans.integracao.sei.client.Campo[] campos;
  44 +
  45 + public RetornoConsultaDocumento() {
  46 + }
  47 +
  48 + public RetornoConsultaDocumento(java.lang.String idProcedimento, java.lang.String procedimentoFormatado,
  49 + java.lang.String idDocumento, java.lang.String documentoFormatado, java.lang.String linkAcesso,
  50 + br.gov.ans.integracao.sei.client.Serie serie, java.lang.String numero, java.lang.String data,
  51 + br.gov.ans.integracao.sei.client.Unidade unidadeElaboradora,
  52 + br.gov.ans.integracao.sei.client.Andamento andamentoGeracao,
  53 + br.gov.ans.integracao.sei.client.Assinatura[] assinaturas,
  54 + br.gov.ans.integracao.sei.client.Publicacao publicacao, br.gov.ans.integracao.sei.client.Campo[] campos) {
  55 + this.idProcedimento = idProcedimento;
  56 + this.procedimentoFormatado = procedimentoFormatado;
  57 + this.idDocumento = idDocumento;
  58 + this.documentoFormatado = documentoFormatado;
  59 + this.linkAcesso = linkAcesso;
  60 + this.serie = serie;
  61 + this.numero = numero;
  62 + this.data = data;
  63 + this.unidadeElaboradora = unidadeElaboradora;
  64 + this.andamentoGeracao = andamentoGeracao;
  65 + this.assinaturas = assinaturas;
  66 + this.publicacao = publicacao;
  67 + this.campos = campos;
  68 + }
  69 +
  70 + public java.lang.String getIdProcedimento() {
  71 + return idProcedimento;
  72 + }
  73 +
  74 + public void setIdProcedimento(java.lang.String idProcedimento) {
  75 + this.idProcedimento = idProcedimento;
  76 + }
  77 +
  78 + public java.lang.String getProcedimentoFormatado() {
  79 + return procedimentoFormatado;
  80 + }
  81 +
  82 + public void setProcedimentoFormatado(java.lang.String procedimentoFormatado) {
  83 + this.procedimentoFormatado = procedimentoFormatado;
  84 + }
  85 +
  86 + public java.lang.String getIdDocumento() {
  87 + return idDocumento;
  88 + }
  89 +
  90 + public void setIdDocumento(java.lang.String idDocumento) {
  91 + this.idDocumento = idDocumento;
  92 + }
  93 +
  94 + public java.lang.String getDocumentoFormatado() {
  95 + return documentoFormatado;
  96 + }
  97 +
  98 + public void setDocumentoFormatado(java.lang.String documentoFormatado) {
  99 + this.documentoFormatado = documentoFormatado;
  100 + }
  101 +
  102 + public java.lang.String getLinkAcesso() {
  103 + return linkAcesso;
  104 + }
  105 +
  106 + public void setLinkAcesso(java.lang.String linkAcesso) {
  107 + this.linkAcesso = linkAcesso;
  108 + }
  109 +
  110 + public br.gov.ans.integracao.sei.client.Serie getSerie() {
  111 + return serie;
  112 + }
  113 +
  114 + public void setSerie(br.gov.ans.integracao.sei.client.Serie serie) {
  115 + this.serie = serie;
  116 + }
  117 +
  118 + public java.lang.String getNumero() {
  119 + return numero;
  120 + }
  121 +
  122 + public void setNumero(java.lang.String numero) {
  123 + this.numero = numero;
  124 + }
  125 +
  126 + public java.lang.String getData() {
  127 + return data;
  128 + }
  129 +
  130 + public void setData(java.lang.String data) {
  131 + this.data = data;
  132 + }
  133 +
  134 + public br.gov.ans.integracao.sei.client.Unidade getUnidadeElaboradora() {
  135 + return unidadeElaboradora;
  136 + }
  137 +
  138 + public void setUnidadeElaboradora(br.gov.ans.integracao.sei.client.Unidade unidadeElaboradora) {
  139 + this.unidadeElaboradora = unidadeElaboradora;
  140 + }
  141 +
  142 + public br.gov.ans.integracao.sei.client.Andamento getAndamentoGeracao() {
  143 + return andamentoGeracao;
  144 + }
  145 +
  146 + public void setAndamentoGeracao(br.gov.ans.integracao.sei.client.Andamento andamentoGeracao) {
  147 + this.andamentoGeracao = andamentoGeracao;
  148 + }
  149 +
  150 + public br.gov.ans.integracao.sei.client.Assinatura[] getAssinaturas() {
  151 + return assinaturas;
  152 + }
  153 +
  154 + public void setAssinaturas(br.gov.ans.integracao.sei.client.Assinatura[] assinaturas) {
  155 + this.assinaturas = assinaturas;
  156 + }
  157 +
  158 + public br.gov.ans.integracao.sei.client.Publicacao getPublicacao() {
  159 + return publicacao;
  160 + }
  161 +
  162 + public void setPublicacao(br.gov.ans.integracao.sei.client.Publicacao publicacao) {
  163 + this.publicacao = publicacao;
  164 + }
  165 +
  166 + public br.gov.ans.integracao.sei.client.Campo[] getCampos() {
  167 + return campos;
  168 + }
  169 +
  170 + public void setCampos(br.gov.ans.integracao.sei.client.Campo[] campos) {
  171 + this.campos = campos;
  172 + }
  173 +
  174 + private java.lang.Object __equalsCalc = null;
  175 +
  176 + public boolean equals(java.lang.Object obj) {
  177 + if (!(obj instanceof RetornoConsultaDocumento))
  178 + return false;
  179 + RetornoConsultaDocumento other = (RetornoConsultaDocumento) obj;
  180 + if (obj == null)
  181 + return false;
  182 + if (this == obj)
  183 + return true;
  184 + if (__equalsCalc != null) {
  185 + return (__equalsCalc == obj);
  186 + }
  187 + __equalsCalc = obj;
  188 + boolean _equals;
  189 + _equals = true
  190 + && ((this.idProcedimento == null && other.getIdProcedimento() == null)
  191 + || (this.idProcedimento != null && this.idProcedimento.equals(other.getIdProcedimento())))
  192 + && ((this.procedimentoFormatado == null && other.getProcedimentoFormatado() == null)
  193 + || (this.procedimentoFormatado != null
  194 + && this.procedimentoFormatado.equals(other.getProcedimentoFormatado())))
  195 + && ((this.idDocumento == null && other.getIdDocumento() == null)
  196 + || (this.idDocumento != null && this.idDocumento.equals(other.getIdDocumento())))
  197 + && ((this.documentoFormatado == null && other.getDocumentoFormatado() == null)
  198 + || (this.documentoFormatado != null
  199 + && this.documentoFormatado.equals(other.getDocumentoFormatado())))
  200 + && ((this.linkAcesso == null && other.getLinkAcesso() == null)
  201 + || (this.linkAcesso != null && this.linkAcesso.equals(other.getLinkAcesso())))
  202 + && ((this.serie == null && other.getSerie() == null)
  203 + || (this.serie != null && this.serie.equals(other.getSerie())))
  204 + && ((this.numero == null && other.getNumero() == null)
  205 + || (this.numero != null && this.numero.equals(other.getNumero())))
  206 + && ((this.data == null && other.getData() == null)
  207 + || (this.data != null && this.data.equals(other.getData())))
  208 + && ((this.unidadeElaboradora == null && other.getUnidadeElaboradora() == null)
  209 + || (this.unidadeElaboradora != null
  210 + && this.unidadeElaboradora.equals(other.getUnidadeElaboradora())))
  211 + && ((this.andamentoGeracao == null && other.getAndamentoGeracao() == null)
  212 + || (this.andamentoGeracao != null && this.andamentoGeracao.equals(other.getAndamentoGeracao())))
  213 + && ((this.assinaturas == null && other.getAssinaturas() == null) || (this.assinaturas != null
  214 + && java.util.Arrays.equals(this.assinaturas, other.getAssinaturas())))
  215 + && ((this.publicacao == null && other.getPublicacao() == null)
  216 + || (this.publicacao != null && this.publicacao.equals(other.getPublicacao())))
  217 + && ((this.campos == null && other.getCampos() == null)
  218 + || (this.campos != null && java.util.Arrays.equals(this.campos, other.getCampos())));
  219 + __equalsCalc = null;
  220 + return _equals;
  221 + }
  222 +
  223 + private boolean __hashCodeCalc = false;
  224 +
  225 + public int hashCode() {
  226 + if (__hashCodeCalc) {
  227 + return 0;
  228 + }
  229 + __hashCodeCalc = true;
  230 + int _hashCode = 1;
  231 + if (getIdProcedimento() != null) {
  232 + _hashCode += getIdProcedimento().hashCode();
  233 + }
  234 + if (getProcedimentoFormatado() != null) {
  235 + _hashCode += getProcedimentoFormatado().hashCode();
  236 + }
  237 + if (getIdDocumento() != null) {
  238 + _hashCode += getIdDocumento().hashCode();
  239 + }
  240 + if (getDocumentoFormatado() != null) {
  241 + _hashCode += getDocumentoFormatado().hashCode();
  242 + }
  243 + if (getLinkAcesso() != null) {
  244 + _hashCode += getLinkAcesso().hashCode();
  245 + }
  246 + if (getSerie() != null) {
  247 + _hashCode += getSerie().hashCode();
  248 + }
  249 + if (getNumero() != null) {
  250 + _hashCode += getNumero().hashCode();
  251 + }
  252 + if (getData() != null) {
  253 + _hashCode += getData().hashCode();
  254 + }
  255 + if (getUnidadeElaboradora() != null) {
  256 + _hashCode += getUnidadeElaboradora().hashCode();
  257 + }
  258 + if (getAndamentoGeracao() != null) {
  259 + _hashCode += getAndamentoGeracao().hashCode();
  260 + }
  261 + if (getAssinaturas() != null) {
  262 + for (int i = 0; i < java.lang.reflect.Array.getLength(getAssinaturas()); i++) {
  263 + java.lang.Object obj = java.lang.reflect.Array.get(getAssinaturas(), i);
  264 + if (obj != null && !obj.getClass().isArray()) {
  265 + _hashCode += obj.hashCode();
  266 + }
  267 + }
  268 + }
  269 + if (getPublicacao() != null) {
  270 + _hashCode += getPublicacao().hashCode();
  271 + }
  272 + if (getCampos() != null) {
  273 + for (int i = 0; i < java.lang.reflect.Array.getLength(getCampos()); i++) {
  274 + java.lang.Object obj = java.lang.reflect.Array.get(getCampos(), i);
  275 + if (obj != null && !obj.getClass().isArray()) {
  276 + _hashCode += obj.hashCode();
  277 + }
  278 + }
  279 + }
  280 + __hashCodeCalc = false;
  281 + return _hashCode;
  282 + }
  283 +
  284 + private static org.apache.axis.description.TypeDesc typeDesc = new org.apache.axis.description.TypeDesc(
  285 + RetornoConsultaDocumento.class, true);
  286 +
  287 + static {
  288 + typeDesc.setXmlType(new javax.xml.namespace.QName("Sei", "RetornoConsultaDocumento"));
  289 + org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
  290 + elemField.setFieldName("idProcedimento");
  291 + elemField.setXmlName(new javax.xml.namespace.QName("", "IdProcedimento"));
  292 + elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
  293 + elemField.setNillable(false);
  294 + typeDesc.addFieldDesc(elemField);
  295 + elemField = new org.apache.axis.description.ElementDesc();
  296 + elemField.setFieldName("procedimentoFormatado");
  297 + elemField.setXmlName(new javax.xml.namespace.QName("", "ProcedimentoFormatado"));
  298 + elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
  299 + elemField.setNillable(false);
  300 + typeDesc.addFieldDesc(elemField);
  301 + elemField = new org.apache.axis.description.ElementDesc();
  302 + elemField.setFieldName("idDocumento");
  303 + elemField.setXmlName(new javax.xml.namespace.QName("", "IdDocumento"));
  304 + elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
  305 + elemField.setNillable(false);
  306 + typeDesc.addFieldDesc(elemField);
  307 + elemField = new org.apache.axis.description.ElementDesc();
  308 + elemField.setFieldName("documentoFormatado");
  309 + elemField.setXmlName(new javax.xml.namespace.QName("", "DocumentoFormatado"));
  310 + elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
  311 + elemField.setNillable(false);
  312 + typeDesc.addFieldDesc(elemField);
  313 + elemField = new org.apache.axis.description.ElementDesc();
  314 + elemField.setFieldName("linkAcesso");
  315 + elemField.setXmlName(new javax.xml.namespace.QName("", "LinkAcesso"));
  316 + elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
  317 + elemField.setNillable(false);
  318 + typeDesc.addFieldDesc(elemField);
  319 + elemField = new org.apache.axis.description.ElementDesc();
  320 + elemField.setFieldName("serie");
  321 + elemField.setXmlName(new javax.xml.namespace.QName("", "Serie"));
  322 + elemField.setXmlType(new javax.xml.namespace.QName("Sei", "Serie"));
  323 + elemField.setNillable(false);
  324 + typeDesc.addFieldDesc(elemField);
  325 + elemField = new org.apache.axis.description.ElementDesc();
  326 + elemField.setFieldName("numero");
  327 + elemField.setXmlName(new javax.xml.namespace.QName("", "Numero"));
  328 + elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
  329 + elemField.setNillable(false);
  330 + typeDesc.addFieldDesc(elemField);
  331 + elemField = new org.apache.axis.description.ElementDesc();
  332 + elemField.setFieldName("data");
  333 + elemField.setXmlName(new javax.xml.namespace.QName("", "Data"));
  334 + elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
  335 + elemField.setNillable(false);
  336 + typeDesc.addFieldDesc(elemField);
  337 + elemField = new org.apache.axis.description.ElementDesc();
  338 + elemField.setFieldName("unidadeElaboradora");
  339 + elemField.setXmlName(new javax.xml.namespace.QName("", "UnidadeElaboradora"));
  340 + elemField.setXmlType(new javax.xml.namespace.QName("Sei", "Unidade"));
  341 + elemField.setNillable(false);
  342 + typeDesc.addFieldDesc(elemField);
  343 + elemField = new org.apache.axis.description.ElementDesc();
  344 + elemField.setFieldName("andamentoGeracao");
  345 + elemField.setXmlName(new javax.xml.namespace.QName("", "AndamentoGeracao"));
  346 + elemField.setXmlType(new javax.xml.namespace.QName("Sei", "Andamento"));
  347 + elemField.setNillable(false);
  348 + typeDesc.addFieldDesc(elemField);
  349 + elemField = new org.apache.axis.description.ElementDesc();
  350 + elemField.setFieldName("assinaturas");
  351 + elemField.setXmlName(new javax.xml.namespace.QName("", "Assinaturas"));
  352 + elemField.setXmlType(new javax.xml.namespace.QName("Sei", "Assinatura"));
  353 + elemField.setNillable(false);
  354 + typeDesc.addFieldDesc(elemField);
  355 + elemField = new org.apache.axis.description.ElementDesc();
  356 + elemField.setFieldName("publicacao");
  357 + elemField.setXmlName(new javax.xml.namespace.QName("", "Publicacao"));
  358 + elemField.setXmlType(new javax.xml.namespace.QName("Sei", "Publicacao"));
  359 + elemField.setNillable(false);
  360 + typeDesc.addFieldDesc(elemField);
  361 + elemField = new org.apache.axis.description.ElementDesc();
  362 + elemField.setFieldName("campos");
  363 + elemField.setXmlName(new javax.xml.namespace.QName("", "Campos"));
  364 + elemField.setXmlType(new javax.xml.namespace.QName("Sei", "Campo"));
  365 + elemField.setNillable(false);
  366 + typeDesc.addFieldDesc(elemField);
  367 + }
  368 +
  369 + public static org.apache.axis.description.TypeDesc getTypeDesc() {
  370 + return typeDesc;
  371 + }
  372 +
  373 + public static org.apache.axis.encoding.Serializer getSerializer(java.lang.String mechType,
  374 + java.lang.Class _javaType, javax.xml.namespace.QName _xmlType) {
  375 + return new org.apache.axis.encoding.ser.BeanSerializer(_javaType, _xmlType, typeDesc);
  376 + }
  377 +
  378 + public static org.apache.axis.encoding.Deserializer getDeserializer(java.lang.String mechType,
  379 + java.lang.Class _javaType, javax.xml.namespace.QName _xmlType) {
  380 + return new org.apache.axis.encoding.ser.BeanDeserializer(_javaType, _xmlType, typeDesc);
  381 + }
574 382
575 } 383 }
src/main/java/br/gov/ans/integracao/sei/client/RetornoConsultaProcedimento.java
@@ -15,665 +15,443 @@ import org.codehaus.jackson.map.annotate.JsonSerialize; @@ -15,665 +15,443 @@ import org.codehaus.jackson.map.annotate.JsonSerialize;
15 @JsonSerialize(include = JsonSerialize.Inclusion.NON_NULL) 15 @JsonSerialize(include = JsonSerialize.Inclusion.NON_NULL)
16 @JsonIgnoreProperties(ignoreUnknown = true) 16 @JsonIgnoreProperties(ignoreUnknown = true)
17 @XmlRootElement 17 @XmlRootElement
18 -public class RetornoConsultaProcedimento implements java.io.Serializable {  
19 - private java.lang.String idProcedimento;  
20 -  
21 - private java.lang.String procedimentoFormatado;  
22 -  
23 - private java.lang.String especificacao;  
24 -  
25 - private java.lang.String dataAutuacao;  
26 -  
27 - private java.lang.String linkAcesso;  
28 -  
29 - private br.gov.ans.integracao.sei.client.TipoProcedimento tipoProcedimento;  
30 -  
31 - private br.gov.ans.integracao.sei.client.Andamento andamentoGeracao;  
32 -  
33 - private br.gov.ans.integracao.sei.client.Andamento andamentoConclusao;  
34 -  
35 - private br.gov.ans.integracao.sei.client.Andamento ultimoAndamento;  
36 -  
37 - private br.gov.ans.integracao.sei.client.UnidadeProcedimentoAberto[] unidadesProcedimentoAberto;  
38 -  
39 - private br.gov.ans.integracao.sei.client.Assunto[] assuntos;  
40 -  
41 - private br.gov.ans.integracao.sei.client.Interessado[] interessados;  
42 -  
43 - private br.gov.ans.integracao.sei.client.Observacao[] observacoes;  
44 -  
45 - private br.gov.ans.integracao.sei.client.ProcedimentoResumido[] procedimentosRelacionados;  
46 -  
47 - private br.gov.ans.integracao.sei.client.ProcedimentoResumido[] procedimentosAnexados;  
48 -  
49 - public RetornoConsultaProcedimento() {  
50 - }  
51 -  
52 - public RetornoConsultaProcedimento(  
53 - java.lang.String idProcedimento,  
54 - java.lang.String procedimentoFormatado,  
55 - java.lang.String especificacao,  
56 - java.lang.String dataAutuacao,  
57 - java.lang.String linkAcesso,  
58 - br.gov.ans.integracao.sei.client.TipoProcedimento tipoProcedimento,  
59 - br.gov.ans.integracao.sei.client.Andamento andamentoGeracao,  
60 - br.gov.ans.integracao.sei.client.Andamento andamentoConclusao,  
61 - br.gov.ans.integracao.sei.client.Andamento ultimoAndamento,  
62 - br.gov.ans.integracao.sei.client.UnidadeProcedimentoAberto[] unidadesProcedimentoAberto,  
63 - br.gov.ans.integracao.sei.client.Assunto[] assuntos,  
64 - br.gov.ans.integracao.sei.client.Interessado[] interessados,  
65 - br.gov.ans.integracao.sei.client.Observacao[] observacoes,  
66 - br.gov.ans.integracao.sei.client.ProcedimentoResumido[] procedimentosRelacionados,  
67 - br.gov.ans.integracao.sei.client.ProcedimentoResumido[] procedimentosAnexados) {  
68 - this.idProcedimento = idProcedimento;  
69 - this.procedimentoFormatado = procedimentoFormatado;  
70 - this.especificacao = especificacao;  
71 - this.dataAutuacao = dataAutuacao;  
72 - this.linkAcesso = linkAcesso;  
73 - this.tipoProcedimento = tipoProcedimento;  
74 - this.andamentoGeracao = andamentoGeracao;  
75 - this.andamentoConclusao = andamentoConclusao;  
76 - this.ultimoAndamento = ultimoAndamento;  
77 - this.unidadesProcedimentoAberto = unidadesProcedimentoAberto;  
78 - this.assuntos = assuntos;  
79 - this.interessados = interessados;  
80 - this.observacoes = observacoes;  
81 - this.procedimentosRelacionados = procedimentosRelacionados;  
82 - this.procedimentosAnexados = procedimentosAnexados;  
83 - }  
84 -  
85 -  
86 - /**  
87 - * Gets the idProcedimento value for this RetornoConsultaProcedimento.  
88 - *  
89 - * @return idProcedimento  
90 - */  
91 - public java.lang.String getIdProcedimento() {  
92 - return idProcedimento;  
93 - }  
94 -  
95 -  
96 - /**  
97 - * Sets the idProcedimento value for this RetornoConsultaProcedimento.  
98 - *  
99 - * @param idProcedimento  
100 - */  
101 - public void setIdProcedimento(java.lang.String idProcedimento) {  
102 - this.idProcedimento = idProcedimento;  
103 - }  
104 -  
105 -  
106 - /**  
107 - * Gets the procedimentoFormatado value for this RetornoConsultaProcedimento.  
108 - *  
109 - * @return procedimentoFormatado  
110 - */  
111 - public java.lang.String getProcedimentoFormatado() {  
112 - return procedimentoFormatado;  
113 - }  
114 -  
115 -  
116 - /**  
117 - * Sets the procedimentoFormatado value for this RetornoConsultaProcedimento.  
118 - *  
119 - * @param procedimentoFormatado  
120 - */  
121 - public void setProcedimentoFormatado(java.lang.String procedimentoFormatado) {  
122 - this.procedimentoFormatado = procedimentoFormatado;  
123 - }  
124 -  
125 -  
126 - /**  
127 - * Gets the especificacao value for this RetornoConsultaProcedimento.  
128 - *  
129 - * @return especificacao  
130 - */  
131 - public java.lang.String getEspecificacao() {  
132 - return especificacao;  
133 - }  
134 -  
135 -  
136 - /**  
137 - * Sets the especificacao value for this RetornoConsultaProcedimento.  
138 - *  
139 - * @param especificacao  
140 - */  
141 - public void setEspecificacao(java.lang.String especificacao) {  
142 - this.especificacao = especificacao;  
143 - }  
144 -  
145 -  
146 - /**  
147 - * Gets the dataAutuacao value for this RetornoConsultaProcedimento.  
148 - *  
149 - * @return dataAutuacao  
150 - */  
151 - public java.lang.String getDataAutuacao() {  
152 - return dataAutuacao;  
153 - }  
154 -  
155 -  
156 - /**  
157 - * Sets the dataAutuacao value for this RetornoConsultaProcedimento.  
158 - *  
159 - * @param dataAutuacao  
160 - */  
161 - public void setDataAutuacao(java.lang.String dataAutuacao) {  
162 - this.dataAutuacao = dataAutuacao;  
163 - }  
164 -  
165 -  
166 - /**  
167 - * Gets the linkAcesso value for this RetornoConsultaProcedimento.  
168 - *  
169 - * @return linkAcesso  
170 - */  
171 - public java.lang.String getLinkAcesso() {  
172 - return linkAcesso;  
173 - }  
174 -  
175 -  
176 - /**  
177 - * Sets the linkAcesso value for this RetornoConsultaProcedimento.  
178 - *  
179 - * @param linkAcesso  
180 - */  
181 - public void setLinkAcesso(java.lang.String linkAcesso) {  
182 - this.linkAcesso = linkAcesso;  
183 - }  
184 -  
185 -  
186 - /**  
187 - * Gets the tipoProcedimento value for this RetornoConsultaProcedimento.  
188 - *  
189 - * @return tipoProcedimento  
190 - */  
191 - public br.gov.ans.integracao.sei.client.TipoProcedimento getTipoProcedimento() {  
192 - return tipoProcedimento;  
193 - }  
194 -  
195 -  
196 - /**  
197 - * Sets the tipoProcedimento value for this RetornoConsultaProcedimento.  
198 - *  
199 - * @param tipoProcedimento  
200 - */  
201 - public void setTipoProcedimento(br.gov.ans.integracao.sei.client.TipoProcedimento tipoProcedimento) {  
202 - this.tipoProcedimento = tipoProcedimento;  
203 - }  
204 -  
205 -  
206 - /**  
207 - * Gets the andamentoGeracao value for this RetornoConsultaProcedimento.  
208 - *  
209 - * @return andamentoGeracao  
210 - */  
211 - public br.gov.ans.integracao.sei.client.Andamento getAndamentoGeracao() {  
212 - return andamentoGeracao;  
213 - }  
214 -  
215 -  
216 - /**  
217 - * Sets the andamentoGeracao value for this RetornoConsultaProcedimento.  
218 - *  
219 - * @param andamentoGeracao  
220 - */  
221 - public void setAndamentoGeracao(br.gov.ans.integracao.sei.client.Andamento andamentoGeracao) {  
222 - this.andamentoGeracao = andamentoGeracao;  
223 - }  
224 -  
225 -  
226 - /**  
227 - * Gets the andamentoConclusao value for this RetornoConsultaProcedimento.  
228 - *  
229 - * @return andamentoConclusao  
230 - */  
231 - public br.gov.ans.integracao.sei.client.Andamento getAndamentoConclusao() {  
232 - return andamentoConclusao;  
233 - }  
234 -  
235 -  
236 - /**  
237 - * Sets the andamentoConclusao value for this RetornoConsultaProcedimento.  
238 - *  
239 - * @param andamentoConclusao  
240 - */  
241 - public void setAndamentoConclusao(br.gov.ans.integracao.sei.client.Andamento andamentoConclusao) {  
242 - this.andamentoConclusao = andamentoConclusao;  
243 - }  
244 -  
245 -  
246 - /**  
247 - * Gets the ultimoAndamento value for this RetornoConsultaProcedimento.  
248 - *  
249 - * @return ultimoAndamento  
250 - */  
251 - public br.gov.ans.integracao.sei.client.Andamento getUltimoAndamento() {  
252 - return ultimoAndamento;  
253 - }  
254 -  
255 -  
256 - /**  
257 - * Sets the ultimoAndamento value for this RetornoConsultaProcedimento.  
258 - *  
259 - * @param ultimoAndamento  
260 - */  
261 - public void setUltimoAndamento(br.gov.ans.integracao.sei.client.Andamento ultimoAndamento) {  
262 - this.ultimoAndamento = ultimoAndamento;  
263 - }  
264 -  
265 -  
266 - /**  
267 - * Gets the unidadesProcedimentoAberto value for this RetornoConsultaProcedimento.  
268 - *  
269 - * @return unidadesProcedimentoAberto  
270 - */  
271 - public br.gov.ans.integracao.sei.client.UnidadeProcedimentoAberto[] getUnidadesProcedimentoAberto() {  
272 - return unidadesProcedimentoAberto;  
273 - }  
274 -  
275 -  
276 - /**  
277 - * Sets the unidadesProcedimentoAberto value for this RetornoConsultaProcedimento.  
278 - *  
279 - * @param unidadesProcedimentoAberto  
280 - */  
281 - public void setUnidadesProcedimentoAberto(br.gov.ans.integracao.sei.client.UnidadeProcedimentoAberto[] unidadesProcedimentoAberto) {  
282 - this.unidadesProcedimentoAberto = unidadesProcedimentoAberto;  
283 - }  
284 -  
285 -  
286 - /**  
287 - * Gets the assuntos value for this RetornoConsultaProcedimento.  
288 - *  
289 - * @return assuntos  
290 - */  
291 - public br.gov.ans.integracao.sei.client.Assunto[] getAssuntos() {  
292 - return assuntos;  
293 - }  
294 -  
295 -  
296 - /**  
297 - * Sets the assuntos value for this RetornoConsultaProcedimento.  
298 - *  
299 - * @param assuntos  
300 - */  
301 - public void setAssuntos(br.gov.ans.integracao.sei.client.Assunto[] assuntos) {  
302 - this.assuntos = assuntos;  
303 - }  
304 -  
305 -  
306 - /**  
307 - * Gets the interessados value for this RetornoConsultaProcedimento.  
308 - *  
309 - * @return interessados  
310 - */  
311 - public br.gov.ans.integracao.sei.client.Interessado[] getInteressados() {  
312 - return interessados;  
313 - }  
314 -  
315 -  
316 - /**  
317 - * Sets the interessados value for this RetornoConsultaProcedimento.  
318 - *  
319 - * @param interessados  
320 - */  
321 - public void setInteressados(br.gov.ans.integracao.sei.client.Interessado[] interessados) {  
322 - this.interessados = interessados;  
323 - }  
324 -  
325 -  
326 - /**  
327 - * Gets the observacoes value for this RetornoConsultaProcedimento.  
328 - *  
329 - * @return observacoes  
330 - */  
331 - public br.gov.ans.integracao.sei.client.Observacao[] getObservacoes() {  
332 - return observacoes;  
333 - }  
334 -  
335 -  
336 - /**  
337 - * Sets the observacoes value for this RetornoConsultaProcedimento.  
338 - *  
339 - * @param observacoes  
340 - */  
341 - public void setObservacoes(br.gov.ans.integracao.sei.client.Observacao[] observacoes) {  
342 - this.observacoes = observacoes;  
343 - }  
344 -  
345 -  
346 - /**  
347 - * Gets the procedimentosRelacionados value for this RetornoConsultaProcedimento.  
348 - *  
349 - * @return procedimentosRelacionados  
350 - */  
351 - public br.gov.ans.integracao.sei.client.ProcedimentoResumido[] getProcedimentosRelacionados() {  
352 - return procedimentosRelacionados;  
353 - }  
354 -  
355 -  
356 - /**  
357 - * Sets the procedimentosRelacionados value for this RetornoConsultaProcedimento.  
358 - *  
359 - * @param procedimentosRelacionados  
360 - */  
361 - public void setProcedimentosRelacionados(br.gov.ans.integracao.sei.client.ProcedimentoResumido[] procedimentosRelacionados) {  
362 - this.procedimentosRelacionados = procedimentosRelacionados;  
363 - }  
364 -  
365 -  
366 - /**  
367 - * Gets the procedimentosAnexados value for this RetornoConsultaProcedimento.  
368 - *  
369 - * @return procedimentosAnexados  
370 - */  
371 - public br.gov.ans.integracao.sei.client.ProcedimentoResumido[] getProcedimentosAnexados() {  
372 - return procedimentosAnexados;  
373 - }  
374 -  
375 -  
376 - /**  
377 - * Sets the procedimentosAnexados value for this RetornoConsultaProcedimento.  
378 - *  
379 - * @param procedimentosAnexados  
380 - */  
381 - public void setProcedimentosAnexados(br.gov.ans.integracao.sei.client.ProcedimentoResumido[] procedimentosAnexados) {  
382 - this.procedimentosAnexados = procedimentosAnexados;  
383 - }  
384 -  
385 - private java.lang.Object __equalsCalc = null;  
386 - public boolean equals(java.lang.Object obj) {  
387 - if (!(obj instanceof RetornoConsultaProcedimento)) return false;  
388 - RetornoConsultaProcedimento other = (RetornoConsultaProcedimento) obj;  
389 - if (obj == null) return false;  
390 - if (this == obj) return true;  
391 - if (__equalsCalc != null) {  
392 - return (__equalsCalc == obj);  
393 - }  
394 - __equalsCalc = obj;  
395 - boolean _equals;  
396 - _equals = true &&  
397 - ((this.idProcedimento==null && other.getIdProcedimento()==null) ||  
398 - (this.idProcedimento!=null &&  
399 - this.idProcedimento.equals(other.getIdProcedimento()))) &&  
400 - ((this.procedimentoFormatado==null && other.getProcedimentoFormatado()==null) ||  
401 - (this.procedimentoFormatado!=null &&  
402 - this.procedimentoFormatado.equals(other.getProcedimentoFormatado()))) &&  
403 - ((this.especificacao==null && other.getEspecificacao()==null) ||  
404 - (this.especificacao!=null &&  
405 - this.especificacao.equals(other.getEspecificacao()))) &&  
406 - ((this.dataAutuacao==null && other.getDataAutuacao()==null) ||  
407 - (this.dataAutuacao!=null &&  
408 - this.dataAutuacao.equals(other.getDataAutuacao()))) &&  
409 - ((this.linkAcesso==null && other.getLinkAcesso()==null) ||  
410 - (this.linkAcesso!=null &&  
411 - this.linkAcesso.equals(other.getLinkAcesso()))) &&  
412 - ((this.tipoProcedimento==null && other.getTipoProcedimento()==null) ||  
413 - (this.tipoProcedimento!=null &&  
414 - this.tipoProcedimento.equals(other.getTipoProcedimento()))) &&  
415 - ((this.andamentoGeracao==null && other.getAndamentoGeracao()==null) ||  
416 - (this.andamentoGeracao!=null &&  
417 - this.andamentoGeracao.equals(other.getAndamentoGeracao()))) &&  
418 - ((this.andamentoConclusao==null && other.getAndamentoConclusao()==null) ||  
419 - (this.andamentoConclusao!=null &&  
420 - this.andamentoConclusao.equals(other.getAndamentoConclusao()))) &&  
421 - ((this.ultimoAndamento==null && other.getUltimoAndamento()==null) ||  
422 - (this.ultimoAndamento!=null &&  
423 - this.ultimoAndamento.equals(other.getUltimoAndamento()))) &&  
424 - ((this.unidadesProcedimentoAberto==null && other.getUnidadesProcedimentoAberto()==null) ||  
425 - (this.unidadesProcedimentoAberto!=null &&  
426 - java.util.Arrays.equals(this.unidadesProcedimentoAberto, other.getUnidadesProcedimentoAberto()))) &&  
427 - ((this.assuntos==null && other.getAssuntos()==null) ||  
428 - (this.assuntos!=null &&  
429 - java.util.Arrays.equals(this.assuntos, other.getAssuntos()))) &&  
430 - ((this.interessados==null && other.getInteressados()==null) ||  
431 - (this.interessados!=null &&  
432 - java.util.Arrays.equals(this.interessados, other.getInteressados()))) &&  
433 - ((this.observacoes==null && other.getObservacoes()==null) ||  
434 - (this.observacoes!=null &&  
435 - java.util.Arrays.equals(this.observacoes, other.getObservacoes()))) &&  
436 - ((this.procedimentosRelacionados==null && other.getProcedimentosRelacionados()==null) ||  
437 - (this.procedimentosRelacionados!=null &&  
438 - java.util.Arrays.equals(this.procedimentosRelacionados, other.getProcedimentosRelacionados()))) &&  
439 - ((this.procedimentosAnexados==null && other.getProcedimentosAnexados()==null) ||  
440 - (this.procedimentosAnexados!=null &&  
441 - java.util.Arrays.equals(this.procedimentosAnexados, other.getProcedimentosAnexados())));  
442 - __equalsCalc = null;  
443 - return _equals;  
444 - }  
445 -  
446 - private boolean __hashCodeCalc = false;  
447 - public int hashCode() {  
448 - if (__hashCodeCalc) {  
449 - return 0;  
450 - }  
451 - __hashCodeCalc = true;  
452 - int _hashCode = 1;  
453 - if (getIdProcedimento() != null) {  
454 - _hashCode += getIdProcedimento().hashCode();  
455 - }  
456 - if (getProcedimentoFormatado() != null) {  
457 - _hashCode += getProcedimentoFormatado().hashCode();  
458 - }  
459 - if (getEspecificacao() != null) {  
460 - _hashCode += getEspecificacao().hashCode();  
461 - }  
462 - if (getDataAutuacao() != null) {  
463 - _hashCode += getDataAutuacao().hashCode();  
464 - }  
465 - if (getLinkAcesso() != null) {  
466 - _hashCode += getLinkAcesso().hashCode();  
467 - }  
468 - if (getTipoProcedimento() != null) {  
469 - _hashCode += getTipoProcedimento().hashCode();  
470 - }  
471 - if (getAndamentoGeracao() != null) {  
472 - _hashCode += getAndamentoGeracao().hashCode();  
473 - }  
474 - if (getAndamentoConclusao() != null) {  
475 - _hashCode += getAndamentoConclusao().hashCode();  
476 - }  
477 - if (getUltimoAndamento() != null) {  
478 - _hashCode += getUltimoAndamento().hashCode();  
479 - }  
480 - if (getUnidadesProcedimentoAberto() != null) {  
481 - for (int i=0;  
482 - i<java.lang.reflect.Array.getLength(getUnidadesProcedimentoAberto());  
483 - i++) {  
484 - java.lang.Object obj = java.lang.reflect.Array.get(getUnidadesProcedimentoAberto(), i);  
485 - if (obj != null &&  
486 - !obj.getClass().isArray()) {  
487 - _hashCode += obj.hashCode();  
488 - }  
489 - }  
490 - }  
491 - if (getAssuntos() != null) {  
492 - for (int i=0;  
493 - i<java.lang.reflect.Array.getLength(getAssuntos());  
494 - i++) {  
495 - java.lang.Object obj = java.lang.reflect.Array.get(getAssuntos(), i);  
496 - if (obj != null &&  
497 - !obj.getClass().isArray()) {  
498 - _hashCode += obj.hashCode();  
499 - }  
500 - }  
501 - }  
502 - if (getInteressados() != null) {  
503 - for (int i=0;  
504 - i<java.lang.reflect.Array.getLength(getInteressados());  
505 - i++) {  
506 - java.lang.Object obj = java.lang.reflect.Array.get(getInteressados(), i);  
507 - if (obj != null &&  
508 - !obj.getClass().isArray()) {  
509 - _hashCode += obj.hashCode();  
510 - }  
511 - }  
512 - }  
513 - if (getObservacoes() != null) {  
514 - for (int i=0;  
515 - i<java.lang.reflect.Array.getLength(getObservacoes());  
516 - i++) {  
517 - java.lang.Object obj = java.lang.reflect.Array.get(getObservacoes(), i);  
518 - if (obj != null &&  
519 - !obj.getClass().isArray()) {  
520 - _hashCode += obj.hashCode();  
521 - }  
522 - }  
523 - }  
524 - if (getProcedimentosRelacionados() != null) {  
525 - for (int i=0;  
526 - i<java.lang.reflect.Array.getLength(getProcedimentosRelacionados());  
527 - i++) {  
528 - java.lang.Object obj = java.lang.reflect.Array.get(getProcedimentosRelacionados(), i);  
529 - if (obj != null &&  
530 - !obj.getClass().isArray()) {  
531 - _hashCode += obj.hashCode();  
532 - }  
533 - }  
534 - }  
535 - if (getProcedimentosAnexados() != null) {  
536 - for (int i=0;  
537 - i<java.lang.reflect.Array.getLength(getProcedimentosAnexados());  
538 - i++) {  
539 - java.lang.Object obj = java.lang.reflect.Array.get(getProcedimentosAnexados(), i);  
540 - if (obj != null &&  
541 - !obj.getClass().isArray()) {  
542 - _hashCode += obj.hashCode();  
543 - }  
544 - }  
545 - }  
546 - __hashCodeCalc = false;  
547 - return _hashCode;  
548 - }  
549 -  
550 - // Type metadata  
551 - private static org.apache.axis.description.TypeDesc typeDesc =  
552 - new org.apache.axis.description.TypeDesc(RetornoConsultaProcedimento.class, true);  
553 -  
554 - static {  
555 - typeDesc.setXmlType(new javax.xml.namespace.QName("Sei", "RetornoConsultaProcedimento"));  
556 - org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();  
557 - elemField.setFieldName("idProcedimento");  
558 - elemField.setXmlName(new javax.xml.namespace.QName("", "IdProcedimento"));  
559 - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));  
560 - elemField.setNillable(false);  
561 - typeDesc.addFieldDesc(elemField);  
562 - elemField = new org.apache.axis.description.ElementDesc();  
563 - elemField.setFieldName("procedimentoFormatado");  
564 - elemField.setXmlName(new javax.xml.namespace.QName("", "ProcedimentoFormatado"));  
565 - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));  
566 - elemField.setNillable(false);  
567 - typeDesc.addFieldDesc(elemField);  
568 - elemField = new org.apache.axis.description.ElementDesc();  
569 - elemField.setFieldName("especificacao");  
570 - elemField.setXmlName(new javax.xml.namespace.QName("", "Especificacao"));  
571 - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));  
572 - elemField.setNillable(false);  
573 - typeDesc.addFieldDesc(elemField);  
574 - elemField = new org.apache.axis.description.ElementDesc();  
575 - elemField.setFieldName("dataAutuacao");  
576 - elemField.setXmlName(new javax.xml.namespace.QName("", "DataAutuacao"));  
577 - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));  
578 - elemField.setNillable(false);  
579 - typeDesc.addFieldDesc(elemField);  
580 - elemField = new org.apache.axis.description.ElementDesc();  
581 - elemField.setFieldName("linkAcesso");  
582 - elemField.setXmlName(new javax.xml.namespace.QName("", "LinkAcesso"));  
583 - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));  
584 - elemField.setNillable(false);  
585 - typeDesc.addFieldDesc(elemField);  
586 - elemField = new org.apache.axis.description.ElementDesc();  
587 - elemField.setFieldName("tipoProcedimento");  
588 - elemField.setXmlName(new javax.xml.namespace.QName("", "TipoProcedimento"));  
589 - elemField.setXmlType(new javax.xml.namespace.QName("Sei", "TipoProcedimento"));  
590 - elemField.setNillable(false);  
591 - typeDesc.addFieldDesc(elemField);  
592 - elemField = new org.apache.axis.description.ElementDesc();  
593 - elemField.setFieldName("andamentoGeracao");  
594 - elemField.setXmlName(new javax.xml.namespace.QName("", "AndamentoGeracao"));  
595 - elemField.setXmlType(new javax.xml.namespace.QName("Sei", "Andamento"));  
596 - elemField.setNillable(false);  
597 - typeDesc.addFieldDesc(elemField);  
598 - elemField = new org.apache.axis.description.ElementDesc();  
599 - elemField.setFieldName("andamentoConclusao");  
600 - elemField.setXmlName(new javax.xml.namespace.QName("", "AndamentoConclusao"));  
601 - elemField.setXmlType(new javax.xml.namespace.QName("Sei", "Andamento"));  
602 - elemField.setNillable(false);  
603 - typeDesc.addFieldDesc(elemField);  
604 - elemField = new org.apache.axis.description.ElementDesc();  
605 - elemField.setFieldName("ultimoAndamento");  
606 - elemField.setXmlName(new javax.xml.namespace.QName("", "UltimoAndamento"));  
607 - elemField.setXmlType(new javax.xml.namespace.QName("Sei", "Andamento"));  
608 - elemField.setNillable(false);  
609 - typeDesc.addFieldDesc(elemField);  
610 - elemField = new org.apache.axis.description.ElementDesc();  
611 - elemField.setFieldName("unidadesProcedimentoAberto");  
612 - elemField.setXmlName(new javax.xml.namespace.QName("", "UnidadesProcedimentoAberto"));  
613 - elemField.setXmlType(new javax.xml.namespace.QName("Sei", "UnidadeProcedimentoAberto"));  
614 - elemField.setNillable(false);  
615 - typeDesc.addFieldDesc(elemField);  
616 - elemField = new org.apache.axis.description.ElementDesc();  
617 - elemField.setFieldName("assuntos");  
618 - elemField.setXmlName(new javax.xml.namespace.QName("", "Assuntos"));  
619 - elemField.setXmlType(new javax.xml.namespace.QName("Sei", "Assunto"));  
620 - elemField.setNillable(false);  
621 - typeDesc.addFieldDesc(elemField);  
622 - elemField = new org.apache.axis.description.ElementDesc();  
623 - elemField.setFieldName("interessados");  
624 - elemField.setXmlName(new javax.xml.namespace.QName("", "Interessados"));  
625 - elemField.setXmlType(new javax.xml.namespace.QName("Sei", "Interessado"));  
626 - elemField.setNillable(false);  
627 - typeDesc.addFieldDesc(elemField);  
628 - elemField = new org.apache.axis.description.ElementDesc();  
629 - elemField.setFieldName("observacoes");  
630 - elemField.setXmlName(new javax.xml.namespace.QName("", "Observacoes"));  
631 - elemField.setXmlType(new javax.xml.namespace.QName("Sei", "Observacao"));  
632 - elemField.setNillable(false);  
633 - typeDesc.addFieldDesc(elemField);  
634 - elemField = new org.apache.axis.description.ElementDesc();  
635 - elemField.setFieldName("procedimentosRelacionados");  
636 - elemField.setXmlName(new javax.xml.namespace.QName("", "ProcedimentosRelacionados"));  
637 - elemField.setXmlType(new javax.xml.namespace.QName("Sei", "ProcedimentoResumido"));  
638 - elemField.setNillable(false);  
639 - typeDesc.addFieldDesc(elemField);  
640 - elemField = new org.apache.axis.description.ElementDesc();  
641 - elemField.setFieldName("procedimentosAnexados");  
642 - elemField.setXmlName(new javax.xml.namespace.QName("", "ProcedimentosAnexados"));  
643 - elemField.setXmlType(new javax.xml.namespace.QName("Sei", "ProcedimentoResumido"));  
644 - elemField.setNillable(false);  
645 - typeDesc.addFieldDesc(elemField);  
646 - }  
647 -  
648 - /**  
649 - * Return type metadata object  
650 - */  
651 - public static org.apache.axis.description.TypeDesc getTypeDesc() {  
652 - return typeDesc;  
653 - }  
654 -  
655 - /**  
656 - * Get Custom Serializer  
657 - */  
658 - public static org.apache.axis.encoding.Serializer getSerializer(  
659 - java.lang.String mechType,  
660 - java.lang.Class _javaType,  
661 - javax.xml.namespace.QName _xmlType) {  
662 - return  
663 - new org.apache.axis.encoding.ser.BeanSerializer(  
664 - _javaType, _xmlType, typeDesc);  
665 - }  
666 -  
667 - /**  
668 - * Get Custom Deserializer  
669 - */  
670 - public static org.apache.axis.encoding.Deserializer getDeserializer(  
671 - java.lang.String mechType,  
672 - java.lang.Class _javaType,  
673 - javax.xml.namespace.QName _xmlType) {  
674 - return  
675 - new org.apache.axis.encoding.ser.BeanDeserializer(  
676 - _javaType, _xmlType, typeDesc);  
677 - } 18 +public class RetornoConsultaProcedimento implements java.io.Serializable {
  19 + private java.lang.String idProcedimento;
  20 +
  21 + private java.lang.String procedimentoFormatado;
  22 +
  23 + private java.lang.String especificacao;
  24 +
  25 + private java.lang.String dataAutuacao;
  26 +
  27 + private java.lang.String linkAcesso;
  28 +
  29 + private br.gov.ans.integracao.sei.client.TipoProcedimento tipoProcedimento;
  30 +
  31 + private br.gov.ans.integracao.sei.client.Andamento andamentoGeracao;
  32 +
  33 + private br.gov.ans.integracao.sei.client.Andamento andamentoConclusao;
  34 +
  35 + private br.gov.ans.integracao.sei.client.Andamento ultimoAndamento;
  36 +
  37 + private br.gov.ans.integracao.sei.client.UnidadeProcedimentoAberto[] unidadesProcedimentoAberto;
  38 +
  39 + private br.gov.ans.integracao.sei.client.Assunto[] assuntos;
  40 +
  41 + private br.gov.ans.integracao.sei.client.Interessado[] interessados;
  42 +
  43 + private br.gov.ans.integracao.sei.client.Observacao[] observacoes;
  44 +
  45 + private br.gov.ans.integracao.sei.client.ProcedimentoResumido[] procedimentosRelacionados;
  46 +
  47 + private br.gov.ans.integracao.sei.client.ProcedimentoResumido[] procedimentosAnexados;
  48 +
  49 + public RetornoConsultaProcedimento() {
  50 + }
  51 +
  52 + public RetornoConsultaProcedimento(java.lang.String idProcedimento, java.lang.String procedimentoFormatado,
  53 + java.lang.String especificacao, java.lang.String dataAutuacao, java.lang.String linkAcesso,
  54 + br.gov.ans.integracao.sei.client.TipoProcedimento tipoProcedimento,
  55 + br.gov.ans.integracao.sei.client.Andamento andamentoGeracao,
  56 + br.gov.ans.integracao.sei.client.Andamento andamentoConclusao,
  57 + br.gov.ans.integracao.sei.client.Andamento ultimoAndamento,
  58 + br.gov.ans.integracao.sei.client.UnidadeProcedimentoAberto[] unidadesProcedimentoAberto,
  59 + br.gov.ans.integracao.sei.client.Assunto[] assuntos,
  60 + br.gov.ans.integracao.sei.client.Interessado[] interessados,
  61 + br.gov.ans.integracao.sei.client.Observacao[] observacoes,
  62 + br.gov.ans.integracao.sei.client.ProcedimentoResumido[] procedimentosRelacionados,
  63 + br.gov.ans.integracao.sei.client.ProcedimentoResumido[] procedimentosAnexados) {
  64 + this.idProcedimento = idProcedimento;
  65 + this.procedimentoFormatado = procedimentoFormatado;
  66 + this.especificacao = especificacao;
  67 + this.dataAutuacao = dataAutuacao;
  68 + this.linkAcesso = linkAcesso;
  69 + this.tipoProcedimento = tipoProcedimento;
  70 + this.andamentoGeracao = andamentoGeracao;
  71 + this.andamentoConclusao = andamentoConclusao;
  72 + this.ultimoAndamento = ultimoAndamento;
  73 + this.unidadesProcedimentoAberto = unidadesProcedimentoAberto;
  74 + this.assuntos = assuntos;
  75 + this.interessados = interessados;
  76 + this.observacoes = observacoes;
  77 + this.procedimentosRelacionados = procedimentosRelacionados;
  78 + this.procedimentosAnexados = procedimentosAnexados;
  79 + }
  80 +
  81 + public java.lang.String getIdProcedimento() {
  82 + return idProcedimento;
  83 + }
  84 +
  85 + public void setIdProcedimento(java.lang.String idProcedimento) {
  86 + this.idProcedimento = idProcedimento;
  87 + }
  88 +
  89 + public java.lang.String getProcedimentoFormatado() {
  90 + return procedimentoFormatado;
  91 + }
  92 +
  93 + public void setProcedimentoFormatado(java.lang.String procedimentoFormatado) {
  94 + this.procedimentoFormatado = procedimentoFormatado;
  95 + }
  96 +
  97 + public java.lang.String getEspecificacao() {
  98 + return especificacao;
  99 + }
  100 +
  101 + public void setEspecificacao(java.lang.String especificacao) {
  102 + this.especificacao = especificacao;
  103 + }
  104 +
  105 + public java.lang.String getDataAutuacao() {
  106 + return dataAutuacao;
  107 + }
  108 +
  109 + public void setDataAutuacao(java.lang.String dataAutuacao) {
  110 + this.dataAutuacao = dataAutuacao;
  111 + }
  112 +
  113 + public java.lang.String getLinkAcesso() {
  114 + return linkAcesso;
  115 + }
  116 +
  117 + public void setLinkAcesso(java.lang.String linkAcesso) {
  118 + this.linkAcesso = linkAcesso;
  119 + }
  120 +
  121 + public br.gov.ans.integracao.sei.client.TipoProcedimento getTipoProcedimento() {
  122 + return tipoProcedimento;
  123 + }
  124 +
  125 + public void setTipoProcedimento(br.gov.ans.integracao.sei.client.TipoProcedimento tipoProcedimento) {
  126 + this.tipoProcedimento = tipoProcedimento;
  127 + }
  128 +
  129 + public br.gov.ans.integracao.sei.client.Andamento getAndamentoGeracao() {
  130 + return andamentoGeracao;
  131 + }
  132 +
  133 + public void setAndamentoGeracao(br.gov.ans.integracao.sei.client.Andamento andamentoGeracao) {
  134 + this.andamentoGeracao = andamentoGeracao;
  135 + }
  136 +
  137 + public br.gov.ans.integracao.sei.client.Andamento getAndamentoConclusao() {
  138 + return andamentoConclusao;
  139 + }
  140 +
  141 + public void setAndamentoConclusao(br.gov.ans.integracao.sei.client.Andamento andamentoConclusao) {
  142 + this.andamentoConclusao = andamentoConclusao;
  143 + }
  144 +
  145 + public br.gov.ans.integracao.sei.client.Andamento getUltimoAndamento() {
  146 + return ultimoAndamento;
  147 + }
  148 +
  149 + public void setUltimoAndamento(br.gov.ans.integracao.sei.client.Andamento ultimoAndamento) {
  150 + this.ultimoAndamento = ultimoAndamento;
  151 + }
  152 +
  153 + public br.gov.ans.integracao.sei.client.UnidadeProcedimentoAberto[] getUnidadesProcedimentoAberto() {
  154 + return unidadesProcedimentoAberto;
  155 + }
  156 +
  157 + public void setUnidadesProcedimentoAberto(
  158 + br.gov.ans.integracao.sei.client.UnidadeProcedimentoAberto[] unidadesProcedimentoAberto) {
  159 + this.unidadesProcedimentoAberto = unidadesProcedimentoAberto;
  160 + }
  161 +
  162 + public br.gov.ans.integracao.sei.client.Assunto[] getAssuntos() {
  163 + return assuntos;
  164 + }
  165 +
  166 + public void setAssuntos(br.gov.ans.integracao.sei.client.Assunto[] assuntos) {
  167 + this.assuntos = assuntos;
  168 + }
  169 +
  170 + public br.gov.ans.integracao.sei.client.Interessado[] getInteressados() {
  171 + return interessados;
  172 + }
  173 +
  174 + public void setInteressados(br.gov.ans.integracao.sei.client.Interessado[] interessados) {
  175 + this.interessados = interessados;
  176 + }
  177 +
  178 + public br.gov.ans.integracao.sei.client.Observacao[] getObservacoes() {
  179 + return observacoes;
  180 + }
  181 +
  182 + public void setObservacoes(br.gov.ans.integracao.sei.client.Observacao[] observacoes) {
  183 + this.observacoes = observacoes;
  184 + }
  185 +
  186 + public br.gov.ans.integracao.sei.client.ProcedimentoResumido[] getProcedimentosRelacionados() {
  187 + return procedimentosRelacionados;
  188 + }
  189 +
  190 + public void setProcedimentosRelacionados(
  191 + br.gov.ans.integracao.sei.client.ProcedimentoResumido[] procedimentosRelacionados) {
  192 + this.procedimentosRelacionados = procedimentosRelacionados;
  193 + }
  194 +
  195 + public br.gov.ans.integracao.sei.client.ProcedimentoResumido[] getProcedimentosAnexados() {
  196 + return procedimentosAnexados;
  197 + }
  198 +
  199 + public void setProcedimentosAnexados(
  200 + br.gov.ans.integracao.sei.client.ProcedimentoResumido[] procedimentosAnexados) {
  201 + this.procedimentosAnexados = procedimentosAnexados;
  202 + }
  203 +
  204 + private java.lang.Object __equalsCalc = null;
  205 +
  206 + public boolean equals(java.lang.Object obj) {
  207 + if (!(obj instanceof RetornoConsultaProcedimento))
  208 + return false;
  209 + RetornoConsultaProcedimento other = (RetornoConsultaProcedimento) obj;
  210 + if (obj == null)
  211 + return false;
  212 + if (this == obj)
  213 + return true;
  214 + if (__equalsCalc != null) {
  215 + return (__equalsCalc == obj);
  216 + }
  217 + __equalsCalc = obj;
  218 + boolean _equals;
  219 + _equals = true
  220 + && ((this.idProcedimento == null && other.getIdProcedimento() == null)
  221 + || (this.idProcedimento != null && this.idProcedimento.equals(other.getIdProcedimento())))
  222 + && ((this.procedimentoFormatado == null && other.getProcedimentoFormatado() == null)
  223 + || (this.procedimentoFormatado != null
  224 + && this.procedimentoFormatado.equals(other.getProcedimentoFormatado())))
  225 + && ((this.especificacao == null && other.getEspecificacao() == null)
  226 + || (this.especificacao != null && this.especificacao.equals(other.getEspecificacao())))
  227 + && ((this.dataAutuacao == null && other.getDataAutuacao() == null)
  228 + || (this.dataAutuacao != null && this.dataAutuacao.equals(other.getDataAutuacao())))
  229 + && ((this.linkAcesso == null && other.getLinkAcesso() == null)
  230 + || (this.linkAcesso != null && this.linkAcesso.equals(other.getLinkAcesso())))
  231 + && ((this.tipoProcedimento == null && other.getTipoProcedimento() == null)
  232 + || (this.tipoProcedimento != null && this.tipoProcedimento.equals(other.getTipoProcedimento())))
  233 + && ((this.andamentoGeracao == null && other.getAndamentoGeracao() == null)
  234 + || (this.andamentoGeracao != null && this.andamentoGeracao.equals(other.getAndamentoGeracao())))
  235 + && ((this.andamentoConclusao == null && other.getAndamentoConclusao() == null)
  236 + || (this.andamentoConclusao != null
  237 + && this.andamentoConclusao.equals(other.getAndamentoConclusao())))
  238 + && ((this.ultimoAndamento == null && other.getUltimoAndamento() == null)
  239 + || (this.ultimoAndamento != null && this.ultimoAndamento.equals(other.getUltimoAndamento())))
  240 + && ((this.unidadesProcedimentoAberto == null && other.getUnidadesProcedimentoAberto() == null)
  241 + || (this.unidadesProcedimentoAberto != null && java.util.Arrays
  242 + .equals(this.unidadesProcedimentoAberto, other.getUnidadesProcedimentoAberto())))
  243 + && ((this.assuntos == null && other.getAssuntos() == null)
  244 + || (this.assuntos != null && java.util.Arrays.equals(this.assuntos, other.getAssuntos())))
  245 + && ((this.interessados == null && other.getInteressados() == null) || (this.interessados != null
  246 + && java.util.Arrays.equals(this.interessados, other.getInteressados())))
  247 + && ((this.observacoes == null && other.getObservacoes() == null) || (this.observacoes != null
  248 + && java.util.Arrays.equals(this.observacoes, other.getObservacoes())))
  249 + && ((this.procedimentosRelacionados == null && other.getProcedimentosRelacionados() == null)
  250 + || (this.procedimentosRelacionados != null && java.util.Arrays
  251 + .equals(this.procedimentosRelacionados, other.getProcedimentosRelacionados())))
  252 + && ((this.procedimentosAnexados == null && other.getProcedimentosAnexados() == null)
  253 + || (this.procedimentosAnexados != null && java.util.Arrays.equals(this.procedimentosAnexados,
  254 + other.getProcedimentosAnexados())));
  255 + __equalsCalc = null;
  256 + return _equals;
  257 + }
  258 +
  259 + private boolean __hashCodeCalc = false;
  260 +
  261 + public int hashCode() {
  262 + if (__hashCodeCalc) {
  263 + return 0;
  264 + }
  265 + __hashCodeCalc = true;
  266 + int _hashCode = 1;
  267 + if (getIdProcedimento() != null) {
  268 + _hashCode += getIdProcedimento().hashCode();
  269 + }
  270 + if (getProcedimentoFormatado() != null) {
  271 + _hashCode += getProcedimentoFormatado().hashCode();
  272 + }
  273 + if (getEspecificacao() != null) {
  274 + _hashCode += getEspecificacao().hashCode();
  275 + }
  276 + if (getDataAutuacao() != null) {
  277 + _hashCode += getDataAutuacao().hashCode();
  278 + }
  279 + if (getLinkAcesso() != null) {
  280 + _hashCode += getLinkAcesso().hashCode();
  281 + }
  282 + if (getTipoProcedimento() != null) {
  283 + _hashCode += getTipoProcedimento().hashCode();
  284 + }
  285 + if (getAndamentoGeracao() != null) {
  286 + _hashCode += getAndamentoGeracao().hashCode();
  287 + }
  288 + if (getAndamentoConclusao() != null) {
  289 + _hashCode += getAndamentoConclusao().hashCode();
  290 + }
  291 + if (getUltimoAndamento() != null) {
  292 + _hashCode += getUltimoAndamento().hashCode();
  293 + }
  294 + if (getUnidadesProcedimentoAberto() != null) {
  295 + for (int i = 0; i < java.lang.reflect.Array.getLength(getUnidadesProcedimentoAberto()); i++) {
  296 + java.lang.Object obj = java.lang.reflect.Array.get(getUnidadesProcedimentoAberto(), i);
  297 + if (obj != null && !obj.getClass().isArray()) {
  298 + _hashCode += obj.hashCode();
  299 + }
  300 + }
  301 + }
  302 + if (getAssuntos() != null) {
  303 + for (int i = 0; i < java.lang.reflect.Array.getLength(getAssuntos()); i++) {
  304 + java.lang.Object obj = java.lang.reflect.Array.get(getAssuntos(), i);
  305 + if (obj != null && !obj.getClass().isArray()) {
  306 + _hashCode += obj.hashCode();
  307 + }
  308 + }
  309 + }
  310 + if (getInteressados() != null) {
  311 + for (int i = 0; i < java.lang.reflect.Array.getLength(getInteressados()); i++) {
  312 + java.lang.Object obj = java.lang.reflect.Array.get(getInteressados(), i);
  313 + if (obj != null && !obj.getClass().isArray()) {
  314 + _hashCode += obj.hashCode();
  315 + }
  316 + }
  317 + }
  318 + if (getObservacoes() != null) {
  319 + for (int i = 0; i < java.lang.reflect.Array.getLength(getObservacoes()); i++) {
  320 + java.lang.Object obj = java.lang.reflect.Array.get(getObservacoes(), i);
  321 + if (obj != null && !obj.getClass().isArray()) {
  322 + _hashCode += obj.hashCode();
  323 + }
  324 + }
  325 + }
  326 + if (getProcedimentosRelacionados() != null) {
  327 + for (int i = 0; i < java.lang.reflect.Array.getLength(getProcedimentosRelacionados()); i++) {
  328 + java.lang.Object obj = java.lang.reflect.Array.get(getProcedimentosRelacionados(), i);
  329 + if (obj != null && !obj.getClass().isArray()) {
  330 + _hashCode += obj.hashCode();
  331 + }
  332 + }
  333 + }
  334 + if (getProcedimentosAnexados() != null) {
  335 + for (int i = 0; i < java.lang.reflect.Array.getLength(getProcedimentosAnexados()); i++) {
  336 + java.lang.Object obj = java.lang.reflect.Array.get(getProcedimentosAnexados(), i);
  337 + if (obj != null && !obj.getClass().isArray()) {
  338 + _hashCode += obj.hashCode();
  339 + }
  340 + }
  341 + }
  342 + __hashCodeCalc = false;
  343 + return _hashCode;
  344 + }
  345 +
  346 + private static org.apache.axis.description.TypeDesc typeDesc = new org.apache.axis.description.TypeDesc(
  347 + RetornoConsultaProcedimento.class, true);
  348 +
  349 + static {
  350 + typeDesc.setXmlType(new javax.xml.namespace.QName("Sei", "RetornoConsultaProcedimento"));
  351 + org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
  352 + elemField.setFieldName("idProcedimento");
  353 + elemField.setXmlName(new javax.xml.namespace.QName("", "IdProcedimento"));
  354 + elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
  355 + elemField.setNillable(false);
  356 + typeDesc.addFieldDesc(elemField);
  357 + elemField = new org.apache.axis.description.ElementDesc();
  358 + elemField.setFieldName("procedimentoFormatado");
  359 + elemField.setXmlName(new javax.xml.namespace.QName("", "ProcedimentoFormatado"));
  360 + elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
  361 + elemField.setNillable(false);
  362 + typeDesc.addFieldDesc(elemField);
  363 + elemField = new org.apache.axis.description.ElementDesc();
  364 + elemField.setFieldName("especificacao");
  365 + elemField.setXmlName(new javax.xml.namespace.QName("", "Especificacao"));
  366 + elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
  367 + elemField.setNillable(false);
  368 + typeDesc.addFieldDesc(elemField);
  369 + elemField = new org.apache.axis.description.ElementDesc();
  370 + elemField.setFieldName("dataAutuacao");
  371 + elemField.setXmlName(new javax.xml.namespace.QName("", "DataAutuacao"));
  372 + elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
  373 + elemField.setNillable(false);
  374 + typeDesc.addFieldDesc(elemField);
  375 + elemField = new org.apache.axis.description.ElementDesc();
  376 + elemField.setFieldName("linkAcesso");
  377 + elemField.setXmlName(new javax.xml.namespace.QName("", "LinkAcesso"));
  378 + elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
  379 + elemField.setNillable(false);
  380 + typeDesc.addFieldDesc(elemField);
  381 + elemField = new org.apache.axis.description.ElementDesc();
  382 + elemField.setFieldName("tipoProcedimento");
  383 + elemField.setXmlName(new javax.xml.namespace.QName("", "TipoProcedimento"));
  384 + elemField.setXmlType(new javax.xml.namespace.QName("Sei", "TipoProcedimento"));
  385 + elemField.setNillable(false);
  386 + typeDesc.addFieldDesc(elemField);
  387 + elemField = new org.apache.axis.description.ElementDesc();
  388 + elemField.setFieldName("andamentoGeracao");
  389 + elemField.setXmlName(new javax.xml.namespace.QName("", "AndamentoGeracao"));
  390 + elemField.setXmlType(new javax.xml.namespace.QName("Sei", "Andamento"));
  391 + elemField.setNillable(false);
  392 + typeDesc.addFieldDesc(elemField);
  393 + elemField = new org.apache.axis.description.ElementDesc();
  394 + elemField.setFieldName("andamentoConclusao");
  395 + elemField.setXmlName(new javax.xml.namespace.QName("", "AndamentoConclusao"));
  396 + elemField.setXmlType(new javax.xml.namespace.QName("Sei", "Andamento"));
  397 + elemField.setNillable(false);
  398 + typeDesc.addFieldDesc(elemField);
  399 + elemField = new org.apache.axis.description.ElementDesc();
  400 + elemField.setFieldName("ultimoAndamento");
  401 + elemField.setXmlName(new javax.xml.namespace.QName("", "UltimoAndamento"));
  402 + elemField.setXmlType(new javax.xml.namespace.QName("Sei", "Andamento"));
  403 + elemField.setNillable(false);
  404 + typeDesc.addFieldDesc(elemField);
  405 + elemField = new org.apache.axis.description.ElementDesc();
  406 + elemField.setFieldName("unidadesProcedimentoAberto");
  407 + elemField.setXmlName(new javax.xml.namespace.QName("", "UnidadesProcedimentoAberto"));
  408 + elemField.setXmlType(new javax.xml.namespace.QName("Sei", "UnidadeProcedimentoAberto"));
  409 + elemField.setNillable(false);
  410 + typeDesc.addFieldDesc(elemField);
  411 + elemField = new org.apache.axis.description.ElementDesc();
  412 + elemField.setFieldName("assuntos");
  413 + elemField.setXmlName(new javax.xml.namespace.QName("", "Assuntos"));
  414 + elemField.setXmlType(new javax.xml.namespace.QName("Sei", "Assunto"));
  415 + elemField.setNillable(false);
  416 + typeDesc.addFieldDesc(elemField);
  417 + elemField = new org.apache.axis.description.ElementDesc();
  418 + elemField.setFieldName("interessados");
  419 + elemField.setXmlName(new javax.xml.namespace.QName("", "Interessados"));
  420 + elemField.setXmlType(new javax.xml.namespace.QName("Sei", "Interessado"));
  421 + elemField.setNillable(false);
  422 + typeDesc.addFieldDesc(elemField);
  423 + elemField = new org.apache.axis.description.ElementDesc();
  424 + elemField.setFieldName("observacoes");
  425 + elemField.setXmlName(new javax.xml.namespace.QName("", "Observacoes"));
  426 + elemField.setXmlType(new javax.xml.namespace.QName("Sei", "Observacao"));
  427 + elemField.setNillable(false);
  428 + typeDesc.addFieldDesc(elemField);
  429 + elemField = new org.apache.axis.description.ElementDesc();
  430 + elemField.setFieldName("procedimentosRelacionados");
  431 + elemField.setXmlName(new javax.xml.namespace.QName("", "ProcedimentosRelacionados"));
  432 + elemField.setXmlType(new javax.xml.namespace.QName("Sei", "ProcedimentoResumido"));
  433 + elemField.setNillable(false);
  434 + typeDesc.addFieldDesc(elemField);
  435 + elemField = new org.apache.axis.description.ElementDesc();
  436 + elemField.setFieldName("procedimentosAnexados");
  437 + elemField.setXmlName(new javax.xml.namespace.QName("", "ProcedimentosAnexados"));
  438 + elemField.setXmlType(new javax.xml.namespace.QName("Sei", "ProcedimentoResumido"));
  439 + elemField.setNillable(false);
  440 + typeDesc.addFieldDesc(elemField);
  441 + }
  442 +
  443 + public static org.apache.axis.description.TypeDesc getTypeDesc() {
  444 + return typeDesc;
  445 + }
  446 +
  447 + public static org.apache.axis.encoding.Serializer getSerializer(java.lang.String mechType,
  448 + java.lang.Class _javaType, javax.xml.namespace.QName _xmlType) {
  449 + return new org.apache.axis.encoding.ser.BeanSerializer(_javaType, _xmlType, typeDesc);
  450 + }
  451 +
  452 + public static org.apache.axis.encoding.Deserializer getDeserializer(java.lang.String mechType,
  453 + java.lang.Class _javaType, javax.xml.namespace.QName _xmlType) {
  454 + return new org.apache.axis.encoding.ser.BeanDeserializer(_javaType, _xmlType, typeDesc);
  455 + }
678 456
679 } 457 }
src/main/java/br/gov/ans/integracao/sei/client/RetornoGeracaoProcedimento.java
@@ -15,229 +15,162 @@ import org.codehaus.jackson.map.annotate.JsonSerialize; @@ -15,229 +15,162 @@ import org.codehaus.jackson.map.annotate.JsonSerialize;
15 @JsonSerialize(include = JsonSerialize.Inclusion.NON_NULL) 15 @JsonSerialize(include = JsonSerialize.Inclusion.NON_NULL)
16 @JsonIgnoreProperties(ignoreUnknown = true) 16 @JsonIgnoreProperties(ignoreUnknown = true)
17 @XmlRootElement 17 @XmlRootElement
18 -public class RetornoGeracaoProcedimento implements java.io.Serializable {  
19 - private java.lang.String idProcedimento;  
20 -  
21 - private java.lang.String procedimentoFormatado;  
22 -  
23 - private java.lang.String linkAcesso;  
24 -  
25 - private br.gov.ans.integracao.sei.client.RetornoInclusaoDocumento[] retornoInclusaoDocumentos;  
26 -  
27 - public RetornoGeracaoProcedimento() {  
28 - }  
29 -  
30 - public RetornoGeracaoProcedimento(  
31 - java.lang.String idProcedimento,  
32 - java.lang.String procedimentoFormatado,  
33 - java.lang.String linkAcesso,  
34 - br.gov.ans.integracao.sei.client.RetornoInclusaoDocumento[] retornoInclusaoDocumentos) {  
35 - this.idProcedimento = idProcedimento;  
36 - this.procedimentoFormatado = procedimentoFormatado;  
37 - this.linkAcesso = linkAcesso;  
38 - this.retornoInclusaoDocumentos = retornoInclusaoDocumentos;  
39 - }  
40 -  
41 -  
42 - /**  
43 - * Gets the idProcedimento value for this RetornoGeracaoProcedimento.  
44 - *  
45 - * @return idProcedimento  
46 - */  
47 - public java.lang.String getIdProcedimento() {  
48 - return idProcedimento;  
49 - }  
50 -  
51 -  
52 - /**  
53 - * Sets the idProcedimento value for this RetornoGeracaoProcedimento.  
54 - *  
55 - * @param idProcedimento  
56 - */  
57 - public void setIdProcedimento(java.lang.String idProcedimento) {  
58 - this.idProcedimento = idProcedimento;  
59 - }  
60 -  
61 -  
62 - /**  
63 - * Gets the procedimentoFormatado value for this RetornoGeracaoProcedimento.  
64 - *  
65 - * @return procedimentoFormatado  
66 - */  
67 - public java.lang.String getProcedimentoFormatado() {  
68 - return procedimentoFormatado;  
69 - }  
70 -  
71 -  
72 - /**  
73 - * Sets the procedimentoFormatado value for this RetornoGeracaoProcedimento.  
74 - *  
75 - * @param procedimentoFormatado  
76 - */  
77 - public void setProcedimentoFormatado(java.lang.String procedimentoFormatado) {  
78 - this.procedimentoFormatado = procedimentoFormatado;  
79 - }  
80 -  
81 -  
82 - /**  
83 - * Gets the linkAcesso value for this RetornoGeracaoProcedimento.  
84 - *  
85 - * @return linkAcesso  
86 - */  
87 - public java.lang.String getLinkAcesso() {  
88 - return linkAcesso;  
89 - }  
90 -  
91 -  
92 - /**  
93 - * Sets the linkAcesso value for this RetornoGeracaoProcedimento.  
94 - *  
95 - * @param linkAcesso  
96 - */  
97 - public void setLinkAcesso(java.lang.String linkAcesso) {  
98 - this.linkAcesso = linkAcesso;  
99 - }  
100 -  
101 -  
102 - /**  
103 - * Gets the retornoInclusaoDocumentos value for this RetornoGeracaoProcedimento.  
104 - *  
105 - * @return retornoInclusaoDocumentos  
106 - */  
107 - public br.gov.ans.integracao.sei.client.RetornoInclusaoDocumento[] getRetornoInclusaoDocumentos() {  
108 - return retornoInclusaoDocumentos;  
109 - }  
110 -  
111 -  
112 - /**  
113 - * Sets the retornoInclusaoDocumentos value for this RetornoGeracaoProcedimento.  
114 - *  
115 - * @param retornoInclusaoDocumentos  
116 - */  
117 - public void setRetornoInclusaoDocumentos(br.gov.ans.integracao.sei.client.RetornoInclusaoDocumento[] retornoInclusaoDocumentos) {  
118 - this.retornoInclusaoDocumentos = retornoInclusaoDocumentos;  
119 - }  
120 -  
121 - private java.lang.Object __equalsCalc = null;  
122 - public boolean equals(java.lang.Object obj) {  
123 - if (!(obj instanceof RetornoGeracaoProcedimento)) return false;  
124 - RetornoGeracaoProcedimento other = (RetornoGeracaoProcedimento) obj;  
125 - if (obj == null) return false;  
126 - if (this == obj) return true;  
127 - if (__equalsCalc != null) {  
128 - return (__equalsCalc == obj);  
129 - }  
130 - __equalsCalc = obj;  
131 - boolean _equals;  
132 - _equals = true &&  
133 - ((this.idProcedimento==null && other.getIdProcedimento()==null) ||  
134 - (this.idProcedimento!=null &&  
135 - this.idProcedimento.equals(other.getIdProcedimento()))) &&  
136 - ((this.procedimentoFormatado==null && other.getProcedimentoFormatado()==null) ||  
137 - (this.procedimentoFormatado!=null &&  
138 - this.procedimentoFormatado.equals(other.getProcedimentoFormatado()))) &&  
139 - ((this.linkAcesso==null && other.getLinkAcesso()==null) ||  
140 - (this.linkAcesso!=null &&  
141 - this.linkAcesso.equals(other.getLinkAcesso()))) &&  
142 - ((this.retornoInclusaoDocumentos==null && other.getRetornoInclusaoDocumentos()==null) ||  
143 - (this.retornoInclusaoDocumentos!=null &&  
144 - java.util.Arrays.equals(this.retornoInclusaoDocumentos, other.getRetornoInclusaoDocumentos())));  
145 - __equalsCalc = null;  
146 - return _equals;  
147 - }  
148 -  
149 - private boolean __hashCodeCalc = false;  
150 - public int hashCode() {  
151 - if (__hashCodeCalc) {  
152 - return 0;  
153 - }  
154 - __hashCodeCalc = true;  
155 - int _hashCode = 1;  
156 - if (getIdProcedimento() != null) {  
157 - _hashCode += getIdProcedimento().hashCode();  
158 - }  
159 - if (getProcedimentoFormatado() != null) {  
160 - _hashCode += getProcedimentoFormatado().hashCode();  
161 - }  
162 - if (getLinkAcesso() != null) {  
163 - _hashCode += getLinkAcesso().hashCode();  
164 - }  
165 - if (getRetornoInclusaoDocumentos() != null) {  
166 - for (int i=0;  
167 - i<java.lang.reflect.Array.getLength(getRetornoInclusaoDocumentos());  
168 - i++) {  
169 - java.lang.Object obj = java.lang.reflect.Array.get(getRetornoInclusaoDocumentos(), i);  
170 - if (obj != null &&  
171 - !obj.getClass().isArray()) {  
172 - _hashCode += obj.hashCode();  
173 - }  
174 - }  
175 - }  
176 - __hashCodeCalc = false;  
177 - return _hashCode;  
178 - }  
179 -  
180 - // Type metadata  
181 - private static org.apache.axis.description.TypeDesc typeDesc =  
182 - new org.apache.axis.description.TypeDesc(RetornoGeracaoProcedimento.class, true);  
183 -  
184 - static {  
185 - typeDesc.setXmlType(new javax.xml.namespace.QName("Sei", "RetornoGeracaoProcedimento"));  
186 - org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();  
187 - elemField.setFieldName("idProcedimento");  
188 - elemField.setXmlName(new javax.xml.namespace.QName("", "IdProcedimento"));  
189 - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));  
190 - elemField.setNillable(false);  
191 - typeDesc.addFieldDesc(elemField);  
192 - elemField = new org.apache.axis.description.ElementDesc();  
193 - elemField.setFieldName("procedimentoFormatado");  
194 - elemField.setXmlName(new javax.xml.namespace.QName("", "ProcedimentoFormatado"));  
195 - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));  
196 - elemField.setNillable(false);  
197 - typeDesc.addFieldDesc(elemField);  
198 - elemField = new org.apache.axis.description.ElementDesc();  
199 - elemField.setFieldName("linkAcesso");  
200 - elemField.setXmlName(new javax.xml.namespace.QName("", "LinkAcesso"));  
201 - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));  
202 - elemField.setNillable(false);  
203 - typeDesc.addFieldDesc(elemField);  
204 - elemField = new org.apache.axis.description.ElementDesc();  
205 - elemField.setFieldName("retornoInclusaoDocumentos");  
206 - elemField.setXmlName(new javax.xml.namespace.QName("", "RetornoInclusaoDocumentos"));  
207 - elemField.setXmlType(new javax.xml.namespace.QName("Sei", "RetornoInclusaoDocumento"));  
208 - elemField.setNillable(false);  
209 - typeDesc.addFieldDesc(elemField);  
210 - }  
211 -  
212 - /**  
213 - * Return type metadata object  
214 - */  
215 - public static org.apache.axis.description.TypeDesc getTypeDesc() {  
216 - return typeDesc;  
217 - }  
218 -  
219 - /**  
220 - * Get Custom Serializer  
221 - */  
222 - public static org.apache.axis.encoding.Serializer getSerializer(  
223 - java.lang.String mechType,  
224 - java.lang.Class _javaType,  
225 - javax.xml.namespace.QName _xmlType) {  
226 - return  
227 - new org.apache.axis.encoding.ser.BeanSerializer(  
228 - _javaType, _xmlType, typeDesc);  
229 - }  
230 -  
231 - /**  
232 - * Get Custom Deserializer  
233 - */  
234 - public static org.apache.axis.encoding.Deserializer getDeserializer(  
235 - java.lang.String mechType,  
236 - java.lang.Class _javaType,  
237 - javax.xml.namespace.QName _xmlType) {  
238 - return  
239 - new org.apache.axis.encoding.ser.BeanDeserializer(  
240 - _javaType, _xmlType, typeDesc);  
241 - } 18 +public class RetornoGeracaoProcedimento implements java.io.Serializable {
  19 + private java.lang.String idProcedimento;
  20 +
  21 + private java.lang.String procedimentoFormatado;
  22 +
  23 + private java.lang.String linkAcesso;
  24 +
  25 + private br.gov.ans.integracao.sei.client.RetornoInclusaoDocumento[] retornoInclusaoDocumentos;
  26 +
  27 + public RetornoGeracaoProcedimento() {
  28 + }
  29 +
  30 + public RetornoGeracaoProcedimento(java.lang.String idProcedimento, java.lang.String procedimentoFormatado,
  31 + java.lang.String linkAcesso,
  32 + br.gov.ans.integracao.sei.client.RetornoInclusaoDocumento[] retornoInclusaoDocumentos) {
  33 + this.idProcedimento = idProcedimento;
  34 + this.procedimentoFormatado = procedimentoFormatado;
  35 + this.linkAcesso = linkAcesso;
  36 + this.retornoInclusaoDocumentos = retornoInclusaoDocumentos;
  37 + }
  38 +
  39 + public java.lang.String getIdProcedimento() {
  40 + return idProcedimento;
  41 + }
  42 +
  43 + public void setIdProcedimento(java.lang.String idProcedimento) {
  44 + this.idProcedimento = idProcedimento;
  45 + }
  46 +
  47 + public java.lang.String getProcedimentoFormatado() {
  48 + return procedimentoFormatado;
  49 + }
  50 +
  51 + public void setProcedimentoFormatado(java.lang.String procedimentoFormatado) {
  52 + this.procedimentoFormatado = procedimentoFormatado;
  53 + }
  54 +
  55 + public java.lang.String getLinkAcesso() {
  56 + return linkAcesso;
  57 + }
  58 +
  59 + public void setLinkAcesso(java.lang.String linkAcesso) {
  60 + this.linkAcesso = linkAcesso;
  61 + }
  62 +
  63 + public br.gov.ans.integracao.sei.client.RetornoInclusaoDocumento[] getRetornoInclusaoDocumentos() {
  64 + return retornoInclusaoDocumentos;
  65 + }
  66 +
  67 + public void setRetornoInclusaoDocumentos(
  68 + br.gov.ans.integracao.sei.client.RetornoInclusaoDocumento[] retornoInclusaoDocumentos) {
  69 + this.retornoInclusaoDocumentos = retornoInclusaoDocumentos;
  70 + }
  71 +
  72 + private java.lang.Object __equalsCalc = null;
  73 +
  74 + public boolean equals(java.lang.Object obj) {
  75 + if (!(obj instanceof RetornoGeracaoProcedimento))
  76 + return false;
  77 + RetornoGeracaoProcedimento other = (RetornoGeracaoProcedimento) obj;
  78 + if (obj == null)
  79 + return false;
  80 + if (this == obj)
  81 + return true;
  82 + if (__equalsCalc != null) {
  83 + return (__equalsCalc == obj);
  84 + }
  85 + __equalsCalc = obj;
  86 + boolean _equals;
  87 + _equals = true
  88 + && ((this.idProcedimento == null && other.getIdProcedimento() == null)
  89 + || (this.idProcedimento != null && this.idProcedimento.equals(other.getIdProcedimento())))
  90 + && ((this.procedimentoFormatado == null && other.getProcedimentoFormatado() == null)
  91 + || (this.procedimentoFormatado != null
  92 + && this.procedimentoFormatado.equals(other.getProcedimentoFormatado())))
  93 + && ((this.linkAcesso == null && other.getLinkAcesso() == null)
  94 + || (this.linkAcesso != null && this.linkAcesso.equals(other.getLinkAcesso())))
  95 + && ((this.retornoInclusaoDocumentos == null && other.getRetornoInclusaoDocumentos() == null)
  96 + || (this.retornoInclusaoDocumentos != null && java.util.Arrays
  97 + .equals(this.retornoInclusaoDocumentos, other.getRetornoInclusaoDocumentos())));
  98 + __equalsCalc = null;
  99 + return _equals;
  100 + }
  101 +
  102 + private boolean __hashCodeCalc = false;
  103 +
  104 + public int hashCode() {
  105 + if (__hashCodeCalc) {
  106 + return 0;
  107 + }
  108 + __hashCodeCalc = true;
  109 + int _hashCode = 1;
  110 + if (getIdProcedimento() != null) {
  111 + _hashCode += getIdProcedimento().hashCode();
  112 + }
  113 + if (getProcedimentoFormatado() != null) {
  114 + _hashCode += getProcedimentoFormatado().hashCode();
  115 + }
  116 + if (getLinkAcesso() != null) {
  117 + _hashCode += getLinkAcesso().hashCode();
  118 + }
  119 + if (getRetornoInclusaoDocumentos() != null) {
  120 + for (int i = 0; i < java.lang.reflect.Array.getLength(getRetornoInclusaoDocumentos()); i++) {
  121 + java.lang.Object obj = java.lang.reflect.Array.get(getRetornoInclusaoDocumentos(), i);
  122 + if (obj != null && !obj.getClass().isArray()) {
  123 + _hashCode += obj.hashCode();
  124 + }
  125 + }
  126 + }
  127 + __hashCodeCalc = false;
  128 + return _hashCode;
  129 + }
  130 +
  131 + private static org.apache.axis.description.TypeDesc typeDesc = new org.apache.axis.description.TypeDesc(
  132 + RetornoGeracaoProcedimento.class, true);
  133 +
  134 + static {
  135 + typeDesc.setXmlType(new javax.xml.namespace.QName("Sei", "RetornoGeracaoProcedimento"));
  136 + org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
  137 + elemField.setFieldName("idProcedimento");
  138 + elemField.setXmlName(new javax.xml.namespace.QName("", "IdProcedimento"));
  139 + elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
  140 + elemField.setNillable(false);
  141 + typeDesc.addFieldDesc(elemField);
  142 + elemField = new org.apache.axis.description.ElementDesc();
  143 + elemField.setFieldName("procedimentoFormatado");
  144 + elemField.setXmlName(new javax.xml.namespace.QName("", "ProcedimentoFormatado"));
  145 + elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
  146 + elemField.setNillable(false);
  147 + typeDesc.addFieldDesc(elemField);
  148 + elemField = new org.apache.axis.description.ElementDesc();
  149 + elemField.setFieldName("linkAcesso");
  150 + elemField.setXmlName(new javax.xml.namespace.QName("", "LinkAcesso"));
  151 + elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
  152 + elemField.setNillable(false);
  153 + typeDesc.addFieldDesc(elemField);
  154 + elemField = new org.apache.axis.description.ElementDesc();
  155 + elemField.setFieldName("retornoInclusaoDocumentos");
  156 + elemField.setXmlName(new javax.xml.namespace.QName("", "RetornoInclusaoDocumentos"));
  157 + elemField.setXmlType(new javax.xml.namespace.QName("Sei", "RetornoInclusaoDocumento"));
  158 + elemField.setNillable(false);
  159 + typeDesc.addFieldDesc(elemField);
  160 + }
  161 +
  162 + public static org.apache.axis.description.TypeDesc getTypeDesc() {
  163 + return typeDesc;
  164 + }
  165 +
  166 + public static org.apache.axis.encoding.Serializer getSerializer(java.lang.String mechType,
  167 + java.lang.Class _javaType, javax.xml.namespace.QName _xmlType) {
  168 + return new org.apache.axis.encoding.ser.BeanSerializer(_javaType, _xmlType, typeDesc);
  169 + }
  170 +
  171 + public static org.apache.axis.encoding.Deserializer getDeserializer(java.lang.String mechType,
  172 + java.lang.Class _javaType, javax.xml.namespace.QName _xmlType) {
  173 + return new org.apache.axis.encoding.ser.BeanDeserializer(_javaType, _xmlType, typeDesc);
  174 + }
242 175
243 } 176 }
src/main/java/br/gov/ans/integracao/sei/client/TipoProcedimento.java
@@ -15,149 +15,107 @@ import org.codehaus.jackson.map.annotate.JsonSerialize; @@ -15,149 +15,107 @@ import org.codehaus.jackson.map.annotate.JsonSerialize;
15 @JsonSerialize(include = JsonSerialize.Inclusion.NON_NULL) 15 @JsonSerialize(include = JsonSerialize.Inclusion.NON_NULL)
16 @JsonIgnoreProperties(ignoreUnknown = true) 16 @JsonIgnoreProperties(ignoreUnknown = true)
17 @XmlRootElement 17 @XmlRootElement
18 -public class TipoProcedimento implements java.io.Serializable {  
19 - private java.lang.String idTipoProcedimento;  
20 -  
21 - private java.lang.String nome;  
22 -  
23 - public TipoProcedimento() {  
24 - }  
25 -  
26 - public TipoProcedimento(  
27 - java.lang.String idTipoProcedimento,  
28 - java.lang.String nome) {  
29 - this.idTipoProcedimento = idTipoProcedimento;  
30 - this.nome = nome;  
31 - }  
32 -  
33 -  
34 - /**  
35 - * Gets the idTipoProcedimento value for this TipoProcedimento.  
36 - *  
37 - * @return idTipoProcedimento  
38 - */  
39 - public java.lang.String getIdTipoProcedimento() {  
40 - return idTipoProcedimento;  
41 - }  
42 -  
43 -  
44 - /**  
45 - * Sets the idTipoProcedimento value for this TipoProcedimento.  
46 - *  
47 - * @param idTipoProcedimento  
48 - */  
49 - public void setIdTipoProcedimento(java.lang.String idTipoProcedimento) {  
50 - this.idTipoProcedimento = idTipoProcedimento;  
51 - }  
52 -  
53 -  
54 - /**  
55 - * Gets the nome value for this TipoProcedimento.  
56 - *  
57 - * @return nome  
58 - */  
59 - public java.lang.String getNome() {  
60 - return nome;  
61 - }  
62 -  
63 -  
64 - /**  
65 - * Sets the nome value for this TipoProcedimento.  
66 - *  
67 - * @param nome  
68 - */  
69 - public void setNome(java.lang.String nome) {  
70 - this.nome = nome;  
71 - }  
72 -  
73 - private java.lang.Object __equalsCalc = null;  
74 - public boolean equals(java.lang.Object obj) {  
75 - if (!(obj instanceof TipoProcedimento)) return false;  
76 - TipoProcedimento other = (TipoProcedimento) obj;  
77 - if (obj == null) return false;  
78 - if (this == obj) return true;  
79 - if (__equalsCalc != null) {  
80 - return (__equalsCalc == obj);  
81 - }  
82 - __equalsCalc = obj;  
83 - boolean _equals;  
84 - _equals = true &&  
85 - ((this.idTipoProcedimento==null && other.getIdTipoProcedimento()==null) ||  
86 - (this.idTipoProcedimento!=null &&  
87 - this.idTipoProcedimento.equals(other.getIdTipoProcedimento()))) &&  
88 - ((this.nome==null && other.getNome()==null) ||  
89 - (this.nome!=null &&  
90 - this.nome.equals(other.getNome())));  
91 - __equalsCalc = null;  
92 - return _equals;  
93 - }  
94 -  
95 - private boolean __hashCodeCalc = false;  
96 - public int hashCode() {  
97 - if (__hashCodeCalc) {  
98 - return 0;  
99 - }  
100 - __hashCodeCalc = true;  
101 - int _hashCode = 1;  
102 - if (getIdTipoProcedimento() != null) {  
103 - _hashCode += getIdTipoProcedimento().hashCode();  
104 - }  
105 - if (getNome() != null) {  
106 - _hashCode += getNome().hashCode();  
107 - }  
108 - __hashCodeCalc = false;  
109 - return _hashCode;  
110 - }  
111 -  
112 - // Type metadata  
113 - private static org.apache.axis.description.TypeDesc typeDesc =  
114 - new org.apache.axis.description.TypeDesc(TipoProcedimento.class, true);  
115 -  
116 - static {  
117 - typeDesc.setXmlType(new javax.xml.namespace.QName("Sei", "TipoProcedimento"));  
118 - org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();  
119 - elemField.setFieldName("idTipoProcedimento");  
120 - elemField.setXmlName(new javax.xml.namespace.QName("", "IdTipoProcedimento"));  
121 - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));  
122 - elemField.setNillable(false);  
123 - typeDesc.addFieldDesc(elemField);  
124 - elemField = new org.apache.axis.description.ElementDesc();  
125 - elemField.setFieldName("nome");  
126 - elemField.setXmlName(new javax.xml.namespace.QName("", "Nome"));  
127 - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));  
128 - elemField.setNillable(false);  
129 - typeDesc.addFieldDesc(elemField);  
130 - }  
131 -  
132 - /**  
133 - * Return type metadata object  
134 - */  
135 - public static org.apache.axis.description.TypeDesc getTypeDesc() {  
136 - return typeDesc;  
137 - }  
138 -  
139 - /**  
140 - * Get Custom Serializer  
141 - */  
142 - public static org.apache.axis.encoding.Serializer getSerializer(  
143 - java.lang.String mechType,  
144 - java.lang.Class _javaType,  
145 - javax.xml.namespace.QName _xmlType) {  
146 - return  
147 - new org.apache.axis.encoding.ser.BeanSerializer(  
148 - _javaType, _xmlType, typeDesc);  
149 - }  
150 -  
151 - /**  
152 - * Get Custom Deserializer  
153 - */  
154 - public static org.apache.axis.encoding.Deserializer getDeserializer(  
155 - java.lang.String mechType,  
156 - java.lang.Class _javaType,  
157 - javax.xml.namespace.QName _xmlType) {  
158 - return  
159 - new org.apache.axis.encoding.ser.BeanDeserializer(  
160 - _javaType, _xmlType, typeDesc);  
161 - } 18 +public class TipoProcedimento implements java.io.Serializable {
  19 + private java.lang.String idTipoProcedimento;
  20 +
  21 + private java.lang.String nome;
  22 +
  23 + public TipoProcedimento() {
  24 + }
  25 +
  26 + public TipoProcedimento(java.lang.String idTipoProcedimento, java.lang.String nome) {
  27 + this.idTipoProcedimento = idTipoProcedimento;
  28 + this.nome = nome;
  29 + }
  30 +
  31 + public java.lang.String getIdTipoProcedimento() {
  32 + return idTipoProcedimento;
  33 + }
  34 +
  35 + public void setIdTipoProcedimento(java.lang.String idTipoProcedimento) {
  36 + this.idTipoProcedimento = idTipoProcedimento;
  37 + }
  38 +
  39 + public java.lang.String getNome() {
  40 + return nome;
  41 + }
  42 +
  43 + public void setNome(java.lang.String nome) {
  44 + this.nome = nome;
  45 + }
  46 +
  47 + private java.lang.Object __equalsCalc = null;
  48 +
  49 + public boolean equals(java.lang.Object obj) {
  50 + if (!(obj instanceof TipoProcedimento))
  51 + return false;
  52 + TipoProcedimento other = (TipoProcedimento) obj;
  53 + if (obj == null)
  54 + return false;
  55 + if (this == obj)
  56 + return true;
  57 + if (__equalsCalc != null) {
  58 + return (__equalsCalc == obj);
  59 + }
  60 + __equalsCalc = obj;
  61 + boolean _equals;
  62 + _equals = true && ((this.idTipoProcedimento == null && other.getIdTipoProcedimento() == null)
  63 + || (this.idTipoProcedimento != null && this.idTipoProcedimento.equals(other.getIdTipoProcedimento())))
  64 + && ((this.nome == null && other.getNome() == null)
  65 + || (this.nome != null && this.nome.equals(other.getNome())));
  66 + __equalsCalc = null;
  67 + return _equals;
  68 + }
  69 +
  70 + private boolean __hashCodeCalc = false;
  71 +
  72 + public int hashCode() {
  73 + if (__hashCodeCalc) {
  74 + return 0;
  75 + }
  76 + __hashCodeCalc = true;
  77 + int _hashCode = 1;
  78 + if (getIdTipoProcedimento() != null) {
  79 + _hashCode += getIdTipoProcedimento().hashCode();
  80 + }
  81 + if (getNome() != null) {
  82 + _hashCode += getNome().hashCode();
  83 + }
  84 + __hashCodeCalc = false;
  85 + return _hashCode;
  86 + }
  87 +
  88 + private static org.apache.axis.description.TypeDesc typeDesc = new org.apache.axis.description.TypeDesc(
  89 + TipoProcedimento.class, true);
  90 +
  91 + static {
  92 + typeDesc.setXmlType(new javax.xml.namespace.QName("Sei", "TipoProcedimento"));
  93 + org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
  94 + elemField.setFieldName("idTipoProcedimento");
  95 + elemField.setXmlName(new javax.xml.namespace.QName("", "IdTipoProcedimento"));
  96 + elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
  97 + elemField.setNillable(false);
  98 + typeDesc.addFieldDesc(elemField);
  99 + elemField = new org.apache.axis.description.ElementDesc();
  100 + elemField.setFieldName("nome");
  101 + elemField.setXmlName(new javax.xml.namespace.QName("", "Nome"));
  102 + elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
  103 + elemField.setNillable(false);
  104 + typeDesc.addFieldDesc(elemField);
  105 + }
  106 +
  107 + public static org.apache.axis.description.TypeDesc getTypeDesc() {
  108 + return typeDesc;
  109 + }
  110 +
  111 + public static org.apache.axis.encoding.Serializer getSerializer(java.lang.String mechType,
  112 + java.lang.Class _javaType, javax.xml.namespace.QName _xmlType) {
  113 + return new org.apache.axis.encoding.ser.BeanSerializer(_javaType, _xmlType, typeDesc);
  114 + }
  115 +
  116 + public static org.apache.axis.encoding.Deserializer getDeserializer(java.lang.String mechType,
  117 + java.lang.Class _javaType, javax.xml.namespace.QName _xmlType) {
  118 + return new org.apache.axis.encoding.ser.BeanDeserializer(_javaType, _xmlType, typeDesc);
  119 + }
162 120
163 } 121 }
src/main/java/br/gov/ans/integracao/sei/client/Unidade.java
@@ -18,302 +18,205 @@ import org.codehaus.jackson.map.annotate.JsonSerialize; @@ -18,302 +18,205 @@ import org.codehaus.jackson.map.annotate.JsonSerialize;
18 @JsonSerialize(include = JsonSerialize.Inclusion.NON_NULL) 18 @JsonSerialize(include = JsonSerialize.Inclusion.NON_NULL)
19 @JsonIgnoreProperties(ignoreUnknown = true) 19 @JsonIgnoreProperties(ignoreUnknown = true)
20 @XmlRootElement 20 @XmlRootElement
21 -public class Unidade implements java.io.Serializable { 21 +public class Unidade implements java.io.Serializable {
22 22
23 private static transient final long serialVersionUID = 7447160137756886914L; 23 private static transient final long serialVersionUID = 7447160137756886914L;
24 24
25 @Id 25 @Id
26 - private java.lang.String idUnidade;  
27 -  
28 - private java.lang.String sigla;  
29 -  
30 - private java.lang.String descricao;  
31 -  
32 - private java.lang.String sinProtocolo;  
33 -  
34 - private java.lang.String sinArquivamento;  
35 -  
36 - private java.lang.String sinOuvidoria;  
37 -  
38 - public Unidade() {  
39 - }  
40 -  
41 - public Unidade(  
42 - java.lang.String idUnidade,  
43 - java.lang.String sigla,  
44 - java.lang.String descricao,  
45 - java.lang.String sinProtocolo,  
46 - java.lang.String sinArquivamento,  
47 - java.lang.String sinOuvidoria) {  
48 - this.idUnidade = idUnidade;  
49 - this.sigla = sigla;  
50 - this.descricao = descricao;  
51 - this.sinProtocolo = sinProtocolo;  
52 - this.sinArquivamento = sinArquivamento;  
53 - this.sinOuvidoria = sinOuvidoria;  
54 - }  
55 -  
56 -  
57 - /**  
58 - * Gets the idUnidade value for this Unidade.  
59 - *  
60 - * @return idUnidade  
61 - */  
62 - public java.lang.String getIdUnidade() {  
63 - return idUnidade;  
64 - }  
65 -  
66 -  
67 - /**  
68 - * Sets the idUnidade value for this Unidade.  
69 - *  
70 - * @param idUnidade  
71 - */  
72 - public void setIdUnidade(java.lang.String idUnidade) {  
73 - this.idUnidade = idUnidade;  
74 - }  
75 -  
76 -  
77 - /**  
78 - * Gets the sigla value for this Unidade.  
79 - *  
80 - * @return sigla  
81 - */  
82 - public java.lang.String getSigla() {  
83 - return sigla;  
84 - }  
85 -  
86 -  
87 - /**  
88 - * Sets the sigla value for this Unidade.  
89 - *  
90 - * @param sigla  
91 - */  
92 - public void setSigla(java.lang.String sigla) {  
93 - this.sigla = sigla;  
94 - }  
95 -  
96 -  
97 - /**  
98 - * Gets the descricao value for this Unidade.  
99 - *  
100 - * @return descricao  
101 - */  
102 - public java.lang.String getDescricao() {  
103 - return descricao;  
104 - }  
105 -  
106 -  
107 - /**  
108 - * Sets the descricao value for this Unidade.  
109 - *  
110 - * @param descricao  
111 - */  
112 - public void setDescricao(java.lang.String descricao) {  
113 - this.descricao = descricao;  
114 - }  
115 -  
116 -  
117 - /**  
118 - * Gets the sinProtocolo value for this Unidade.  
119 - *  
120 - * @return sinProtocolo  
121 - */  
122 - public java.lang.String getSinProtocolo() {  
123 - return sinProtocolo;  
124 - }  
125 -  
126 -  
127 - /**  
128 - * Sets the sinProtocolo value for this Unidade.  
129 - *  
130 - * @param sinProtocolo  
131 - */  
132 - public void setSinProtocolo(java.lang.String sinProtocolo) {  
133 - this.sinProtocolo = sinProtocolo;  
134 - }  
135 -  
136 -  
137 - /**  
138 - * Gets the sinArquivamento value for this Unidade.  
139 - *  
140 - * @return sinArquivamento  
141 - */  
142 - public java.lang.String getSinArquivamento() {  
143 - return sinArquivamento;  
144 - }  
145 -  
146 -  
147 - /**  
148 - * Sets the sinArquivamento value for this Unidade.  
149 - *  
150 - * @param sinArquivamento  
151 - */  
152 - public void setSinArquivamento(java.lang.String sinArquivamento) {  
153 - this.sinArquivamento = sinArquivamento;  
154 - }  
155 -  
156 -  
157 - /**  
158 - * Gets the sinOuvidoria value for this Unidade.  
159 - *  
160 - * @return sinOuvidoria  
161 - */  
162 - public java.lang.String getSinOuvidoria() {  
163 - return sinOuvidoria;  
164 - }  
165 -  
166 -  
167 - /**  
168 - * Sets the sinOuvidoria value for this Unidade.  
169 - *  
170 - * @param sinOuvidoria  
171 - */  
172 - public void setSinOuvidoria(java.lang.String sinOuvidoria) {  
173 - this.sinOuvidoria = sinOuvidoria;  
174 - }  
175 -  
176 - private transient java.lang.Object __equalsCalc = null;  
177 -  
178 - public boolean equals(java.lang.Object obj) {  
179 - if (!(obj instanceof Unidade)) return false;  
180 - Unidade other = (Unidade) obj;  
181 - if (obj == null) return false;  
182 - if (this == obj) return true;  
183 - if (__equalsCalc != null) {  
184 - return (__equalsCalc == obj);  
185 - }  
186 - __equalsCalc = obj;  
187 - boolean _equals;  
188 - _equals = true &&  
189 - ((this.idUnidade==null && other.getIdUnidade()==null) ||  
190 - (this.idUnidade!=null &&  
191 - this.idUnidade.equals(other.getIdUnidade()))) &&  
192 - ((this.sigla==null && other.getSigla()==null) ||  
193 - (this.sigla!=null &&  
194 - this.sigla.equals(other.getSigla()))) &&  
195 - ((this.descricao==null && other.getDescricao()==null) ||  
196 - (this.descricao!=null &&  
197 - this.descricao.equals(other.getDescricao()))) &&  
198 - ((this.sinProtocolo==null && other.getSinProtocolo()==null) ||  
199 - (this.sinProtocolo!=null &&  
200 - this.sinProtocolo.equals(other.getSinProtocolo()))) &&  
201 - ((this.sinArquivamento==null && other.getSinArquivamento()==null) ||  
202 - (this.sinArquivamento!=null &&  
203 - this.sinArquivamento.equals(other.getSinArquivamento()))) &&  
204 - ((this.sinOuvidoria==null && other.getSinOuvidoria()==null) ||  
205 - (this.sinOuvidoria!=null &&  
206 - this.sinOuvidoria.equals(other.getSinOuvidoria())));  
207 - __equalsCalc = null;  
208 - return _equals;  
209 - }  
210 -  
211 - private transient boolean __hashCodeCalc = false;  
212 -  
213 - public int hashCode() {  
214 - if (__hashCodeCalc) {  
215 - return 0;  
216 - }  
217 - __hashCodeCalc = true;  
218 - int _hashCode = 1;  
219 - if (getIdUnidade() != null) {  
220 - _hashCode += getIdUnidade().hashCode();  
221 - }  
222 - if (getSigla() != null) {  
223 - _hashCode += getSigla().hashCode();  
224 - }  
225 - if (getDescricao() != null) {  
226 - _hashCode += getDescricao().hashCode();  
227 - }  
228 - if (getSinProtocolo() != null) {  
229 - _hashCode += getSinProtocolo().hashCode();  
230 - }  
231 - if (getSinArquivamento() != null) {  
232 - _hashCode += getSinArquivamento().hashCode();  
233 - }  
234 - if (getSinOuvidoria() != null) {  
235 - _hashCode += getSinOuvidoria().hashCode();  
236 - }  
237 - __hashCodeCalc = false;  
238 - return _hashCode;  
239 - }  
240 -  
241 - // Type metadata  
242 - private static org.apache.axis.description.TypeDesc typeDesc =  
243 - new org.apache.axis.description.TypeDesc(Unidade.class, true);  
244 -  
245 - static {  
246 - typeDesc.setXmlType(new javax.xml.namespace.QName("Sei", "Unidade"));  
247 - org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();  
248 - elemField.setFieldName("idUnidade");  
249 - elemField.setXmlName(new javax.xml.namespace.QName("", "IdUnidade"));  
250 - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));  
251 - elemField.setNillable(false);  
252 - typeDesc.addFieldDesc(elemField);  
253 - elemField = new org.apache.axis.description.ElementDesc();  
254 - elemField.setFieldName("sigla");  
255 - elemField.setXmlName(new javax.xml.namespace.QName("", "Sigla"));  
256 - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));  
257 - elemField.setNillable(false);  
258 - typeDesc.addFieldDesc(elemField);  
259 - elemField = new org.apache.axis.description.ElementDesc();  
260 - elemField.setFieldName("descricao");  
261 - elemField.setXmlName(new javax.xml.namespace.QName("", "Descricao"));  
262 - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));  
263 - elemField.setNillable(false);  
264 - typeDesc.addFieldDesc(elemField);  
265 - elemField = new org.apache.axis.description.ElementDesc();  
266 - elemField.setFieldName("sinProtocolo");  
267 - elemField.setXmlName(new javax.xml.namespace.QName("", "SinProtocolo"));  
268 - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));  
269 - elemField.setMinOccurs(0);  
270 - elemField.setNillable(false);  
271 - typeDesc.addFieldDesc(elemField);  
272 - elemField = new org.apache.axis.description.ElementDesc();  
273 - elemField.setFieldName("sinArquivamento");  
274 - elemField.setXmlName(new javax.xml.namespace.QName("", "SinArquivamento"));  
275 - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));  
276 - elemField.setMinOccurs(0);  
277 - elemField.setNillable(false);  
278 - typeDesc.addFieldDesc(elemField);  
279 - elemField = new org.apache.axis.description.ElementDesc();  
280 - elemField.setFieldName("sinOuvidoria");  
281 - elemField.setXmlName(new javax.xml.namespace.QName("", "SinOuvidoria"));  
282 - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));  
283 - elemField.setMinOccurs(0);  
284 - elemField.setNillable(false);  
285 - typeDesc.addFieldDesc(elemField);  
286 - }  
287 -  
288 - /**  
289 - * Return type metadata object  
290 - */  
291 - public static org.apache.axis.description.TypeDesc getTypeDesc() {  
292 - return typeDesc;  
293 - }  
294 -  
295 - /**  
296 - * Get Custom Serializer  
297 - */  
298 - public static org.apache.axis.encoding.Serializer getSerializer(  
299 - java.lang.String mechType,  
300 - java.lang.Class _javaType,  
301 - javax.xml.namespace.QName _xmlType) {  
302 - return  
303 - new org.apache.axis.encoding.ser.BeanSerializer(  
304 - _javaType, _xmlType, typeDesc);  
305 - }  
306 -  
307 - /**  
308 - * Get Custom Deserializer  
309 - */  
310 - public static org.apache.axis.encoding.Deserializer getDeserializer(  
311 - java.lang.String mechType,  
312 - java.lang.Class _javaType,  
313 - javax.xml.namespace.QName _xmlType) {  
314 - return  
315 - new org.apache.axis.encoding.ser.BeanDeserializer(  
316 - _javaType, _xmlType, typeDesc);  
317 - } 26 + private java.lang.String idUnidade;
  27 +
  28 + private java.lang.String sigla;
  29 +
  30 + private java.lang.String descricao;
  31 +
  32 + private java.lang.String sinProtocolo;
  33 +
  34 + private java.lang.String sinArquivamento;
  35 +
  36 + private java.lang.String sinOuvidoria;
  37 +
  38 + public Unidade() {
  39 + }
  40 +
  41 + public Unidade(java.lang.String idUnidade, java.lang.String sigla, java.lang.String descricao,
  42 + java.lang.String sinProtocolo, java.lang.String sinArquivamento, java.lang.String sinOuvidoria) {
  43 + this.idUnidade = idUnidade;
  44 + this.sigla = sigla;
  45 + this.descricao = descricao;
  46 + this.sinProtocolo = sinProtocolo;
  47 + this.sinArquivamento = sinArquivamento;
  48 + this.sinOuvidoria = sinOuvidoria;
  49 + }
  50 +
  51 + public java.lang.String getIdUnidade() {
  52 + return idUnidade;
  53 + }
  54 +
  55 + public void setIdUnidade(java.lang.String idUnidade) {
  56 + this.idUnidade = idUnidade;
  57 + }
  58 +
  59 + public java.lang.String getSigla() {
  60 + return sigla;
  61 + }
  62 +
  63 + public void setSigla(java.lang.String sigla) {
  64 + this.sigla = sigla;
  65 + }
  66 +
  67 + public java.lang.String getDescricao() {
  68 + return descricao;
  69 + }
  70 +
  71 + public void setDescricao(java.lang.String descricao) {
  72 + this.descricao = descricao;
  73 + }
  74 +
  75 + public java.lang.String getSinProtocolo() {
  76 + return sinProtocolo;
  77 + }
  78 +
  79 + public void setSinProtocolo(java.lang.String sinProtocolo) {
  80 + this.sinProtocolo = sinProtocolo;
  81 + }
  82 +
  83 + public java.lang.String getSinArquivamento() {
  84 + return sinArquivamento;
  85 + }
  86 +
  87 + public void setSinArquivamento(java.lang.String sinArquivamento) {
  88 + this.sinArquivamento = sinArquivamento;
  89 + }
  90 +
  91 + public java.lang.String getSinOuvidoria() {
  92 + return sinOuvidoria;
  93 + }
  94 +
  95 + public void setSinOuvidoria(java.lang.String sinOuvidoria) {
  96 + this.sinOuvidoria = sinOuvidoria;
  97 + }
  98 +
  99 + private transient java.lang.Object __equalsCalc = null;
  100 +
  101 + public boolean equals(java.lang.Object obj) {
  102 + if (!(obj instanceof Unidade))
  103 + return false;
  104 + Unidade other = (Unidade) obj;
  105 + if (obj == null)
  106 + return false;
  107 + if (this == obj)
  108 + return true;
  109 + if (__equalsCalc != null) {
  110 + return (__equalsCalc == obj);
  111 + }
  112 + __equalsCalc = obj;
  113 + boolean _equals;
  114 + _equals = true
  115 + && ((this.idUnidade == null && other.getIdUnidade() == null)
  116 + || (this.idUnidade != null && this.idUnidade.equals(other.getIdUnidade())))
  117 + && ((this.sigla == null && other.getSigla() == null)
  118 + || (this.sigla != null && this.sigla.equals(other.getSigla())))
  119 + && ((this.descricao == null && other.getDescricao() == null)
  120 + || (this.descricao != null && this.descricao.equals(other.getDescricao())))
  121 + && ((this.sinProtocolo == null && other.getSinProtocolo() == null)
  122 + || (this.sinProtocolo != null && this.sinProtocolo.equals(other.getSinProtocolo())))
  123 + && ((this.sinArquivamento == null && other.getSinArquivamento() == null)
  124 + || (this.sinArquivamento != null && this.sinArquivamento.equals(other.getSinArquivamento())))
  125 + && ((this.sinOuvidoria == null && other.getSinOuvidoria() == null)
  126 + || (this.sinOuvidoria != null && this.sinOuvidoria.equals(other.getSinOuvidoria())));
  127 + __equalsCalc = null;
  128 + return _equals;
  129 + }
  130 +
  131 + private transient boolean __hashCodeCalc = false;
  132 +
  133 + public int hashCode() {
  134 + if (__hashCodeCalc) {
  135 + return 0;
  136 + }
  137 + __hashCodeCalc = true;
  138 + int _hashCode = 1;
  139 + if (getIdUnidade() != null) {
  140 + _hashCode += getIdUnidade().hashCode();
  141 + }
  142 + if (getSigla() != null) {
  143 + _hashCode += getSigla().hashCode();
  144 + }
  145 + if (getDescricao() != null) {
  146 + _hashCode += getDescricao().hashCode();
  147 + }
  148 + if (getSinProtocolo() != null) {
  149 + _hashCode += getSinProtocolo().hashCode();
  150 + }
  151 + if (getSinArquivamento() != null) {
  152 + _hashCode += getSinArquivamento().hashCode();
  153 + }
  154 + if (getSinOuvidoria() != null) {
  155 + _hashCode += getSinOuvidoria().hashCode();
  156 + }
  157 + __hashCodeCalc = false;
  158 + return _hashCode;
  159 + }
  160 +
  161 + // Type metadata
  162 + private static org.apache.axis.description.TypeDesc typeDesc = new org.apache.axis.description.TypeDesc(
  163 + Unidade.class, true);
  164 +
  165 + static {
  166 + typeDesc.setXmlType(new javax.xml.namespace.QName("Sei", "Unidade"));
  167 + org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
  168 + elemField.setFieldName("idUnidade");
  169 + elemField.setXmlName(new javax.xml.namespace.QName("", "IdUnidade"));
  170 + elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
  171 + elemField.setNillable(false);
  172 + typeDesc.addFieldDesc(elemField);
  173 + elemField = new org.apache.axis.description.ElementDesc();
  174 + elemField.setFieldName("sigla");
  175 + elemField.setXmlName(new javax.xml.namespace.QName("", "Sigla"));
  176 + elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
  177 + elemField.setNillable(false);
  178 + typeDesc.addFieldDesc(elemField);
  179 + elemField = new org.apache.axis.description.ElementDesc();
  180 + elemField.setFieldName("descricao");
  181 + elemField.setXmlName(new javax.xml.namespace.QName("", "Descricao"));
  182 + elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
  183 + elemField.setNillable(false);
  184 + typeDesc.addFieldDesc(elemField);
  185 + elemField = new org.apache.axis.description.ElementDesc();
  186 + elemField.setFieldName("sinProtocolo");
  187 + elemField.setXmlName(new javax.xml.namespace.QName("", "SinProtocolo"));
  188 + elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
  189 + elemField.setMinOccurs(0);
  190 + elemField.setNillable(false);
  191 + typeDesc.addFieldDesc(elemField);
  192 + elemField = new org.apache.axis.description.ElementDesc();
  193 + elemField.setFieldName("sinArquivamento");
  194 + elemField.setXmlName(new javax.xml.namespace.QName("", "SinArquivamento"));
  195 + elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
  196 + elemField.setMinOccurs(0);
  197 + elemField.setNillable(false);
  198 + typeDesc.addFieldDesc(elemField);
  199 + elemField = new org.apache.axis.description.ElementDesc();
  200 + elemField.setFieldName("sinOuvidoria");
  201 + elemField.setXmlName(new javax.xml.namespace.QName("", "SinOuvidoria"));
  202 + elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
  203 + elemField.setMinOccurs(0);
  204 + elemField.setNillable(false);
  205 + typeDesc.addFieldDesc(elemField);
  206 + }
  207 +
  208 + public static org.apache.axis.description.TypeDesc getTypeDesc() {
  209 + return typeDesc;
  210 + }
  211 +
  212 + public static org.apache.axis.encoding.Serializer getSerializer(java.lang.String mechType,
  213 + java.lang.Class _javaType, javax.xml.namespace.QName _xmlType) {
  214 + return new org.apache.axis.encoding.ser.BeanSerializer(_javaType, _xmlType, typeDesc);
  215 + }
  216 +
  217 + public static org.apache.axis.encoding.Deserializer getDeserializer(java.lang.String mechType,
  218 + java.lang.Class _javaType, javax.xml.namespace.QName _xmlType) {
  219 + return new org.apache.axis.encoding.ser.BeanDeserializer(_javaType, _xmlType, typeDesc);
  220 + }
318 221
319 } 222 }
src/test/java/br/gov/ans/integracao/sei/testes/FunctionalTest.java
@@ -8,7 +8,7 @@ public class FunctionalTest { @@ -8,7 +8,7 @@ public class FunctionalTest {
8 8
9 protected final String USUARIO = "desenv_integracao_sei"; 9 protected final String USUARIO = "desenv_integracao_sei";
10 protected final String SENHA = "integra_sei_2016"; 10 protected final String SENHA = "integra_sei_2016";
11 - protected static final Boolean DESENVOLVIMENTO = true; 11 + protected static final Boolean DESENVOLVIMENTO = false;
12 12
13 @BeforeClass 13 @BeforeClass
14 public static void setup() { 14 public static void setup() {
@@ -32,7 +32,7 @@ public class FunctionalTest { @@ -32,7 +32,7 @@ public class FunctionalTest {
32 if(DESENVOLVIMENTO){ 32 if(DESENVOLVIMENTO){
33 baseHost = "http://localhost"; 33 baseHost = "http://localhost";
34 }else{ 34 }else{
35 - baseHost = "http://anshmjboss01a.ans.gov.br"; 35 + baseHost = "http://ansdsjboss01.ans.gov.br";
36 } 36 }
37 } 37 }
38 RestAssured.baseURI = baseHost; 38 RestAssured.baseURI = baseHost;