Commit 11bfe80b7b6df88bfd2c8e51246af8225f9515aa
1 parent
c8e558ae
Exists in
master
Altera classes do modelo para utilizar o lombok
Simplificação da verbosidade das classes de modelo utilizando o Lombok e inclusão do padrão builder, provido pelo próprio Lombok, para todas as classes. Foram mantidos os construtores sem argumentos, com todos os argumentos como públicos e todos os setters para manter a compatibilidade com a versão anterior.
Showing
76 changed files
with
711 additions
and
6252 deletions
Show diff stats
pom.xml
@@ -3,7 +3,7 @@ | @@ -3,7 +3,7 @@ | ||
3 | <modelVersion>4.0.0</modelVersion> | 3 | <modelVersion>4.0.0</modelVersion> |
4 | <groupId>br.gov.ans.commons</groupId> | 4 | <groupId>br.gov.ans.commons</groupId> |
5 | <artifactId>ans-commons-sei</artifactId> | 5 | <artifactId>ans-commons-sei</artifactId> |
6 | - <version>1.1.0</version> | 6 | + <version>1.2.0</version> |
7 | <name>ans-commons-sei</name> | 7 | <name>ans-commons-sei</name> |
8 | <packaging>jar</packaging> | 8 | <packaging>jar</packaging> |
9 | <description>Biblioteca de apoio aos clientes do SEI-Broker.</description> | 9 | <description>Biblioteca de apoio aos clientes do SEI-Broker.</description> |
@@ -15,7 +15,14 @@ | @@ -15,7 +15,14 @@ | ||
15 | <artifactId>jackson-annotations</artifactId> | 15 | <artifactId>jackson-annotations</artifactId> |
16 | <version>2.9.7</version> | 16 | <version>2.9.7</version> |
17 | </dependency> | 17 | </dependency> |
18 | - | 18 | + |
19 | + <!-- LOMBOK --> | ||
20 | + <dependency> | ||
21 | + <groupId>org.projectlombok</groupId> | ||
22 | + <artifactId>lombok</artifactId> | ||
23 | + <version>1.18.2</version> | ||
24 | + <scope>provided</scope> | ||
25 | + </dependency> | ||
19 | 26 | ||
20 | <!-- HASH --> | 27 | <!-- HASH --> |
21 | <dependency> | 28 | <dependency> |
src/main/java/br/gov/ans/integracao/sei/client/Andamento.java
1 | -/** | ||
2 | - * Andamento.java | ||
3 | - * | ||
4 | - * This file was auto-generated from WSDL | ||
5 | - * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter. | ||
6 | - */ | ||
7 | - | ||
8 | package br.gov.ans.integracao.sei.client; | 1 | package br.gov.ans.integracao.sei.client; |
9 | 2 | ||
10 | import java.io.Serializable; | 3 | import java.io.Serializable; |
@@ -13,170 +6,28 @@ import com.fasterxml.jackson.annotation.JsonIgnoreProperties; | @@ -13,170 +6,28 @@ import com.fasterxml.jackson.annotation.JsonIgnoreProperties; | ||
13 | import com.fasterxml.jackson.annotation.JsonInclude; | 6 | import com.fasterxml.jackson.annotation.JsonInclude; |
14 | import com.fasterxml.jackson.annotation.JsonInclude.Include; | 7 | import com.fasterxml.jackson.annotation.JsonInclude.Include; |
15 | 8 | ||
9 | +import lombok.AllArgsConstructor; | ||
10 | +import lombok.Builder; | ||
11 | +import lombok.Data; | ||
12 | +import lombok.NoArgsConstructor; | ||
13 | + | ||
16 | @JsonInclude(content = Include.NON_NULL) | 14 | @JsonInclude(content = Include.NON_NULL) |
17 | @JsonIgnoreProperties(ignoreUnknown = true) | 15 | @JsonIgnoreProperties(ignoreUnknown = true) |
16 | +@NoArgsConstructor | ||
17 | +@AllArgsConstructor | ||
18 | +@Data | ||
19 | +@Builder | ||
18 | public class Andamento implements Serializable { | 20 | public class Andamento implements Serializable { |
19 | 21 | ||
20 | private static final long serialVersionUID = 1L; | 22 | private static final long serialVersionUID = 1L; |
21 | 23 | ||
22 | private String idAndamento; | 24 | private String idAndamento; |
23 | - | ||
24 | private String idTarefa; | 25 | private String idTarefa; |
25 | - | ||
26 | private String idTarefaModulo; | 26 | private String idTarefaModulo; |
27 | - | ||
28 | private String descricao; | 27 | private String descricao; |
29 | - | ||
30 | private String dataHora; | 28 | private String dataHora; |
31 | - | ||
32 | private Unidade unidade; | 29 | private Unidade unidade; |
33 | - | ||
34 | private Usuario usuario; | 30 | private Usuario usuario; |
35 | - | ||
36 | private AtributoAndamento[] atributos; | 31 | private AtributoAndamento[] atributos; |
37 | - | ||
38 | - public Andamento() { | ||
39 | - } | ||
40 | - | ||
41 | - public Andamento(String idAndamento, String idTarefa, String idTarefaModulo, String descricao, String dataHora, Unidade unidade, Usuario usuario, AtributoAndamento[] atributos) { | ||
42 | - this.idAndamento = idAndamento; | ||
43 | - this.idTarefa = idTarefa; | ||
44 | - this.idTarefaModulo = idTarefaModulo; | ||
45 | - this.descricao = descricao; | ||
46 | - this.dataHora = dataHora; | ||
47 | - this.unidade = unidade; | ||
48 | - this.usuario = usuario; | ||
49 | - this.atributos = atributos; | ||
50 | - } | ||
51 | - | ||
52 | - public String getIdAndamento() { | ||
53 | - return idAndamento; | ||
54 | - } | ||
55 | - | ||
56 | - public void setIdAndamento(String idAndamento) { | ||
57 | - this.idAndamento = idAndamento; | ||
58 | - } | ||
59 | - | ||
60 | - public String getIdTarefa() { | ||
61 | - return idTarefa; | ||
62 | - } | ||
63 | - | ||
64 | - public void setIdTarefa(String idTarefa) { | ||
65 | - this.idTarefa = idTarefa; | ||
66 | - } | ||
67 | - | ||
68 | - public String getIdTarefaModulo() { | ||
69 | - return idTarefaModulo; | ||
70 | - } | ||
71 | - | ||
72 | - public void setIdTarefaModulo(String idTarefaModulo) { | ||
73 | - this.idTarefaModulo = idTarefaModulo; | ||
74 | - } | ||
75 | - | ||
76 | - public String getDescricao() { | ||
77 | - return descricao; | ||
78 | - } | ||
79 | - | ||
80 | - public void setDescricao(String descricao) { | ||
81 | - this.descricao = descricao; | ||
82 | - } | ||
83 | - | ||
84 | - public String getDataHora() { | ||
85 | - return dataHora; | ||
86 | - } | ||
87 | - | ||
88 | - public void setDataHora(String dataHora) { | ||
89 | - this.dataHora = dataHora; | ||
90 | - } | ||
91 | - | ||
92 | - public Unidade getUnidade() { | ||
93 | - return unidade; | ||
94 | - } | ||
95 | - | ||
96 | - public void setUnidade(Unidade unidade) { | ||
97 | - this.unidade = unidade; | ||
98 | - } | ||
99 | - | ||
100 | - public Usuario getUsuario() { | ||
101 | - return usuario; | ||
102 | - } | ||
103 | - | ||
104 | - public void setUsuario(Usuario usuario) { | ||
105 | - this.usuario = usuario; | ||
106 | - } | ||
107 | - | ||
108 | - public AtributoAndamento[] getAtributos() { | ||
109 | - return atributos; | ||
110 | - } | ||
111 | - | ||
112 | - public void setAtributos(AtributoAndamento[] atributos) { | ||
113 | - this.atributos = atributos; | ||
114 | - } | ||
115 | - | ||
116 | - private Object __equalsCalc = null; | ||
117 | - | ||
118 | - public boolean equals(Object obj) { | ||
119 | - if (!(obj instanceof Andamento)) | ||
120 | - return false; | ||
121 | - Andamento other = (Andamento) obj; | ||
122 | - if (this == obj) | ||
123 | - return true; | ||
124 | - if (__equalsCalc != null) { | ||
125 | - return (__equalsCalc == obj); | ||
126 | - } | ||
127 | - __equalsCalc = obj; | ||
128 | - boolean _equals; | ||
129 | - _equals = true | ||
130 | - && ((this.idAndamento == null && other.getIdAndamento() == null) || (this.idAndamento != null && this.idAndamento.equals(other.getIdAndamento()))) | ||
131 | - && ((this.idTarefa == null && other.getIdTarefa() == null) || (this.idTarefa != null && this.idTarefa.equals(other.getIdTarefa()))) | ||
132 | - && ((this.idTarefaModulo == null && other.getIdTarefaModulo() == null) || (this.idTarefaModulo != null && this.idTarefaModulo.equals(other.getIdTarefaModulo()))) | ||
133 | - && ((this.descricao == null && other.getDescricao() == null) || (this.descricao != null && this.descricao.equals(other.getDescricao()))) | ||
134 | - && ((this.dataHora == null && other.getDataHora() == null) || (this.dataHora != null && this.dataHora.equals(other.getDataHora()))) | ||
135 | - && ((this.unidade == null && other.getUnidade() == null) || (this.unidade != null && this.unidade.equals(other.getUnidade()))) | ||
136 | - && ((this.usuario == null && other.getUsuario() == null) || (this.usuario != null && this.usuario.equals(other.getUsuario()))) | ||
137 | - && ((this.atributos == null && other.getAtributos() == null) || (this.atributos != null && java.util.Arrays.equals(this.atributos, other.getAtributos()))); | ||
138 | - __equalsCalc = null; | ||
139 | - return _equals; | ||
140 | - } | ||
141 | - | ||
142 | - private boolean __hashCodeCalc = false; | ||
143 | - | ||
144 | - public int hashCode() { | ||
145 | - if (__hashCodeCalc) { | ||
146 | - return 0; | ||
147 | - } | ||
148 | - __hashCodeCalc = true; | ||
149 | - int _hashCode = 1; | ||
150 | - if (getIdAndamento() != null) { | ||
151 | - _hashCode += getIdAndamento().hashCode(); | ||
152 | - } | ||
153 | - if (getIdTarefa() != null) { | ||
154 | - _hashCode += getIdTarefa().hashCode(); | ||
155 | - } | ||
156 | - if (getIdTarefaModulo() != null) { | ||
157 | - _hashCode += getIdTarefaModulo().hashCode(); | ||
158 | - } | ||
159 | - if (getDescricao() != null) { | ||
160 | - _hashCode += getDescricao().hashCode(); | ||
161 | - } | ||
162 | - if (getDataHora() != null) { | ||
163 | - _hashCode += getDataHora().hashCode(); | ||
164 | - } | ||
165 | - if (getUnidade() != null) { | ||
166 | - _hashCode += getUnidade().hashCode(); | ||
167 | - } | ||
168 | - if (getUsuario() != null) { | ||
169 | - _hashCode += getUsuario().hashCode(); | ||
170 | - } | ||
171 | - if (getAtributos() != null) { | ||
172 | - for (int i = 0; i < java.lang.reflect.Array.getLength(getAtributos()); i++) { | ||
173 | - java.lang.Object obj = java.lang.reflect.Array.get(getAtributos(), i); | ||
174 | - if (obj != null && !obj.getClass().isArray()) { | ||
175 | - _hashCode += obj.hashCode(); | ||
176 | - } | ||
177 | - } | ||
178 | - } | ||
179 | - __hashCodeCalc = false; | ||
180 | - return _hashCode; | ||
181 | - } | 32 | + |
182 | } | 33 | } |
src/main/java/br/gov/ans/integracao/sei/client/AndamentoMarcador.java
1 | -/** | ||
2 | - * AndamentoMarcador.java | ||
3 | - * | ||
4 | - * This file was auto-generated from WSDL | ||
5 | - * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter. | ||
6 | - */ | ||
7 | - | ||
8 | package br.gov.ans.integracao.sei.client; | 1 | package br.gov.ans.integracao.sei.client; |
9 | 2 | ||
10 | import java.io.Serializable; | 3 | import java.io.Serializable; |
@@ -13,126 +6,25 @@ import com.fasterxml.jackson.annotation.JsonIgnoreProperties; | @@ -13,126 +6,25 @@ import com.fasterxml.jackson.annotation.JsonIgnoreProperties; | ||
13 | import com.fasterxml.jackson.annotation.JsonInclude; | 6 | import com.fasterxml.jackson.annotation.JsonInclude; |
14 | import com.fasterxml.jackson.annotation.JsonInclude.Include; | 7 | import com.fasterxml.jackson.annotation.JsonInclude.Include; |
15 | 8 | ||
9 | +import lombok.AllArgsConstructor; | ||
10 | +import lombok.Builder; | ||
11 | +import lombok.Data; | ||
12 | +import lombok.NoArgsConstructor; | ||
13 | + | ||
16 | @JsonInclude(content = Include.NON_NULL) | 14 | @JsonInclude(content = Include.NON_NULL) |
17 | @JsonIgnoreProperties(ignoreUnknown = true) | 15 | @JsonIgnoreProperties(ignoreUnknown = true) |
16 | +@NoArgsConstructor | ||
17 | +@AllArgsConstructor | ||
18 | +@Data | ||
19 | +@Builder | ||
18 | public class AndamentoMarcador implements Serializable { | 20 | public class AndamentoMarcador implements Serializable { |
19 | 21 | ||
20 | private static final long serialVersionUID = 1L; | 22 | private static final long serialVersionUID = 1L; |
21 | 23 | ||
22 | private String idAndamentoMarcador; | 24 | private String idAndamentoMarcador; |
23 | - | ||
24 | private String texto; | 25 | private String texto; |
25 | - | ||
26 | private String dataHora; | 26 | private String dataHora; |
27 | - | ||
28 | private Usuario usuario; | 27 | private Usuario usuario; |
29 | - | ||
30 | private Marcador marcador; | 28 | private Marcador marcador; |
31 | 29 | ||
32 | - public AndamentoMarcador() { | ||
33 | - } | ||
34 | - | ||
35 | - public AndamentoMarcador(String idAndamentoMarcador, String texto, String dataHora, Usuario usuario, Marcador marcador) { | ||
36 | - this.idAndamentoMarcador = idAndamentoMarcador; | ||
37 | - this.texto = texto; | ||
38 | - this.dataHora = dataHora; | ||
39 | - this.usuario = usuario; | ||
40 | - this.marcador = marcador; | ||
41 | - } | ||
42 | - | ||
43 | - public String getIdAndamentoMarcador() { | ||
44 | - return idAndamentoMarcador; | ||
45 | - } | ||
46 | - | ||
47 | - public void setIdAndamentoMarcador(String idAndamentoMarcador) { | ||
48 | - this.idAndamentoMarcador = idAndamentoMarcador; | ||
49 | - } | ||
50 | - | ||
51 | - public String getTexto() { | ||
52 | - return texto; | ||
53 | - } | ||
54 | - | ||
55 | - public void setTexto(String texto) { | ||
56 | - this.texto = texto; | ||
57 | - } | ||
58 | - | ||
59 | - public String getDataHora() { | ||
60 | - return dataHora; | ||
61 | - } | ||
62 | - | ||
63 | - public void setDataHora(String dataHora) { | ||
64 | - this.dataHora = dataHora; | ||
65 | - } | ||
66 | - | ||
67 | - public Usuario getUsuario() { | ||
68 | - return usuario; | ||
69 | - } | ||
70 | - | ||
71 | - public void setUsuario(Usuario usuario) { | ||
72 | - this.usuario = usuario; | ||
73 | - } | ||
74 | - | ||
75 | - public Marcador getMarcador() { | ||
76 | - return marcador; | ||
77 | - } | ||
78 | - | ||
79 | - public void setMarcador(Marcador marcador) { | ||
80 | - this.marcador = marcador; | ||
81 | - } | ||
82 | - | ||
83 | - private Object __equalsCalc = null; | ||
84 | - | ||
85 | - public boolean equals(Object obj) { | ||
86 | - if (!(obj instanceof AndamentoMarcador)) | ||
87 | - return false; | ||
88 | - AndamentoMarcador other = (AndamentoMarcador) obj; | ||
89 | - if (this == obj) | ||
90 | - return true; | ||
91 | - if (__equalsCalc != null) { | ||
92 | - return (__equalsCalc == obj); | ||
93 | - } | ||
94 | - __equalsCalc = obj; | ||
95 | - boolean _equals; | ||
96 | - _equals = true | ||
97 | - && ((this.idAndamentoMarcador == null && other.getIdAndamentoMarcador() == null) | ||
98 | - || (this.idAndamentoMarcador != null | ||
99 | - && this.idAndamentoMarcador.equals(other.getIdAndamentoMarcador()))) | ||
100 | - && ((this.texto == null && other.getTexto() == null) | ||
101 | - || (this.texto != null && this.texto.equals(other.getTexto()))) | ||
102 | - && ((this.dataHora == null && other.getDataHora() == null) | ||
103 | - || (this.dataHora != null && this.dataHora.equals(other.getDataHora()))) | ||
104 | - && ((this.usuario == null && other.getUsuario() == null) | ||
105 | - || (this.usuario != null && this.usuario.equals(other.getUsuario()))) | ||
106 | - && ((this.marcador == null && other.getMarcador() == null) | ||
107 | - || (this.marcador != null && this.marcador.equals(other.getMarcador()))); | ||
108 | - __equalsCalc = null; | ||
109 | - return _equals; | ||
110 | - } | ||
111 | - | ||
112 | - private boolean __hashCodeCalc = false; | ||
113 | - | ||
114 | - public int hashCode() { | ||
115 | - if (__hashCodeCalc) { | ||
116 | - return 0; | ||
117 | - } | ||
118 | - __hashCodeCalc = true; | ||
119 | - int _hashCode = 1; | ||
120 | - if (getIdAndamentoMarcador() != null) { | ||
121 | - _hashCode += getIdAndamentoMarcador().hashCode(); | ||
122 | - } | ||
123 | - if (getTexto() != null) { | ||
124 | - _hashCode += getTexto().hashCode(); | ||
125 | - } | ||
126 | - if (getDataHora() != null) { | ||
127 | - _hashCode += getDataHora().hashCode(); | ||
128 | - } | ||
129 | - if (getUsuario() != null) { | ||
130 | - _hashCode += getUsuario().hashCode(); | ||
131 | - } | ||
132 | - if (getMarcador() != null) { | ||
133 | - _hashCode += getMarcador().hashCode(); | ||
134 | - } | ||
135 | - __hashCodeCalc = false; | ||
136 | - return _hashCode; | ||
137 | - } | ||
138 | } | 30 | } |
src/main/java/br/gov/ans/integracao/sei/client/ArquivoExtensao.java
1 | -/** | ||
2 | - * ArquivoExtensao.java | ||
3 | - * | ||
4 | - * This file was auto-generated from WSDL | ||
5 | - * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter. | ||
6 | - */ | ||
7 | - | ||
8 | package br.gov.ans.integracao.sei.client; | 1 | package br.gov.ans.integracao.sei.client; |
9 | 2 | ||
10 | 3 | ||
@@ -14,92 +7,23 @@ import com.fasterxml.jackson.annotation.JsonIgnoreProperties; | @@ -14,92 +7,23 @@ import com.fasterxml.jackson.annotation.JsonIgnoreProperties; | ||
14 | import com.fasterxml.jackson.annotation.JsonInclude; | 7 | import com.fasterxml.jackson.annotation.JsonInclude; |
15 | import com.fasterxml.jackson.annotation.JsonInclude.Include; | 8 | import com.fasterxml.jackson.annotation.JsonInclude.Include; |
16 | 9 | ||
10 | +import lombok.AllArgsConstructor; | ||
11 | +import lombok.Builder; | ||
12 | +import lombok.Data; | ||
13 | +import lombok.NoArgsConstructor; | ||
14 | + | ||
17 | @JsonInclude(content = Include.NON_NULL) | 15 | @JsonInclude(content = Include.NON_NULL) |
18 | @JsonIgnoreProperties(ignoreUnknown = true) | 16 | @JsonIgnoreProperties(ignoreUnknown = true) |
17 | +@NoArgsConstructor | ||
18 | +@AllArgsConstructor | ||
19 | +@Data | ||
20 | +@Builder | ||
19 | public class ArquivoExtensao implements Serializable { | 21 | public class ArquivoExtensao implements Serializable { |
20 | 22 | ||
21 | private static final long serialVersionUID = 1L; | 23 | private static final long serialVersionUID = 1L; |
22 | 24 | ||
23 | private String idArquivoExtensao; | 25 | private String idArquivoExtensao; |
24 | - | ||
25 | private String extensao; | 26 | private String extensao; |
26 | - | ||
27 | private String descricao; | 27 | private String descricao; |
28 | - | ||
29 | - public ArquivoExtensao() { | ||
30 | - } | ||
31 | - | ||
32 | - public ArquivoExtensao(String idArquivoExtensao, String extensao, String descricao) { | ||
33 | - this.idArquivoExtensao = idArquivoExtensao; | ||
34 | - this.extensao = extensao; | ||
35 | - this.descricao = descricao; | ||
36 | - } | ||
37 | - | ||
38 | - public String getIdArquivoExtensao() { | ||
39 | - return idArquivoExtensao; | ||
40 | - } | ||
41 | - | ||
42 | - public void setIdArquivoExtensao(String idArquivoExtensao) { | ||
43 | - this.idArquivoExtensao = idArquivoExtensao; | ||
44 | - } | ||
45 | - | ||
46 | - public String getExtensao() { | ||
47 | - return extensao; | ||
48 | - } | ||
49 | - | ||
50 | - public void setExtensao(String extensao) { | ||
51 | - this.extensao = extensao; | ||
52 | - } | ||
53 | - | ||
54 | - public String getDescricao() { | ||
55 | - return descricao; | ||
56 | - } | ||
57 | - | ||
58 | - public void setDescricao(String descricao) { | ||
59 | - this.descricao = descricao; | ||
60 | - } | ||
61 | - | ||
62 | - private Object __equalsCalc = null; | ||
63 | - | ||
64 | - public boolean equals(Object obj) { | ||
65 | - if (!(obj instanceof ArquivoExtensao)) | ||
66 | - return false; | ||
67 | - ArquivoExtensao other = (ArquivoExtensao) obj; | ||
68 | - if (this == obj) | ||
69 | - return true; | ||
70 | - if (__equalsCalc != null) { | ||
71 | - return (__equalsCalc == obj); | ||
72 | - } | ||
73 | - __equalsCalc = obj; | ||
74 | - boolean _equals; | ||
75 | - _equals = true && ((this.idArquivoExtensao == null && other.getIdArquivoExtensao() == null) | ||
76 | - || (this.idArquivoExtensao != null && this.idArquivoExtensao.equals(other.getIdArquivoExtensao()))) | ||
77 | - && ((this.extensao == null && other.getExtensao() == null) | ||
78 | - || (this.extensao != null && this.extensao.equals(other.getExtensao()))) | ||
79 | - && ((this.descricao == null && other.getDescricao() == null) | ||
80 | - || (this.descricao != null && this.descricao.equals(other.getDescricao()))); | ||
81 | - __equalsCalc = null; | ||
82 | - return _equals; | ||
83 | - } | ||
84 | - | ||
85 | - private boolean __hashCodeCalc = false; | ||
86 | - | ||
87 | - public int hashCode() { | ||
88 | - if (__hashCodeCalc) { | ||
89 | - return 0; | ||
90 | - } | ||
91 | - __hashCodeCalc = true; | ||
92 | - int _hashCode = 1; | ||
93 | - if (getIdArquivoExtensao() != null) { | ||
94 | - _hashCode += getIdArquivoExtensao().hashCode(); | ||
95 | - } | ||
96 | - if (getExtensao() != null) { | ||
97 | - _hashCode += getExtensao().hashCode(); | ||
98 | - } | ||
99 | - if (getDescricao() != null) { | ||
100 | - _hashCode += getDescricao().hashCode(); | ||
101 | - } | ||
102 | - __hashCodeCalc = false; | ||
103 | - return _hashCode; | ||
104 | - } | 28 | + |
105 | } | 29 | } |
src/main/java/br/gov/ans/integracao/sei/client/Assinatura.java
1 | -/** | ||
2 | - * Assinatura.java | ||
3 | - * | ||
4 | - * This file was auto-generated from WSDL | ||
5 | - * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter. | ||
6 | - */ | ||
7 | - | ||
8 | package br.gov.ans.integracao.sei.client; | 1 | package br.gov.ans.integracao.sei.client; |
9 | 2 | ||
10 | import java.io.Serializable; | 3 | import java.io.Serializable; |
@@ -13,157 +6,27 @@ import com.fasterxml.jackson.annotation.JsonIgnoreProperties; | @@ -13,157 +6,27 @@ import com.fasterxml.jackson.annotation.JsonIgnoreProperties; | ||
13 | import com.fasterxml.jackson.annotation.JsonInclude; | 6 | import com.fasterxml.jackson.annotation.JsonInclude; |
14 | import com.fasterxml.jackson.annotation.JsonInclude.Include; | 7 | import com.fasterxml.jackson.annotation.JsonInclude.Include; |
15 | 8 | ||
9 | +import lombok.AllArgsConstructor; | ||
10 | +import lombok.Builder; | ||
11 | +import lombok.Data; | ||
12 | +import lombok.NoArgsConstructor; | ||
13 | + | ||
16 | @JsonInclude(content = Include.NON_NULL) | 14 | @JsonInclude(content = Include.NON_NULL) |
17 | @JsonIgnoreProperties(ignoreUnknown = true) | 15 | @JsonIgnoreProperties(ignoreUnknown = true) |
16 | +@NoArgsConstructor | ||
17 | +@AllArgsConstructor | ||
18 | +@Data | ||
19 | +@Builder | ||
18 | public class Assinatura implements Serializable { | 20 | public class Assinatura implements Serializable { |
19 | 21 | ||
20 | private static final long serialVersionUID = 1L; | 22 | private static final long serialVersionUID = 1L; |
21 | 23 | ||
22 | private String nome; | 24 | private String nome; |
23 | - | ||
24 | private String cargoFuncao; | 25 | private String cargoFuncao; |
25 | - | ||
26 | private String dataHora; | 26 | private String dataHora; |
27 | - | ||
28 | private String idUsuario; | 27 | private String idUsuario; |
29 | - | ||
30 | private String idOrigem; | 28 | private String idOrigem; |
31 | - | ||
32 | private String idOrgao; | 29 | private String idOrgao; |
33 | - | ||
34 | private String sigla; | 30 | private String sigla; |
35 | - | ||
36 | - public Assinatura() { | ||
37 | - } | ||
38 | - | ||
39 | - public Assinatura(String nome, String cargoFuncao, String dataHora, String idUsuario, String idOrigem, String idOrgao, String sigla) { | ||
40 | - this.nome = nome; | ||
41 | - this.cargoFuncao = cargoFuncao; | ||
42 | - this.dataHora = dataHora; | ||
43 | - this.idUsuario = idUsuario; | ||
44 | - this.idOrigem = idOrigem; | ||
45 | - this.idOrgao = idOrgao; | ||
46 | - this.sigla = sigla; | ||
47 | - } | ||
48 | - | ||
49 | - public String getNome() { | ||
50 | - return nome; | ||
51 | - } | ||
52 | - | ||
53 | - public void setNome(String nome) { | ||
54 | - this.nome = nome; | ||
55 | - } | ||
56 | - | ||
57 | - public String getCargoFuncao() { | ||
58 | - return cargoFuncao; | ||
59 | - } | ||
60 | - | ||
61 | - public void setCargoFuncao(String cargoFuncao) { | ||
62 | - this.cargoFuncao = cargoFuncao; | ||
63 | - } | ||
64 | - | ||
65 | - public String getDataHora() { | ||
66 | - return dataHora; | ||
67 | - } | ||
68 | - | ||
69 | - public void setDataHora(String dataHora) { | ||
70 | - this.dataHora = dataHora; | ||
71 | - } | ||
72 | - | ||
73 | - public String getIdUsuario() { | ||
74 | - return idUsuario; | ||
75 | - } | ||
76 | - | ||
77 | - public void setIdUsuario(String idUsuario) { | ||
78 | - this.idUsuario = idUsuario; | ||
79 | - } | ||
80 | - | ||
81 | - public String getIdOrigem() { | ||
82 | - return idOrigem; | ||
83 | - } | ||
84 | - | ||
85 | - public void setIdOrigem(String idOrigem) { | ||
86 | - this.idOrigem = idOrigem; | ||
87 | - } | ||
88 | - | ||
89 | - public String getIdOrgao() { | ||
90 | - return idOrgao; | ||
91 | - } | ||
92 | - | ||
93 | - public void setIdOrgao(String idOrgao) { | ||
94 | - this.idOrgao = idOrgao; | ||
95 | - } | ||
96 | - | ||
97 | - public String getSigla() { | ||
98 | - return sigla; | ||
99 | - } | ||
100 | - | ||
101 | - public void setSigla(String sigla) { | ||
102 | - this.sigla = sigla; | ||
103 | - } | ||
104 | - | ||
105 | - private Object __equalsCalc = null; | ||
106 | - | ||
107 | - public boolean equals(Object obj) { | ||
108 | - if (!(obj instanceof Assinatura)) | ||
109 | - return false; | ||
110 | - Assinatura other = (Assinatura) obj; | ||
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 | - } | 31 | + |
169 | } | 32 | } |
src/main/java/br/gov/ans/integracao/sei/client/Assunto.java
1 | -/** | ||
2 | - * Assunto.java | ||
3 | - * | ||
4 | - * This file was auto-generated from WSDL | ||
5 | - * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter. | ||
6 | - */ | ||
7 | - | ||
8 | package br.gov.ans.integracao.sei.client; | 1 | package br.gov.ans.integracao.sei.client; |
9 | 2 | ||
10 | import java.io.Serializable; | 3 | import java.io.Serializable; |
@@ -13,76 +6,22 @@ import com.fasterxml.jackson.annotation.JsonIgnoreProperties; | @@ -13,76 +6,22 @@ import com.fasterxml.jackson.annotation.JsonIgnoreProperties; | ||
13 | import com.fasterxml.jackson.annotation.JsonInclude; | 6 | import com.fasterxml.jackson.annotation.JsonInclude; |
14 | import com.fasterxml.jackson.annotation.JsonInclude.Include; | 7 | import com.fasterxml.jackson.annotation.JsonInclude.Include; |
15 | 8 | ||
9 | +import lombok.AllArgsConstructor; | ||
10 | +import lombok.Builder; | ||
11 | +import lombok.Data; | ||
12 | +import lombok.NoArgsConstructor; | ||
13 | + | ||
16 | @JsonInclude(content = Include.NON_NULL) | 14 | @JsonInclude(content = Include.NON_NULL) |
17 | @JsonIgnoreProperties(ignoreUnknown = true) | 15 | @JsonIgnoreProperties(ignoreUnknown = true) |
16 | +@NoArgsConstructor | ||
17 | +@AllArgsConstructor | ||
18 | +@Data | ||
19 | +@Builder | ||
18 | public class Assunto implements Serializable { | 20 | public class Assunto implements Serializable { |
19 | 21 | ||
20 | private static final long serialVersionUID = 1L; | 22 | private static final long serialVersionUID = 1L; |
21 | 23 | ||
22 | private String codigoEstruturado; | 24 | private String codigoEstruturado; |
23 | - | ||
24 | private String descricao; | 25 | private String descricao; |
25 | - | ||
26 | - public Assunto() { | ||
27 | - } | ||
28 | - | ||
29 | - public Assunto(String codigoEstruturado, String descricao) { | ||
30 | - this.codigoEstruturado = codigoEstruturado; | ||
31 | - this.descricao = descricao; | ||
32 | - } | ||
33 | - | ||
34 | - public String getCodigoEstruturado() { | ||
35 | - return codigoEstruturado; | ||
36 | - } | ||
37 | - | ||
38 | - public void setCodigoEstruturado(String codigoEstruturado) { | ||
39 | - this.codigoEstruturado = codigoEstruturado; | ||
40 | - } | ||
41 | - | ||
42 | - public String getDescricao() { | ||
43 | - return descricao; | ||
44 | - } | ||
45 | - | ||
46 | - public void setDescricao(String descricao) { | ||
47 | - this.descricao = descricao; | ||
48 | - } | ||
49 | - | ||
50 | - private Object __equalsCalc = null; | ||
51 | - | ||
52 | - public boolean equals(Object obj) { | ||
53 | - if (!(obj instanceof Assunto)) | ||
54 | - return false; | ||
55 | - Assunto other = (Assunto) obj; | ||
56 | - if (this == obj) | ||
57 | - return true; | ||
58 | - if (__equalsCalc != null) { | ||
59 | - return (__equalsCalc == obj); | ||
60 | - } | ||
61 | - __equalsCalc = obj; | ||
62 | - boolean _equals; | ||
63 | - _equals = true && ((this.codigoEstruturado == null && other.getCodigoEstruturado() == null) | ||
64 | - || (this.codigoEstruturado != null && this.codigoEstruturado.equals(other.getCodigoEstruturado()))) | ||
65 | - && ((this.descricao == null && other.getDescricao() == null) | ||
66 | - || (this.descricao != null && this.descricao.equals(other.getDescricao()))); | ||
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 (getCodigoEstruturado() != null) { | ||
80 | - _hashCode += getCodigoEstruturado().hashCode(); | ||
81 | - } | ||
82 | - if (getDescricao() != null) { | ||
83 | - _hashCode += getDescricao().hashCode(); | ||
84 | - } | ||
85 | - __hashCodeCalc = false; | ||
86 | - return _hashCode; | ||
87 | - } | 26 | + |
88 | } | 27 | } |
src/main/java/br/gov/ans/integracao/sei/client/AtributoAndamento.java
1 | -/** | ||
2 | - * AtributoAndamento.java | ||
3 | - * | ||
4 | - * This file was auto-generated from WSDL | ||
5 | - * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter. | ||
6 | - */ | ||
7 | - | ||
8 | package br.gov.ans.integracao.sei.client; | 1 | package br.gov.ans.integracao.sei.client; |
9 | 2 | ||
10 | import java.io.Serializable; | 3 | import java.io.Serializable; |
@@ -13,98 +6,23 @@ import com.fasterxml.jackson.annotation.JsonIgnoreProperties; | @@ -13,98 +6,23 @@ import com.fasterxml.jackson.annotation.JsonIgnoreProperties; | ||
13 | import com.fasterxml.jackson.annotation.JsonInclude; | 6 | import com.fasterxml.jackson.annotation.JsonInclude; |
14 | import com.fasterxml.jackson.annotation.JsonInclude.Include; | 7 | import com.fasterxml.jackson.annotation.JsonInclude.Include; |
15 | 8 | ||
9 | +import lombok.AllArgsConstructor; | ||
10 | +import lombok.Builder; | ||
11 | +import lombok.Data; | ||
12 | +import lombok.NoArgsConstructor; | ||
13 | + | ||
16 | @JsonInclude(content = Include.NON_NULL) | 14 | @JsonInclude(content = Include.NON_NULL) |
17 | @JsonIgnoreProperties(ignoreUnknown = true) | 15 | @JsonIgnoreProperties(ignoreUnknown = true) |
16 | +@NoArgsConstructor | ||
17 | +@AllArgsConstructor | ||
18 | +@Data | ||
19 | +@Builder | ||
18 | class AtributoAndamento implements Serializable { | 20 | class AtributoAndamento implements Serializable { |
19 | 21 | ||
20 | static final long serialVersionUID = 1L; | 22 | static final long serialVersionUID = 1L; |
21 | 23 | ||
22 | private String nome; | 24 | private String nome; |
23 | - | ||
24 | private String valor; | 25 | private String valor; |
25 | - | ||
26 | private String idOrigem; | 26 | private String idOrigem; |
27 | - | ||
28 | - public AtributoAndamento() { | ||
29 | - } | ||
30 | - | ||
31 | - public AtributoAndamento(String nome, String valor) { | ||
32 | - this.nome = nome; | ||
33 | - this.valor = valor; | ||
34 | - } | ||
35 | - | ||
36 | - public AtributoAndamento(String nome, String valor, String idOrigem) { | ||
37 | - this.nome = nome; | ||
38 | - this.valor = valor; | ||
39 | - this.idOrigem = idOrigem; | ||
40 | - } | ||
41 | - | ||
42 | - public String getNome() { | ||
43 | - return nome; | ||
44 | - } | ||
45 | - | ||
46 | - public void setNome(String nome) { | ||
47 | - this.nome = nome; | ||
48 | - } | ||
49 | - | ||
50 | - public String getValor() { | ||
51 | - return valor; | ||
52 | - } | ||
53 | - | ||
54 | - public void setValor(String valor) { | ||
55 | - this.valor = valor; | ||
56 | - } | ||
57 | - | ||
58 | - public String getIdOrigem() { | ||
59 | - return idOrigem; | ||
60 | - } | ||
61 | - | ||
62 | - public void setIdOrigem(String idOrigem) { | ||
63 | - this.idOrigem = idOrigem; | ||
64 | - } | ||
65 | - | ||
66 | - private Object __equalsCalc = null; | ||
67 | - | ||
68 | - public boolean equals(Object obj) { | ||
69 | - if (!(obj instanceof AtributoAndamento)) | ||
70 | - return false; | ||
71 | - AtributoAndamento other = (AtributoAndamento) obj; | ||
72 | - if (this == obj) | ||
73 | - return true; | ||
74 | - if (__equalsCalc != null) { | ||
75 | - return (__equalsCalc == obj); | ||
76 | - } | ||
77 | - __equalsCalc = obj; | ||
78 | - boolean _equals; | ||
79 | - _equals = true | ||
80 | - && ((this.nome == null && other.getNome() == null) | ||
81 | - || (this.nome != null && this.nome.equals(other.getNome()))) | ||
82 | - && ((this.valor == null && other.getValor() == null) | ||
83 | - || (this.valor != null && this.valor.equals(other.getValor()))) | ||
84 | - && ((this.idOrigem == null && other.getIdOrigem() == null) | ||
85 | - || (this.idOrigem != null && this.idOrigem.equals(other.getIdOrigem()))); | ||
86 | - __equalsCalc = null; | ||
87 | - return _equals; | ||
88 | - } | ||
89 | - | ||
90 | - private boolean __hashCodeCalc = false; | ||
91 | - | ||
92 | - public int hashCode() { | ||
93 | - if (__hashCodeCalc) { | ||
94 | - return 0; | ||
95 | - } | ||
96 | - __hashCodeCalc = true; | ||
97 | - int _hashCode = 1; | ||
98 | - if (getNome() != null) { | ||
99 | - _hashCode += getNome().hashCode(); | ||
100 | - } | ||
101 | - if (getValor() != null) { | ||
102 | - _hashCode += getValor().hashCode(); | ||
103 | - } | ||
104 | - if (getIdOrigem() != null) { | ||
105 | - _hashCode += getIdOrigem().hashCode(); | ||
106 | - } | ||
107 | - __hashCodeCalc = false; | ||
108 | - return _hashCode; | ||
109 | - } | 27 | + |
110 | } | 28 | } |
src/main/java/br/gov/ans/integracao/sei/client/Campo.java
1 | -/** | ||
2 | - * Campo.java | ||
3 | - * | ||
4 | - * This file was auto-generated from WSDL | ||
5 | - * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter. | ||
6 | - */ | ||
7 | - | ||
8 | package br.gov.ans.integracao.sei.client; | 1 | package br.gov.ans.integracao.sei.client; |
9 | 2 | ||
10 | import java.io.Serializable; | 3 | import java.io.Serializable; |
@@ -13,77 +6,22 @@ import com.fasterxml.jackson.annotation.JsonIgnoreProperties; | @@ -13,77 +6,22 @@ import com.fasterxml.jackson.annotation.JsonIgnoreProperties; | ||
13 | import com.fasterxml.jackson.annotation.JsonInclude; | 6 | import com.fasterxml.jackson.annotation.JsonInclude; |
14 | import com.fasterxml.jackson.annotation.JsonInclude.Include; | 7 | import com.fasterxml.jackson.annotation.JsonInclude.Include; |
15 | 8 | ||
9 | +import lombok.AllArgsConstructor; | ||
10 | +import lombok.Builder; | ||
11 | +import lombok.Data; | ||
12 | +import lombok.NoArgsConstructor; | ||
13 | + | ||
16 | @JsonInclude(content = Include.NON_NULL) | 14 | @JsonInclude(content = Include.NON_NULL) |
17 | @JsonIgnoreProperties(ignoreUnknown = true) | 15 | @JsonIgnoreProperties(ignoreUnknown = true) |
16 | +@NoArgsConstructor | ||
17 | +@AllArgsConstructor | ||
18 | +@Data | ||
19 | +@Builder | ||
18 | public class Campo implements Serializable { | 20 | public class Campo implements Serializable { |
19 | 21 | ||
20 | private static final long serialVersionUID = 1L; | 22 | private static final long serialVersionUID = 1L; |
21 | 23 | ||
22 | private String nome; | 24 | private String nome; |
23 | - | ||
24 | private String valor; | 25 | private String valor; |
25 | 26 | ||
26 | - public Campo() { | ||
27 | - } | ||
28 | - | ||
29 | - public Campo(String nome, String valor) { | ||
30 | - this.nome = nome; | ||
31 | - this.valor = valor; | ||
32 | - } | ||
33 | - | ||
34 | - public String getNome() { | ||
35 | - return nome; | ||
36 | - } | ||
37 | - | ||
38 | - public void setNome(String nome) { | ||
39 | - this.nome = nome; | ||
40 | - } | ||
41 | - | ||
42 | - public String getValor() { | ||
43 | - return valor; | ||
44 | - } | ||
45 | - | ||
46 | - public void setValor(String valor) { | ||
47 | - this.valor = valor; | ||
48 | - } | ||
49 | - | ||
50 | - private Object __equalsCalc = null; | ||
51 | - | ||
52 | - public boolean equals(Object obj) { | ||
53 | - if (!(obj instanceof Campo)) | ||
54 | - return false; | ||
55 | - Campo other = (Campo) obj; | ||
56 | - if (this == obj) | ||
57 | - return true; | ||
58 | - if (__equalsCalc != null) { | ||
59 | - return (__equalsCalc == obj); | ||
60 | - } | ||
61 | - __equalsCalc = obj; | ||
62 | - boolean _equals; | ||
63 | - _equals = true | ||
64 | - && ((this.nome == null && other.getNome() == null) | ||
65 | - || (this.nome != null && this.nome.equals(other.getNome()))) | ||
66 | - && ((this.valor == null && other.getValor() == null) | ||
67 | - || (this.valor != null && this.valor.equals(other.getValor()))); | ||
68 | - __equalsCalc = null; | ||
69 | - return _equals; | ||
70 | - } | ||
71 | - | ||
72 | - private boolean __hashCodeCalc = false; | ||
73 | - | ||
74 | - public int hashCode() { | ||
75 | - if (__hashCodeCalc) { | ||
76 | - return 0; | ||
77 | - } | ||
78 | - __hashCodeCalc = true; | ||
79 | - int _hashCode = 1; | ||
80 | - if (getNome() != null) { | ||
81 | - _hashCode += getNome().hashCode(); | ||
82 | - } | ||
83 | - if (getValor() != null) { | ||
84 | - _hashCode += getValor().hashCode(); | ||
85 | - } | ||
86 | - __hashCodeCalc = false; | ||
87 | - return _hashCode; | ||
88 | - } | ||
89 | } | 27 | } |
src/main/java/br/gov/ans/integracao/sei/client/Cargo.java
1 | -/** | ||
2 | - * Cargo.java | ||
3 | - * | ||
4 | - * This file was auto-generated from WSDL | ||
5 | - * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter. | ||
6 | - */ | ||
7 | - | ||
8 | package br.gov.ans.integracao.sei.client; | 1 | package br.gov.ans.integracao.sei.client; |
9 | 2 | ||
10 | import java.io.Serializable; | 3 | import java.io.Serializable; |
@@ -13,111 +6,24 @@ import com.fasterxml.jackson.annotation.JsonIgnoreProperties; | @@ -13,111 +6,24 @@ import com.fasterxml.jackson.annotation.JsonIgnoreProperties; | ||
13 | import com.fasterxml.jackson.annotation.JsonInclude; | 6 | import com.fasterxml.jackson.annotation.JsonInclude; |
14 | import com.fasterxml.jackson.annotation.JsonInclude.Include; | 7 | import com.fasterxml.jackson.annotation.JsonInclude.Include; |
15 | 8 | ||
9 | +import lombok.AllArgsConstructor; | ||
10 | +import lombok.Builder; | ||
11 | +import lombok.Data; | ||
12 | +import lombok.NoArgsConstructor; | ||
13 | + | ||
16 | @JsonInclude(content = Include.NON_NULL) | 14 | @JsonInclude(content = Include.NON_NULL) |
17 | @JsonIgnoreProperties(ignoreUnknown = true) | 15 | @JsonIgnoreProperties(ignoreUnknown = true) |
16 | +@NoArgsConstructor | ||
17 | +@AllArgsConstructor | ||
18 | +@Data | ||
19 | +@Builder | ||
18 | public class Cargo implements Serializable { | 20 | public class Cargo implements Serializable { |
19 | 21 | ||
20 | private static final long serialVersionUID = 1L; | 22 | private static final long serialVersionUID = 1L; |
21 | 23 | ||
22 | private String idCargo; | 24 | private String idCargo; |
23 | - | ||
24 | private String expressaoCargo; | 25 | private String expressaoCargo; |
25 | - | ||
26 | private String expressaoTratamento; | 26 | private String expressaoTratamento; |
27 | - | ||
28 | private String expressaoVocativo; | 27 | private String expressaoVocativo; |
29 | - | ||
30 | - public Cargo() { | ||
31 | - } | ||
32 | - | ||
33 | - public Cargo(String idCargo, String expressaoCargo, String expressaoTratamento, String expressaoVocativo) { | ||
34 | - this.idCargo = idCargo; | ||
35 | - this.expressaoCargo = expressaoCargo; | ||
36 | - this.expressaoTratamento = expressaoTratamento; | ||
37 | - this.expressaoVocativo = expressaoVocativo; | ||
38 | - } | ||
39 | - | ||
40 | - public String getIdCargo() { | ||
41 | - return idCargo; | ||
42 | - } | ||
43 | - | ||
44 | - public void setIdCargo(String idCargo) { | ||
45 | - this.idCargo = idCargo; | ||
46 | - } | ||
47 | - | ||
48 | - public String getExpressaoCargo() { | ||
49 | - return expressaoCargo; | ||
50 | - } | ||
51 | - | ||
52 | - public void setExpressaoCargo(String expressaoCargo) { | ||
53 | - this.expressaoCargo = expressaoCargo; | ||
54 | - } | ||
55 | - | ||
56 | - public String getExpressaoTratamento() { | ||
57 | - return expressaoTratamento; | ||
58 | - } | ||
59 | - | ||
60 | - public void setExpressaoTratamento(String expressaoTratamento) { | ||
61 | - this.expressaoTratamento = expressaoTratamento; | ||
62 | - } | ||
63 | - | ||
64 | - public String getExpressaoVocativo() { | ||
65 | - return expressaoVocativo; | ||
66 | - } | ||
67 | - | ||
68 | - public void setExpressaoVocativo(String expressaoVocativo) { | ||
69 | - this.expressaoVocativo = expressaoVocativo; | ||
70 | - } | ||
71 | - | ||
72 | - private Object __equalsCalc = null; | ||
73 | - | ||
74 | - public boolean equals(Object obj) { | ||
75 | - if (!(obj instanceof Cargo)) | ||
76 | - return false; | ||
77 | - Cargo other = (Cargo) obj; | ||
78 | - if (this == obj) | ||
79 | - return true; | ||
80 | - if (__equalsCalc != null) { | ||
81 | - return (__equalsCalc == obj); | ||
82 | - } | ||
83 | - __equalsCalc = obj; | ||
84 | - boolean _equals; | ||
85 | - _equals = true | ||
86 | - && ((this.idCargo == null && other.getIdCargo() == null) | ||
87 | - || (this.idCargo != null && this.idCargo.equals(other.getIdCargo()))) | ||
88 | - && ((this.expressaoCargo == null && other.getExpressaoCargo() == null) | ||
89 | - || (this.expressaoCargo != null && this.expressaoCargo.equals(other.getExpressaoCargo()))) | ||
90 | - && ((this.expressaoTratamento == null && other.getExpressaoTratamento() == null) | ||
91 | - || (this.expressaoTratamento != null | ||
92 | - && this.expressaoTratamento.equals(other.getExpressaoTratamento()))) | ||
93 | - && ((this.expressaoVocativo == null && other.getExpressaoVocativo() == null) | ||
94 | - || (this.expressaoVocativo != null | ||
95 | - && this.expressaoVocativo.equals(other.getExpressaoVocativo()))); | ||
96 | - __equalsCalc = null; | ||
97 | - return _equals; | ||
98 | - } | ||
99 | - | ||
100 | - private boolean __hashCodeCalc = false; | ||
101 | - | ||
102 | - public int hashCode() { | ||
103 | - if (__hashCodeCalc) { | ||
104 | - return 0; | ||
105 | - } | ||
106 | - __hashCodeCalc = true; | ||
107 | - int _hashCode = 1; | ||
108 | - if (getIdCargo() != null) { | ||
109 | - _hashCode += getIdCargo().hashCode(); | ||
110 | - } | ||
111 | - if (getExpressaoCargo() != null) { | ||
112 | - _hashCode += getExpressaoCargo().hashCode(); | ||
113 | - } | ||
114 | - if (getExpressaoTratamento() != null) { | ||
115 | - _hashCode += getExpressaoTratamento().hashCode(); | ||
116 | - } | ||
117 | - if (getExpressaoVocativo() != null) { | ||
118 | - _hashCode += getExpressaoVocativo().hashCode(); | ||
119 | - } | ||
120 | - __hashCodeCalc = false; | ||
121 | - return _hashCode; | ||
122 | - } | 28 | + |
123 | } | 29 | } |
src/main/java/br/gov/ans/integracao/sei/client/Cidade.java
1 | -/** | ||
2 | - * Cidade.java | ||
3 | - * | ||
4 | - * This file was auto-generated from WSDL | ||
5 | - * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter. | ||
6 | - */ | ||
7 | - | ||
8 | package br.gov.ans.integracao.sei.client; | 1 | package br.gov.ans.integracao.sei.client; |
9 | 2 | ||
10 | import java.io.Serializable; | 3 | import java.io.Serializable; |
@@ -13,162 +6,28 @@ import com.fasterxml.jackson.annotation.JsonIgnoreProperties; | @@ -13,162 +6,28 @@ import com.fasterxml.jackson.annotation.JsonIgnoreProperties; | ||
13 | import com.fasterxml.jackson.annotation.JsonInclude; | 6 | import com.fasterxml.jackson.annotation.JsonInclude; |
14 | import com.fasterxml.jackson.annotation.JsonInclude.Include; | 7 | import com.fasterxml.jackson.annotation.JsonInclude.Include; |
15 | 8 | ||
9 | +import lombok.AllArgsConstructor; | ||
10 | +import lombok.Builder; | ||
11 | +import lombok.Data; | ||
12 | +import lombok.NoArgsConstructor; | ||
13 | + | ||
16 | @JsonInclude(content = Include.NON_NULL) | 14 | @JsonInclude(content = Include.NON_NULL) |
17 | @JsonIgnoreProperties(ignoreUnknown = true) | 15 | @JsonIgnoreProperties(ignoreUnknown = true) |
16 | +@NoArgsConstructor | ||
17 | +@AllArgsConstructor | ||
18 | +@Data | ||
19 | +@Builder | ||
18 | public class Cidade implements Serializable { | 20 | public class Cidade implements Serializable { |
19 | 21 | ||
20 | private static final long serialVersionUID = 1L; | 22 | private static final long serialVersionUID = 1L; |
21 | 23 | ||
22 | private String idCidade; | 24 | private String idCidade; |
23 | - | ||
24 | private String idEstado; | 25 | private String idEstado; |
25 | - | ||
26 | private String idPais; | 26 | private String idPais; |
27 | - | ||
28 | private String nome; | 27 | private String nome; |
29 | - | ||
30 | private String codigoIbge; | 28 | private String codigoIbge; |
31 | - | ||
32 | private String sinCapital; | 29 | private String sinCapital; |
33 | - | ||
34 | private String latitude; | 30 | private String latitude; |
35 | - | ||
36 | private String longitude; | 31 | private String longitude; |
37 | 32 | ||
38 | - public Cidade() { | ||
39 | - } | ||
40 | - | ||
41 | - public Cidade(String ibge) { | ||
42 | - this.codigoIbge = ibge; | ||
43 | - } | ||
44 | - | ||
45 | - public Cidade(String idCidade, String idEstado, String idPais, String nome, String codigoIbge, String sinCapital, String latitude, String longitude) { | ||
46 | - this.idCidade = idCidade; | ||
47 | - this.idEstado = idEstado; | ||
48 | - this.idPais = idPais; | ||
49 | - this.nome = nome; | ||
50 | - this.codigoIbge = codigoIbge; | ||
51 | - this.sinCapital = sinCapital; | ||
52 | - this.latitude = latitude; | ||
53 | - this.longitude = longitude; | ||
54 | - } | ||
55 | - | ||
56 | - public String getIdCidade() { | ||
57 | - return idCidade; | ||
58 | - } | ||
59 | - | ||
60 | - public void setIdCidade(String idCidade) { | ||
61 | - this.idCidade = idCidade; | ||
62 | - } | ||
63 | - | ||
64 | - public String getIdEstado() { | ||
65 | - return idEstado; | ||
66 | - } | ||
67 | - | ||
68 | - public void setIdEstado(String idEstado) { | ||
69 | - this.idEstado = idEstado; | ||
70 | - } | ||
71 | - | ||
72 | - public String getIdPais() { | ||
73 | - return idPais; | ||
74 | - } | ||
75 | - | ||
76 | - public void setIdPais(String idPais) { | ||
77 | - this.idPais = idPais; | ||
78 | - } | ||
79 | - | ||
80 | - public String getNome() { | ||
81 | - return nome; | ||
82 | - } | ||
83 | - | ||
84 | - public void setNome(String nome) { | ||
85 | - this.nome = nome; | ||
86 | - } | ||
87 | - | ||
88 | - public String getCodigoIbge() { | ||
89 | - return codigoIbge; | ||
90 | - } | ||
91 | - | ||
92 | - public void setCodigoIbge(String codigoIbge) { | ||
93 | - this.codigoIbge = codigoIbge; | ||
94 | - } | ||
95 | - | ||
96 | - public String getSinCapital() { | ||
97 | - return sinCapital; | ||
98 | - } | ||
99 | - | ||
100 | - public void setSinCapital(String sinCapital) { | ||
101 | - this.sinCapital = sinCapital; | ||
102 | - } | ||
103 | - | ||
104 | - public String getLatitude() { | ||
105 | - return latitude; | ||
106 | - } | ||
107 | - | ||
108 | - public void setLatitude(String latitude) { | ||
109 | - this.latitude = latitude; | ||
110 | - } | ||
111 | - | ||
112 | - public String getLongitude() { | ||
113 | - return longitude; | ||
114 | - } | ||
115 | - | ||
116 | - public void setLongitude(String longitude) { | ||
117 | - this.longitude = longitude; | ||
118 | - } | ||
119 | - | ||
120 | - private Object __equalsCalc = null; | ||
121 | - | ||
122 | - public boolean equals(Object obj) { | ||
123 | - if (!(obj instanceof Cidade)) | ||
124 | - return false; | ||
125 | - Cidade other = (Cidade) obj; | ||
126 | - if (this == obj) | ||
127 | - return true; | ||
128 | - if (__equalsCalc != null) { | ||
129 | - return (__equalsCalc == obj); | ||
130 | - } | ||
131 | - __equalsCalc = obj; | ||
132 | - boolean _equals; | ||
133 | - _equals = true && ((this.codigoIbge == null && other.getCodigoIbge() == null) | ||
134 | - || (this.codigoIbge != null && this.codigoIbge.equals(other.getCodigoIbge()))); | ||
135 | - __equalsCalc = null; | ||
136 | - return _equals; | ||
137 | - } | ||
138 | - | ||
139 | - private boolean __hashCodeCalc = false; | ||
140 | - | ||
141 | - public int hashCode() { | ||
142 | - if (__hashCodeCalc) { | ||
143 | - return 0; | ||
144 | - } | ||
145 | - __hashCodeCalc = true; | ||
146 | - int _hashCode = 1; | ||
147 | - if (getIdCidade() != null) { | ||
148 | - _hashCode += getIdCidade().hashCode(); | ||
149 | - } | ||
150 | - if (getIdEstado() != null) { | ||
151 | - _hashCode += getIdEstado().hashCode(); | ||
152 | - } | ||
153 | - if (getIdPais() != null) { | ||
154 | - _hashCode += getIdPais().hashCode(); | ||
155 | - } | ||
156 | - if (getNome() != null) { | ||
157 | - _hashCode += getNome().hashCode(); | ||
158 | - } | ||
159 | - if (getCodigoIbge() != null) { | ||
160 | - _hashCode += getCodigoIbge().hashCode(); | ||
161 | - } | ||
162 | - if (getSinCapital() != null) { | ||
163 | - _hashCode += getSinCapital().hashCode(); | ||
164 | - } | ||
165 | - if (getLatitude() != null) { | ||
166 | - _hashCode += getLatitude().hashCode(); | ||
167 | - } | ||
168 | - if (getLongitude() != null) { | ||
169 | - _hashCode += getLongitude().hashCode(); | ||
170 | - } | ||
171 | - __hashCodeCalc = false; | ||
172 | - return _hashCode; | ||
173 | - } | ||
174 | } | 33 | } |
src/main/java/br/gov/ans/integracao/sei/client/Contato.java
1 | -/** | ||
2 | - * Contato.java | ||
3 | - * | ||
4 | - * This file was auto-generated from WSDL | ||
5 | - * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter. | ||
6 | - */ | ||
7 | - | ||
8 | package br.gov.ans.integracao.sei.client; | 1 | package br.gov.ans.integracao.sei.client; |
9 | 2 | ||
10 | import java.io.Serializable; | 3 | import java.io.Serializable; |
@@ -13,688 +6,59 @@ import com.fasterxml.jackson.annotation.JsonIgnoreProperties; | @@ -13,688 +6,59 @@ import com.fasterxml.jackson.annotation.JsonIgnoreProperties; | ||
13 | import com.fasterxml.jackson.annotation.JsonInclude; | 6 | import com.fasterxml.jackson.annotation.JsonInclude; |
14 | import com.fasterxml.jackson.annotation.JsonInclude.Include; | 7 | import com.fasterxml.jackson.annotation.JsonInclude.Include; |
15 | 8 | ||
9 | +import lombok.AllArgsConstructor; | ||
10 | +import lombok.Builder; | ||
11 | +import lombok.Data; | ||
12 | +import lombok.NoArgsConstructor; | ||
13 | + | ||
16 | @JsonInclude(content = Include.NON_NULL) | 14 | @JsonInclude(content = Include.NON_NULL) |
17 | @JsonIgnoreProperties(ignoreUnknown = true) | 15 | @JsonIgnoreProperties(ignoreUnknown = true) |
16 | +@NoArgsConstructor | ||
17 | +@AllArgsConstructor | ||
18 | +@Data | ||
19 | +@Builder | ||
18 | public class Contato implements Serializable { | 20 | public class Contato implements Serializable { |
19 | 21 | ||
20 | private static final long serialVersionUID = 1L; | 22 | private static final long serialVersionUID = 1L; |
21 | 23 | ||
22 | private String staOperacao; | 24 | private String staOperacao; |
23 | - | ||
24 | private String idContato; | 25 | private String idContato; |
25 | - | ||
26 | private String idTipoContato; | 26 | private String idTipoContato; |
27 | - | ||
28 | private String nomeTipoContato; | 27 | private String nomeTipoContato; |
29 | - | ||
30 | private String sigla; | 28 | private String sigla; |
31 | - | ||
32 | private String nome; | 29 | private String nome; |
33 | - | ||
34 | private String staNatureza; | 30 | private String staNatureza; |
35 | - | ||
36 | private String idContatoAssociado; | 31 | private String idContatoAssociado; |
37 | - | ||
38 | private String nomeContatoAssociado; | 32 | private String nomeContatoAssociado; |
39 | - | ||
40 | private String sinEnderecoAssociado; | 33 | private String sinEnderecoAssociado; |
41 | - | ||
42 | private String cnpjAssociado; | 34 | private String cnpjAssociado; |
43 | - | ||
44 | private String endereco; | 35 | private String endereco; |
45 | - | ||
46 | private String complemento; | 36 | private String complemento; |
47 | - | ||
48 | private String bairro; | 37 | private String bairro; |
49 | - | ||
50 | private String idCidade; | 38 | private String idCidade; |
51 | - | ||
52 | private String nomeCidade; | 39 | private String nomeCidade; |
53 | - | ||
54 | private String idEstado; | 40 | private String idEstado; |
55 | - | ||
56 | private String siglaEstado; | 41 | private String siglaEstado; |
57 | - | ||
58 | private String idPais; | 42 | private String idPais; |
59 | - | ||
60 | private String nomePais; | 43 | private String nomePais; |
61 | - | ||
62 | private String cep; | 44 | private String cep; |
63 | - | ||
64 | private String staGenero; | 45 | private String staGenero; |
65 | - | ||
66 | private String idCargo; | 46 | private String idCargo; |
67 | - | ||
68 | private String expressaoCargo; | 47 | private String expressaoCargo; |
69 | - | ||
70 | private String expressaoTratamento; | 48 | private String expressaoTratamento; |
71 | - | ||
72 | private String expressaoVocativo; | 49 | private String expressaoVocativo; |
73 | - | ||
74 | private String cpf; | 50 | private String cpf; |
75 | - | ||
76 | private String cnpj; | 51 | private String cnpj; |
77 | - | ||
78 | private String rg; | 52 | private String rg; |
79 | - | ||
80 | private String orgaoExpedidor; | 53 | private String orgaoExpedidor; |
81 | - | ||
82 | private String matricula; | 54 | private String matricula; |
83 | - | ||
84 | private String matriculaOab; | 55 | private String matriculaOab; |
85 | - | ||
86 | private String telefoneFixo; | 56 | private String telefoneFixo; |
87 | - | ||
88 | private String telefoneCelular; | 57 | private String telefoneCelular; |
89 | - | ||
90 | private String dataNascimento; | 58 | private String dataNascimento; |
91 | - | ||
92 | private String email; | 59 | private String email; |
93 | - | ||
94 | private String sitioInternet; | 60 | private String sitioInternet; |
95 | - | ||
96 | private String observacao; | 61 | private String observacao; |
97 | - | ||
98 | private String sinAtivo; | 62 | private String sinAtivo; |
99 | 63 | ||
100 | - public Contato() { | ||
101 | - } | ||
102 | - | ||
103 | - public Contato(String staOperacao, String idContato, String idTipoContato, | ||
104 | - String nomeTipoContato, String sigla, String nome, | ||
105 | - String staNatureza, String idContatoAssociado, String nomeContatoAssociado, | ||
106 | - String sinEnderecoAssociado, String enderecoAssociado, | ||
107 | - String complementoAssociado, String bairroAssociado, String idCidadeAssociado, | ||
108 | - String nomeCidadeAssociado, String idEstadoAssociado, | ||
109 | - String siglaEstadoAssociado, String idPaisAssociado, String nomePaisAssociado, | ||
110 | - String cnpjAssociado, String endereco, String complemento, | ||
111 | - String bairro, String idCidade, String nomeCidade, String idEstado, | ||
112 | - String siglaEstado, String idPais, String nomePais, String cep, | ||
113 | - String staGenero, String idCargo, String expressaoCargo, | ||
114 | - String expressaoTratamento, String expressaoVocativo, String cpf, | ||
115 | - String cnpj, String rg, String orgaoExpedidor, String matricula, | ||
116 | - String matriculaOab, String telefoneFixo, String telefoneCelular, | ||
117 | - String dataNascimento, String email, String sitioInternet, | ||
118 | - String observacao, String sinAtivo) { | ||
119 | - this.staOperacao = staOperacao; | ||
120 | - this.idContato = idContato; | ||
121 | - this.idTipoContato = idTipoContato; | ||
122 | - this.nomeTipoContato = nomeTipoContato; | ||
123 | - this.sigla = sigla; | ||
124 | - this.nome = nome; | ||
125 | - this.staNatureza = staNatureza; | ||
126 | - this.idContatoAssociado = idContatoAssociado; | ||
127 | - this.nomeContatoAssociado = nomeContatoAssociado; | ||
128 | - this.sinEnderecoAssociado = sinEnderecoAssociado; | ||
129 | - this.cnpjAssociado = cnpjAssociado; | ||
130 | - this.endereco = endereco; | ||
131 | - this.complemento = complemento; | ||
132 | - this.bairro = bairro; | ||
133 | - this.idCidade = idCidade; | ||
134 | - this.nomeCidade = nomeCidade; | ||
135 | - this.idEstado = idEstado; | ||
136 | - this.siglaEstado = siglaEstado; | ||
137 | - this.idPais = idPais; | ||
138 | - this.nomePais = nomePais; | ||
139 | - this.cep = cep; | ||
140 | - this.staGenero = staGenero; | ||
141 | - this.idCargo = idCargo; | ||
142 | - this.expressaoCargo = expressaoCargo; | ||
143 | - this.expressaoTratamento = expressaoTratamento; | ||
144 | - this.expressaoVocativo = expressaoVocativo; | ||
145 | - this.cpf = cpf; | ||
146 | - this.cnpj = cnpj; | ||
147 | - this.rg = rg; | ||
148 | - this.orgaoExpedidor = orgaoExpedidor; | ||
149 | - this.matricula = matricula; | ||
150 | - this.matriculaOab = matriculaOab; | ||
151 | - this.telefoneFixo = telefoneFixo; | ||
152 | - this.telefoneCelular = telefoneCelular; | ||
153 | - this.dataNascimento = dataNascimento; | ||
154 | - this.email = email; | ||
155 | - this.sitioInternet = sitioInternet; | ||
156 | - this.observacao = observacao; | ||
157 | - this.sinAtivo = sinAtivo; | ||
158 | - } | ||
159 | - | ||
160 | - public String getStaOperacao() { | ||
161 | - return staOperacao; | ||
162 | - } | ||
163 | - | ||
164 | - public void setStaOperacao(String staOperacao) { | ||
165 | - this.staOperacao = staOperacao; | ||
166 | - } | ||
167 | - | ||
168 | - public String getIdContato() { | ||
169 | - return idContato; | ||
170 | - } | ||
171 | - | ||
172 | - public void setIdContato(String idContato) { | ||
173 | - this.idContato = idContato; | ||
174 | - } | ||
175 | - | ||
176 | - public String getIdTipoContato() { | ||
177 | - return idTipoContato; | ||
178 | - } | ||
179 | - | ||
180 | - public void setIdTipoContato(String idTipoContato) { | ||
181 | - this.idTipoContato = idTipoContato; | ||
182 | - } | ||
183 | - | ||
184 | - public String getNomeTipoContato() { | ||
185 | - return nomeTipoContato; | ||
186 | - } | ||
187 | - | ||
188 | - public void setNomeTipoContato(String nomeTipoContato) { | ||
189 | - this.nomeTipoContato = nomeTipoContato; | ||
190 | - } | ||
191 | - | ||
192 | - public String getSigla() { | ||
193 | - return sigla; | ||
194 | - } | ||
195 | - | ||
196 | - public void setSigla(String sigla) { | ||
197 | - this.sigla = sigla; | ||
198 | - } | ||
199 | - | ||
200 | - public String getNome() { | ||
201 | - return nome; | ||
202 | - } | ||
203 | - | ||
204 | - public void setNome(String nome) { | ||
205 | - this.nome = nome; | ||
206 | - } | ||
207 | - | ||
208 | - public String getStaNatureza() { | ||
209 | - return staNatureza; | ||
210 | - } | ||
211 | - | ||
212 | - public void setStaNatureza(String staNatureza) { | ||
213 | - this.staNatureza = staNatureza; | ||
214 | - } | ||
215 | - | ||
216 | - public String getIdContatoAssociado() { | ||
217 | - return idContatoAssociado; | ||
218 | - } | ||
219 | - | ||
220 | - public void setIdContatoAssociado(String idContatoAssociado) { | ||
221 | - this.idContatoAssociado = idContatoAssociado; | ||
222 | - } | ||
223 | - | ||
224 | - public String getNomeContatoAssociado() { | ||
225 | - return nomeContatoAssociado; | ||
226 | - } | ||
227 | - | ||
228 | - public void setNomeContatoAssociado(String nomeContatoAssociado) { | ||
229 | - this.nomeContatoAssociado = nomeContatoAssociado; | ||
230 | - } | ||
231 | - | ||
232 | - public String getSinEnderecoAssociado() { | ||
233 | - return sinEnderecoAssociado; | ||
234 | - } | ||
235 | - | ||
236 | - public void setSinEnderecoAssociado(String sinEnderecoAssociado) { | ||
237 | - this.sinEnderecoAssociado = sinEnderecoAssociado; | ||
238 | - } | ||
239 | - | ||
240 | - public String getCnpjAssociado() { | ||
241 | - return cnpjAssociado; | ||
242 | - } | ||
243 | - | ||
244 | - public void setCnpjAssociado(String cnpjAssociado) { | ||
245 | - this.cnpjAssociado = cnpjAssociado; | ||
246 | - } | ||
247 | - | ||
248 | - public String getEndereco() { | ||
249 | - return endereco; | ||
250 | - } | ||
251 | - | ||
252 | - public void setEndereco(String endereco) { | ||
253 | - this.endereco = endereco; | ||
254 | - } | ||
255 | - | ||
256 | - public String getComplemento() { | ||
257 | - return complemento; | ||
258 | - } | ||
259 | - | ||
260 | - public void setComplemento(String complemento) { | ||
261 | - this.complemento = complemento; | ||
262 | - } | ||
263 | - | ||
264 | - public String getBairro() { | ||
265 | - return bairro; | ||
266 | - } | ||
267 | - | ||
268 | - public void setBairro(String bairro) { | ||
269 | - this.bairro = bairro; | ||
270 | - } | ||
271 | - | ||
272 | - public String getIdCidade() { | ||
273 | - return idCidade; | ||
274 | - } | ||
275 | - | ||
276 | - public void setIdCidade(String idCidade) { | ||
277 | - this.idCidade = idCidade; | ||
278 | - } | ||
279 | - | ||
280 | - public String getNomeCidade() { | ||
281 | - return nomeCidade; | ||
282 | - } | ||
283 | - | ||
284 | - public void setNomeCidade(String nomeCidade) { | ||
285 | - this.nomeCidade = nomeCidade; | ||
286 | - } | ||
287 | - | ||
288 | - public String getIdEstado() { | ||
289 | - return idEstado; | ||
290 | - } | ||
291 | - | ||
292 | - public void setIdEstado(String idEstado) { | ||
293 | - this.idEstado = idEstado; | ||
294 | - } | ||
295 | - | ||
296 | - public String getSiglaEstado() { | ||
297 | - return siglaEstado; | ||
298 | - } | ||
299 | - | ||
300 | - public void setSiglaEstado(String siglaEstado) { | ||
301 | - this.siglaEstado = siglaEstado; | ||
302 | - } | ||
303 | - | ||
304 | - public String getIdPais() { | ||
305 | - return idPais; | ||
306 | - } | ||
307 | - | ||
308 | - public void setIdPais(String idPais) { | ||
309 | - this.idPais = idPais; | ||
310 | - } | ||
311 | - | ||
312 | - public String getNomePais() { | ||
313 | - return nomePais; | ||
314 | - } | ||
315 | - | ||
316 | - public void setNomePais(String nomePais) { | ||
317 | - this.nomePais = nomePais; | ||
318 | - } | ||
319 | - | ||
320 | - public String getCep() { | ||
321 | - return cep; | ||
322 | - } | ||
323 | - | ||
324 | - public void setCep(String cep) { | ||
325 | - this.cep = cep; | ||
326 | - } | ||
327 | - | ||
328 | - public String getStaGenero() { | ||
329 | - return staGenero; | ||
330 | - } | ||
331 | - | ||
332 | - public void setStaGenero(String staGenero) { | ||
333 | - this.staGenero = staGenero; | ||
334 | - } | ||
335 | - | ||
336 | - public String getIdCargo() { | ||
337 | - return idCargo; | ||
338 | - } | ||
339 | - | ||
340 | - public void setIdCargo(String idCargo) { | ||
341 | - this.idCargo = idCargo; | ||
342 | - } | ||
343 | - | ||
344 | - public String getExpressaoCargo() { | ||
345 | - return expressaoCargo; | ||
346 | - } | ||
347 | - | ||
348 | - public void setExpressaoCargo(String expressaoCargo) { | ||
349 | - this.expressaoCargo = expressaoCargo; | ||
350 | - } | ||
351 | - | ||
352 | - public String getExpressaoTratamento() { | ||
353 | - return expressaoTratamento; | ||
354 | - } | ||
355 | - | ||
356 | - public void setExpressaoTratamento(String expressaoTratamento) { | ||
357 | - this.expressaoTratamento = expressaoTratamento; | ||
358 | - } | ||
359 | - | ||
360 | - public String getExpressaoVocativo() { | ||
361 | - return expressaoVocativo; | ||
362 | - } | ||
363 | - | ||
364 | - public void setExpressaoVocativo(String expressaoVocativo) { | ||
365 | - this.expressaoVocativo = expressaoVocativo; | ||
366 | - } | ||
367 | - | ||
368 | - public String getCpf() { | ||
369 | - return cpf; | ||
370 | - } | ||
371 | - | ||
372 | - public void setCpf(String cpf) { | ||
373 | - this.cpf = cpf; | ||
374 | - } | ||
375 | - | ||
376 | - public String getCnpj() { | ||
377 | - return cnpj; | ||
378 | - } | ||
379 | - | ||
380 | - public void setCnpj(String cnpj) { | ||
381 | - this.cnpj = cnpj; | ||
382 | - } | ||
383 | - | ||
384 | - public String getRg() { | ||
385 | - return rg; | ||
386 | - } | ||
387 | - | ||
388 | - public void setRg(String rg) { | ||
389 | - this.rg = rg; | ||
390 | - } | ||
391 | - | ||
392 | - public String getOrgaoExpedidor() { | ||
393 | - return orgaoExpedidor; | ||
394 | - } | ||
395 | - | ||
396 | - public void setOrgaoExpedidor(String orgaoExpedidor) { | ||
397 | - this.orgaoExpedidor = orgaoExpedidor; | ||
398 | - } | ||
399 | - | ||
400 | - public String getMatricula() { | ||
401 | - return matricula; | ||
402 | - } | ||
403 | - | ||
404 | - public void setMatricula(String matricula) { | ||
405 | - this.matricula = matricula; | ||
406 | - } | ||
407 | - | ||
408 | - public String getMatriculaOab() { | ||
409 | - return matriculaOab; | ||
410 | - } | ||
411 | - | ||
412 | - public void setMatriculaOab(String matriculaOab) { | ||
413 | - this.matriculaOab = matriculaOab; | ||
414 | - } | ||
415 | - | ||
416 | - public String getTelefoneFixo() { | ||
417 | - return telefoneFixo; | ||
418 | - } | ||
419 | - | ||
420 | - public void setTelefoneFixo(String telefoneFixo) { | ||
421 | - this.telefoneFixo = telefoneFixo; | ||
422 | - } | ||
423 | - | ||
424 | - public String getTelefoneCelular() { | ||
425 | - return telefoneCelular; | ||
426 | - } | ||
427 | - | ||
428 | - public void setTelefoneCelular(String telefoneCelular) { | ||
429 | - this.telefoneCelular = telefoneCelular; | ||
430 | - } | ||
431 | - | ||
432 | - public String getDataNascimento() { | ||
433 | - return dataNascimento; | ||
434 | - } | ||
435 | - | ||
436 | - public void setDataNascimento(String dataNascimento) { | ||
437 | - this.dataNascimento = dataNascimento; | ||
438 | - } | ||
439 | - | ||
440 | - public String getEmail() { | ||
441 | - return email; | ||
442 | - } | ||
443 | - | ||
444 | - public void setEmail(String email) { | ||
445 | - this.email = email; | ||
446 | - } | ||
447 | - | ||
448 | - public String getSitioInternet() { | ||
449 | - return sitioInternet; | ||
450 | - } | ||
451 | - | ||
452 | - public void setSitioInternet(String sitioInternet) { | ||
453 | - this.sitioInternet = sitioInternet; | ||
454 | - } | ||
455 | - | ||
456 | - public String getObservacao() { | ||
457 | - return observacao; | ||
458 | - } | ||
459 | - | ||
460 | - public void setObservacao(String observacao) { | ||
461 | - this.observacao = observacao; | ||
462 | - } | ||
463 | - | ||
464 | - public String getSinAtivo() { | ||
465 | - return sinAtivo; | ||
466 | - } | ||
467 | - | ||
468 | - public void setSinAtivo(String sinAtivo) { | ||
469 | - this.sinAtivo = sinAtivo; | ||
470 | - } | ||
471 | - | ||
472 | - private Object __equalsCalc = null; | ||
473 | - | ||
474 | - public boolean equals(Object obj) { | ||
475 | - if (!(obj instanceof Contato)) | ||
476 | - return false; | ||
477 | - Contato other = (Contato) obj; | ||
478 | - if (this == obj) | ||
479 | - return true; | ||
480 | - if (__equalsCalc != null) { | ||
481 | - return (__equalsCalc == obj); | ||
482 | - } | ||
483 | - __equalsCalc = obj; | ||
484 | - boolean _equals; | ||
485 | - _equals = true | ||
486 | - && ((this.staOperacao == null && other.getStaOperacao() == null) | ||
487 | - || (this.staOperacao != null && this.staOperacao.equals(other.getStaOperacao()))) | ||
488 | - && ((this.idContato == null && other.getIdContato() == null) | ||
489 | - || (this.idContato != null && this.idContato.equals(other.getIdContato()))) | ||
490 | - && ((this.idTipoContato == null && other.getIdTipoContato() == null) | ||
491 | - || (this.idTipoContato != null && this.idTipoContato.equals(other.getIdTipoContato()))) | ||
492 | - && ((this.nomeTipoContato == null && other.getNomeTipoContato() == null) | ||
493 | - || (this.nomeTipoContato != null && this.nomeTipoContato.equals(other.getNomeTipoContato()))) | ||
494 | - && ((this.sigla == null && other.getSigla() == null) | ||
495 | - || (this.sigla != null && this.sigla.equals(other.getSigla()))) | ||
496 | - && ((this.nome == null && other.getNome() == null) | ||
497 | - || (this.nome != null && this.nome.equals(other.getNome()))) | ||
498 | - && ((this.staNatureza == null && other.getStaNatureza() == null) | ||
499 | - || (this.staNatureza != null && this.staNatureza.equals(other.getStaNatureza()))) | ||
500 | - && ((this.idContatoAssociado == null && other.getIdContatoAssociado() == null) | ||
501 | - || (this.idContatoAssociado != null | ||
502 | - && this.idContatoAssociado.equals(other.getIdContatoAssociado()))) | ||
503 | - && ((this.nomeContatoAssociado == null && other.getNomeContatoAssociado() == null) | ||
504 | - || (this.nomeContatoAssociado != null | ||
505 | - && this.nomeContatoAssociado.equals(other.getNomeContatoAssociado()))) | ||
506 | - && ((this.sinEnderecoAssociado == null && other.getSinEnderecoAssociado() == null) | ||
507 | - || (this.sinEnderecoAssociado != null | ||
508 | - && this.sinEnderecoAssociado.equals(other.getSinEnderecoAssociado()))) | ||
509 | - && ((this.cnpjAssociado == null && other.getCnpjAssociado() == null) | ||
510 | - || (this.cnpjAssociado != null && this.cnpjAssociado.equals(other.getCnpjAssociado()))) | ||
511 | - && ((this.endereco == null && other.getEndereco() == null) | ||
512 | - || (this.endereco != null && this.endereco.equals(other.getEndereco()))) | ||
513 | - && ((this.complemento == null && other.getComplemento() == null) | ||
514 | - || (this.complemento != null && this.complemento.equals(other.getComplemento()))) | ||
515 | - && ((this.bairro == null && other.getBairro() == null) | ||
516 | - || (this.bairro != null && this.bairro.equals(other.getBairro()))) | ||
517 | - && ((this.idCidade == null && other.getIdCidade() == null) | ||
518 | - || (this.idCidade != null && this.idCidade.equals(other.getIdCidade()))) | ||
519 | - && ((this.nomeCidade == null && other.getNomeCidade() == null) | ||
520 | - || (this.nomeCidade != null && this.nomeCidade.equals(other.getNomeCidade()))) | ||
521 | - && ((this.idEstado == null && other.getIdEstado() == null) | ||
522 | - || (this.idEstado != null && this.idEstado.equals(other.getIdEstado()))) | ||
523 | - && ((this.siglaEstado == null && other.getSiglaEstado() == null) | ||
524 | - || (this.siglaEstado != null && this.siglaEstado.equals(other.getSiglaEstado()))) | ||
525 | - && ((this.idPais == null && other.getIdPais() == null) | ||
526 | - || (this.idPais != null && this.idPais.equals(other.getIdPais()))) | ||
527 | - && ((this.nomePais == null && other.getNomePais() == null) | ||
528 | - || (this.nomePais != null && this.nomePais.equals(other.getNomePais()))) | ||
529 | - && ((this.cep == null && other.getCep() == null) | ||
530 | - || (this.cep != null && this.cep.equals(other.getCep()))) | ||
531 | - && ((this.staGenero == null && other.getStaGenero() == null) | ||
532 | - || (this.staGenero != null && this.staGenero.equals(other.getStaGenero()))) | ||
533 | - && ((this.idCargo == null && other.getIdCargo() == null) | ||
534 | - || (this.idCargo != null && this.idCargo.equals(other.getIdCargo()))) | ||
535 | - && ((this.expressaoCargo == null && other.getExpressaoCargo() == null) | ||
536 | - || (this.expressaoCargo != null && this.expressaoCargo.equals(other.getExpressaoCargo()))) | ||
537 | - && ((this.expressaoTratamento == null && other.getExpressaoTratamento() == null) | ||
538 | - || (this.expressaoTratamento != null | ||
539 | - && this.expressaoTratamento.equals(other.getExpressaoTratamento()))) | ||
540 | - && ((this.expressaoVocativo == null && other.getExpressaoVocativo() == null) | ||
541 | - || (this.expressaoVocativo != null | ||
542 | - && this.expressaoVocativo.equals(other.getExpressaoVocativo()))) | ||
543 | - && ((this.cpf == null && other.getCpf() == null) | ||
544 | - || (this.cpf != null && this.cpf.equals(other.getCpf()))) | ||
545 | - && ((this.cnpj == null && other.getCnpj() == null) | ||
546 | - || (this.cnpj != null && this.cnpj.equals(other.getCnpj()))) | ||
547 | - && ((this.rg == null && other.getRg() == null) || (this.rg != null && this.rg.equals(other.getRg()))) | ||
548 | - && ((this.orgaoExpedidor == null && other.getOrgaoExpedidor() == null) | ||
549 | - || (this.orgaoExpedidor != null && this.orgaoExpedidor.equals(other.getOrgaoExpedidor()))) | ||
550 | - && ((this.matricula == null && other.getMatricula() == null) | ||
551 | - || (this.matricula != null && this.matricula.equals(other.getMatricula()))) | ||
552 | - && ((this.matriculaOab == null && other.getMatriculaOab() == null) | ||
553 | - || (this.matriculaOab != null && this.matriculaOab.equals(other.getMatriculaOab()))) | ||
554 | - && ((this.telefoneFixo == null && other.getTelefoneFixo() == null) | ||
555 | - || (this.telefoneFixo != null && this.telefoneFixo.equals(other.getTelefoneFixo()))) | ||
556 | - && ((this.telefoneCelular == null && other.getTelefoneCelular() == null) | ||
557 | - || (this.telefoneCelular != null && this.telefoneCelular.equals(other.getTelefoneCelular()))) | ||
558 | - && ((this.dataNascimento == null && other.getDataNascimento() == null) | ||
559 | - || (this.dataNascimento != null && this.dataNascimento.equals(other.getDataNascimento()))) | ||
560 | - && ((this.email == null && other.getEmail() == null) | ||
561 | - || (this.email != null && this.email.equals(other.getEmail()))) | ||
562 | - && ((this.sitioInternet == null && other.getSitioInternet() == null) | ||
563 | - || (this.sitioInternet != null && this.sitioInternet.equals(other.getSitioInternet()))) | ||
564 | - && ((this.observacao == null && other.getObservacao() == null) | ||
565 | - || (this.observacao != null && this.observacao.equals(other.getObservacao()))) | ||
566 | - && ((this.sinAtivo == null && other.getSinAtivo() == null) | ||
567 | - || (this.sinAtivo != null && this.sinAtivo.equals(other.getSinAtivo()))); | ||
568 | - __equalsCalc = null; | ||
569 | - return _equals; | ||
570 | - } | ||
571 | - | ||
572 | - private boolean __hashCodeCalc = false; | ||
573 | - | ||
574 | - public int hashCode() { | ||
575 | - if (__hashCodeCalc) { | ||
576 | - return 0; | ||
577 | - } | ||
578 | - __hashCodeCalc = true; | ||
579 | - int _hashCode = 1; | ||
580 | - if (getStaOperacao() != null) { | ||
581 | - _hashCode += getStaOperacao().hashCode(); | ||
582 | - } | ||
583 | - if (getIdContato() != null) { | ||
584 | - _hashCode += getIdContato().hashCode(); | ||
585 | - } | ||
586 | - if (getIdTipoContato() != null) { | ||
587 | - _hashCode += getIdTipoContato().hashCode(); | ||
588 | - } | ||
589 | - if (getNomeTipoContato() != null) { | ||
590 | - _hashCode += getNomeTipoContato().hashCode(); | ||
591 | - } | ||
592 | - if (getSigla() != null) { | ||
593 | - _hashCode += getSigla().hashCode(); | ||
594 | - } | ||
595 | - if (getNome() != null) { | ||
596 | - _hashCode += getNome().hashCode(); | ||
597 | - } | ||
598 | - if (getStaNatureza() != null) { | ||
599 | - _hashCode += getStaNatureza().hashCode(); | ||
600 | - } | ||
601 | - if (getIdContatoAssociado() != null) { | ||
602 | - _hashCode += getIdContatoAssociado().hashCode(); | ||
603 | - } | ||
604 | - if (getNomeContatoAssociado() != null) { | ||
605 | - _hashCode += getNomeContatoAssociado().hashCode(); | ||
606 | - } | ||
607 | - if (getSinEnderecoAssociado() != null) { | ||
608 | - _hashCode += getSinEnderecoAssociado().hashCode(); | ||
609 | - } | ||
610 | - if (getCnpjAssociado() != null) { | ||
611 | - _hashCode += getCnpjAssociado().hashCode(); | ||
612 | - } | ||
613 | - if (getEndereco() != null) { | ||
614 | - _hashCode += getEndereco().hashCode(); | ||
615 | - } | ||
616 | - if (getComplemento() != null) { | ||
617 | - _hashCode += getComplemento().hashCode(); | ||
618 | - } | ||
619 | - if (getBairro() != null) { | ||
620 | - _hashCode += getBairro().hashCode(); | ||
621 | - } | ||
622 | - if (getIdCidade() != null) { | ||
623 | - _hashCode += getIdCidade().hashCode(); | ||
624 | - } | ||
625 | - if (getNomeCidade() != null) { | ||
626 | - _hashCode += getNomeCidade().hashCode(); | ||
627 | - } | ||
628 | - if (getIdEstado() != null) { | ||
629 | - _hashCode += getIdEstado().hashCode(); | ||
630 | - } | ||
631 | - if (getSiglaEstado() != null) { | ||
632 | - _hashCode += getSiglaEstado().hashCode(); | ||
633 | - } | ||
634 | - if (getIdPais() != null) { | ||
635 | - _hashCode += getIdPais().hashCode(); | ||
636 | - } | ||
637 | - if (getNomePais() != null) { | ||
638 | - _hashCode += getNomePais().hashCode(); | ||
639 | - } | ||
640 | - if (getCep() != null) { | ||
641 | - _hashCode += getCep().hashCode(); | ||
642 | - } | ||
643 | - if (getStaGenero() != null) { | ||
644 | - _hashCode += getStaGenero().hashCode(); | ||
645 | - } | ||
646 | - if (getIdCargo() != null) { | ||
647 | - _hashCode += getIdCargo().hashCode(); | ||
648 | - } | ||
649 | - if (getExpressaoCargo() != null) { | ||
650 | - _hashCode += getExpressaoCargo().hashCode(); | ||
651 | - } | ||
652 | - if (getExpressaoTratamento() != null) { | ||
653 | - _hashCode += getExpressaoTratamento().hashCode(); | ||
654 | - } | ||
655 | - if (getExpressaoVocativo() != null) { | ||
656 | - _hashCode += getExpressaoVocativo().hashCode(); | ||
657 | - } | ||
658 | - if (getCpf() != null) { | ||
659 | - _hashCode += getCpf().hashCode(); | ||
660 | - } | ||
661 | - if (getCnpj() != null) { | ||
662 | - _hashCode += getCnpj().hashCode(); | ||
663 | - } | ||
664 | - if (getRg() != null) { | ||
665 | - _hashCode += getRg().hashCode(); | ||
666 | - } | ||
667 | - if (getOrgaoExpedidor() != null) { | ||
668 | - _hashCode += getOrgaoExpedidor().hashCode(); | ||
669 | - } | ||
670 | - if (getMatricula() != null) { | ||
671 | - _hashCode += getMatricula().hashCode(); | ||
672 | - } | ||
673 | - if (getMatriculaOab() != null) { | ||
674 | - _hashCode += getMatriculaOab().hashCode(); | ||
675 | - } | ||
676 | - if (getTelefoneFixo() != null) { | ||
677 | - _hashCode += getTelefoneFixo().hashCode(); | ||
678 | - } | ||
679 | - if (getTelefoneCelular() != null) { | ||
680 | - _hashCode += getTelefoneCelular().hashCode(); | ||
681 | - } | ||
682 | - if (getDataNascimento() != null) { | ||
683 | - _hashCode += getDataNascimento().hashCode(); | ||
684 | - } | ||
685 | - if (getEmail() != null) { | ||
686 | - _hashCode += getEmail().hashCode(); | ||
687 | - } | ||
688 | - if (getSitioInternet() != null) { | ||
689 | - _hashCode += getSitioInternet().hashCode(); | ||
690 | - } | ||
691 | - if (getObservacao() != null) { | ||
692 | - _hashCode += getObservacao().hashCode(); | ||
693 | - } | ||
694 | - if (getSinAtivo() != null) { | ||
695 | - _hashCode += getSinAtivo().hashCode(); | ||
696 | - } | ||
697 | - __hashCodeCalc = false; | ||
698 | - return _hashCode; | ||
699 | - } | ||
700 | } | 64 | } |
src/main/java/br/gov/ans/integracao/sei/client/DefinicaoMarcador.java
1 | -/** | ||
2 | - * DefinicaoMarcador.java | ||
3 | - * | ||
4 | - * This file was auto-generated from WSDL | ||
5 | - * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter. | ||
6 | - */ | ||
7 | - | ||
8 | package br.gov.ans.integracao.sei.client; | 1 | package br.gov.ans.integracao.sei.client; |
9 | 2 | ||
10 | import java.io.Serializable; | 3 | import java.io.Serializable; |
@@ -13,94 +6,23 @@ import com.fasterxml.jackson.annotation.JsonIgnoreProperties; | @@ -13,94 +6,23 @@ import com.fasterxml.jackson.annotation.JsonIgnoreProperties; | ||
13 | import com.fasterxml.jackson.annotation.JsonInclude; | 6 | import com.fasterxml.jackson.annotation.JsonInclude; |
14 | import com.fasterxml.jackson.annotation.JsonInclude.Include; | 7 | import com.fasterxml.jackson.annotation.JsonInclude.Include; |
15 | 8 | ||
9 | +import lombok.AllArgsConstructor; | ||
10 | +import lombok.Builder; | ||
11 | +import lombok.Data; | ||
12 | +import lombok.NoArgsConstructor; | ||
13 | + | ||
16 | @JsonInclude(content = Include.NON_NULL) | 14 | @JsonInclude(content = Include.NON_NULL) |
17 | @JsonIgnoreProperties(ignoreUnknown = true) | 15 | @JsonIgnoreProperties(ignoreUnknown = true) |
16 | +@NoArgsConstructor | ||
17 | +@AllArgsConstructor | ||
18 | +@Data | ||
19 | +@Builder | ||
18 | public class DefinicaoMarcador implements Serializable { | 20 | public class DefinicaoMarcador implements Serializable { |
19 | 21 | ||
20 | private static final long serialVersionUID = 1L; | 22 | private static final long serialVersionUID = 1L; |
21 | 23 | ||
22 | private String protocoloProcedimento; | 24 | private String protocoloProcedimento; |
23 | - | ||
24 | private String idMarcador; | 25 | private String idMarcador; |
25 | - | ||
26 | private String texto; | 26 | private String texto; |
27 | - | ||
28 | - public DefinicaoMarcador() { | ||
29 | - } | ||
30 | - | ||
31 | - public DefinicaoMarcador(String protocoloProcedimento, String idMarcador, String texto) { | ||
32 | - this.protocoloProcedimento = protocoloProcedimento; | ||
33 | - this.idMarcador = idMarcador; | ||
34 | - this.texto = texto; | ||
35 | - } | ||
36 | - | ||
37 | - public String getProtocoloProcedimento() { | ||
38 | - return protocoloProcedimento; | ||
39 | - } | ||
40 | - | ||
41 | - public void setProtocoloProcedimento(String protocoloProcedimento) { | ||
42 | - this.protocoloProcedimento = protocoloProcedimento; | ||
43 | - } | ||
44 | - | ||
45 | - public String getIdMarcador() { | ||
46 | - return idMarcador; | ||
47 | - } | ||
48 | - | ||
49 | - public void setIdMarcador(String idMarcador) { | ||
50 | - this.idMarcador = idMarcador; | ||
51 | - } | ||
52 | - | ||
53 | - public String getTexto() { | ||
54 | - return texto; | ||
55 | - } | ||
56 | - | ||
57 | - public void setTexto(String texto) { | ||
58 | - this.texto = texto; | ||
59 | - } | ||
60 | - | ||
61 | - private Object __equalsCalc = null; | ||
62 | - | ||
63 | - public boolean equals(Object obj) { | ||
64 | - if (!(obj instanceof DefinicaoMarcador)) | ||
65 | - return false; | ||
66 | - DefinicaoMarcador other = (DefinicaoMarcador) obj; | ||
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.protocoloProcedimento == null && other.getProtocoloProcedimento() == null) | ||
76 | - || (this.protocoloProcedimento != null | ||
77 | - && this.protocoloProcedimento.equals(other.getProtocoloProcedimento()))) | ||
78 | - && ((this.idMarcador == null && other.getIdMarcador() == null) | ||
79 | - || (this.idMarcador != null && this.idMarcador.equals(other.getIdMarcador()))) | ||
80 | - && ((this.texto == null && other.getTexto() == null) | ||
81 | - || (this.texto != null && this.texto.equals(other.getTexto()))); | ||
82 | - __equalsCalc = null; | ||
83 | - return _equals; | ||
84 | - } | ||
85 | - | ||
86 | - private boolean __hashCodeCalc = false; | ||
87 | - | ||
88 | - public int hashCode() { | ||
89 | - if (__hashCodeCalc) { | ||
90 | - return 0; | ||
91 | - } | ||
92 | - __hashCodeCalc = true; | ||
93 | - int _hashCode = 1; | ||
94 | - if (getProtocoloProcedimento() != null) { | ||
95 | - _hashCode += getProtocoloProcedimento().hashCode(); | ||
96 | - } | ||
97 | - if (getIdMarcador() != null) { | ||
98 | - _hashCode += getIdMarcador().hashCode(); | ||
99 | - } | ||
100 | - if (getTexto() != null) { | ||
101 | - _hashCode += getTexto().hashCode(); | ||
102 | - } | ||
103 | - __hashCodeCalc = false; | ||
104 | - return _hashCode; | ||
105 | - } | 27 | + |
106 | } | 28 | } |
src/main/java/br/gov/ans/integracao/sei/client/Destinatario.java
1 | -/** | ||
2 | - * Destinatario.java | ||
3 | - * | ||
4 | - * This file was auto-generated from WSDL | ||
5 | - * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter. | ||
6 | - */ | ||
7 | - | ||
8 | package br.gov.ans.integracao.sei.client; | 1 | package br.gov.ans.integracao.sei.client; |
9 | 2 | ||
10 | import java.io.Serializable; | 3 | import java.io.Serializable; |
@@ -13,77 +6,22 @@ import com.fasterxml.jackson.annotation.JsonIgnoreProperties; | @@ -13,77 +6,22 @@ import com.fasterxml.jackson.annotation.JsonIgnoreProperties; | ||
13 | import com.fasterxml.jackson.annotation.JsonInclude; | 6 | import com.fasterxml.jackson.annotation.JsonInclude; |
14 | import com.fasterxml.jackson.annotation.JsonInclude.Include; | 7 | import com.fasterxml.jackson.annotation.JsonInclude.Include; |
15 | 8 | ||
9 | +import lombok.AllArgsConstructor; | ||
10 | +import lombok.Builder; | ||
11 | +import lombok.Data; | ||
12 | +import lombok.NoArgsConstructor; | ||
13 | + | ||
16 | @JsonInclude(content = Include.NON_NULL) | 14 | @JsonInclude(content = Include.NON_NULL) |
17 | @JsonIgnoreProperties(ignoreUnknown = true) | 15 | @JsonIgnoreProperties(ignoreUnknown = true) |
16 | +@NoArgsConstructor | ||
17 | +@AllArgsConstructor | ||
18 | +@Data | ||
19 | +@Builder | ||
18 | public class Destinatario implements Serializable { | 20 | public class Destinatario implements Serializable { |
19 | 21 | ||
20 | private static final long serialVersionUID = 1L; | 22 | private static final long serialVersionUID = 1L; |
21 | 23 | ||
22 | private String sigla; | 24 | private String sigla; |
23 | - | ||
24 | private String nome; | 25 | private String nome; |
25 | - | ||
26 | - public Destinatario() { | ||
27 | - } | ||
28 | - | ||
29 | - public Destinatario(String sigla, String nome) { | ||
30 | - this.sigla = sigla; | ||
31 | - this.nome = nome; | ||
32 | - } | ||
33 | - | ||
34 | - public String getSigla() { | ||
35 | - return sigla; | ||
36 | - } | ||
37 | - | ||
38 | - public void setSigla(String sigla) { | ||
39 | - this.sigla = sigla; | ||
40 | - } | ||
41 | - | ||
42 | - public String getNome() { | ||
43 | - return nome; | ||
44 | - } | ||
45 | - | ||
46 | - public void setNome(String nome) { | ||
47 | - this.nome = nome; | ||
48 | - } | ||
49 | - | ||
50 | - private Object __equalsCalc = null; | ||
51 | - | ||
52 | - public boolean equals(Object obj) { | ||
53 | - if (!(obj instanceof Destinatario)) | ||
54 | - return false; | ||
55 | - Destinatario other = (Destinatario) obj; | ||
56 | - if (this == obj) | ||
57 | - return true; | ||
58 | - if (__equalsCalc != null) { | ||
59 | - return (__equalsCalc == obj); | ||
60 | - } | ||
61 | - __equalsCalc = obj; | ||
62 | - boolean _equals; | ||
63 | - _equals = true | ||
64 | - && ((this.sigla == null && other.getSigla() == null) | ||
65 | - || (this.sigla != null && this.sigla.equals(other.getSigla()))) | ||
66 | - && ((this.nome == null && other.getNome() == null) | ||
67 | - || (this.nome != null && this.nome.equals(other.getNome()))); | ||
68 | - __equalsCalc = null; | ||
69 | - return _equals; | ||
70 | - } | ||
71 | - | ||
72 | - private boolean __hashCodeCalc = false; | ||
73 | - | ||
74 | - public int hashCode() { | ||
75 | - if (__hashCodeCalc) { | ||
76 | - return 0; | ||
77 | - } | ||
78 | - __hashCodeCalc = true; | ||
79 | - int _hashCode = 1; | ||
80 | - if (getSigla() != null) { | ||
81 | - _hashCode += getSigla().hashCode(); | ||
82 | - } | ||
83 | - if (getNome() != null) { | ||
84 | - _hashCode += getNome().hashCode(); | ||
85 | - } | ||
86 | - __hashCodeCalc = false; | ||
87 | - return _hashCode; | ||
88 | - } | 26 | + |
89 | } | 27 | } |
src/main/java/br/gov/ans/integracao/sei/client/Documento.java
1 | -/** | ||
2 | - * Documento.java | ||
3 | - * | ||
4 | - * This file was auto-generated from WSDL | ||
5 | - * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter. | ||
6 | - */ | ||
7 | - | ||
8 | package br.gov.ans.integracao.sei.client; | 1 | package br.gov.ans.integracao.sei.client; |
9 | 2 | ||
10 | import java.io.Serializable; | 3 | import java.io.Serializable; |
@@ -13,374 +6,39 @@ import com.fasterxml.jackson.annotation.JsonIgnoreProperties; | @@ -13,374 +6,39 @@ import com.fasterxml.jackson.annotation.JsonIgnoreProperties; | ||
13 | import com.fasterxml.jackson.annotation.JsonInclude; | 6 | import com.fasterxml.jackson.annotation.JsonInclude; |
14 | import com.fasterxml.jackson.annotation.JsonInclude.Include; | 7 | import com.fasterxml.jackson.annotation.JsonInclude.Include; |
15 | 8 | ||
9 | +import lombok.AllArgsConstructor; | ||
10 | +import lombok.Builder; | ||
11 | +import lombok.Data; | ||
12 | +import lombok.NoArgsConstructor; | ||
13 | + | ||
16 | @JsonInclude(content = Include.NON_NULL) | 14 | @JsonInclude(content = Include.NON_NULL) |
17 | @JsonIgnoreProperties(ignoreUnknown = true) | 15 | @JsonIgnoreProperties(ignoreUnknown = true) |
16 | +@NoArgsConstructor | ||
17 | +@AllArgsConstructor | ||
18 | +@Data | ||
19 | +@Builder | ||
18 | public class Documento implements Serializable { | 20 | public class Documento implements Serializable { |
19 | 21 | ||
20 | private static final long serialVersionUID = 1L; | 22 | private static final long serialVersionUID = 1L; |
21 | 23 | ||
22 | private String tipo; | 24 | private String tipo; |
23 | - | ||
24 | private String idProcedimento; | 25 | private String idProcedimento; |
25 | - | ||
26 | private String protocoloProcedimento; | 26 | private String protocoloProcedimento; |
27 | - | ||
28 | private String idSerie; | 27 | private String idSerie; |
29 | - | ||
30 | private String numero; | 28 | private String numero; |
31 | - | ||
32 | private String data; | 29 | private String data; |
33 | - | ||
34 | private String descricao; | 30 | private String descricao; |
35 | - | ||
36 | private String idTipoConferencia; | 31 | private String idTipoConferencia; |
37 | - | ||
38 | private Remetente remetente; | 32 | private Remetente remetente; |
39 | - | ||
40 | private Interessado[] interessados; | 33 | private Interessado[] interessados; |
41 | - | ||
42 | private Destinatario[] destinatarios; | 34 | private Destinatario[] destinatarios; |
43 | - | ||
44 | private String observacao; | 35 | private String observacao; |
45 | - | ||
46 | private String nomeArquivo; | 36 | private String nomeArquivo; |
47 | - | ||
48 | private String nivelAcesso; | 37 | private String nivelAcesso; |
49 | - | ||
50 | private String idHipoteseLegal; | 38 | private String idHipoteseLegal; |
51 | - | ||
52 | private String conteudo; | 39 | private String conteudo; |
53 | - | ||
54 | private String idArquivo; | 40 | private String idArquivo; |
55 | - | ||
56 | private Campo[] campos; | 41 | private Campo[] campos; |
57 | - | ||
58 | private String sinBloqueado; | 42 | private String sinBloqueado; |
59 | 43 | ||
60 | - public Documento() { | ||
61 | - } | ||
62 | - | ||
63 | - public Documento(String tipo, String idProcedimento, String protocoloProcedimento, | ||
64 | - String idSerie, String numero, String data, String descricao, | ||
65 | - String idTipoConferencia, Remetente remetente, | ||
66 | - Interessado[] interessados, | ||
67 | - Destinatario[] destinatarios, String observacao, | ||
68 | - String nomeArquivo, String nivelAcesso, String idHipoteseLegal, | ||
69 | - String conteudo, byte[] conteudoMTOM, String idArquivo, | ||
70 | - Campo[] campos, String sinBloqueado) { | ||
71 | - | ||
72 | - this.tipo = tipo; | ||
73 | - this.idProcedimento = idProcedimento; | ||
74 | - this.protocoloProcedimento = protocoloProcedimento; | ||
75 | - this.idSerie = idSerie; | ||
76 | - this.numero = numero; | ||
77 | - this.data = data; | ||
78 | - this.descricao = descricao; | ||
79 | - this.idTipoConferencia = idTipoConferencia; | ||
80 | - this.remetente = remetente; | ||
81 | - this.interessados = interessados; | ||
82 | - this.destinatarios = destinatarios; | ||
83 | - this.observacao = observacao; | ||
84 | - this.nomeArquivo = nomeArquivo; | ||
85 | - this.nivelAcesso = nivelAcesso; | ||
86 | - this.idHipoteseLegal = idHipoteseLegal; | ||
87 | - this.conteudo = conteudo; | ||
88 | - this.idArquivo = idArquivo; | ||
89 | - this.campos = campos; | ||
90 | - this.sinBloqueado = sinBloqueado; | ||
91 | - } | ||
92 | - | ||
93 | - public String getTipo() { | ||
94 | - return tipo; | ||
95 | - } | ||
96 | - | ||
97 | - public void setTipo(String tipo) { | ||
98 | - this.tipo = tipo; | ||
99 | - } | ||
100 | - | ||
101 | - public String getIdProcedimento() { | ||
102 | - return idProcedimento; | ||
103 | - } | ||
104 | - | ||
105 | - public void setIdProcedimento(String idProcedimento) { | ||
106 | - this.idProcedimento = idProcedimento; | ||
107 | - } | ||
108 | - | ||
109 | - public String getProtocoloProcedimento() { | ||
110 | - return protocoloProcedimento; | ||
111 | - } | ||
112 | - | ||
113 | - public void setProtocoloProcedimento(String protocoloProcedimento) { | ||
114 | - this.protocoloProcedimento = protocoloProcedimento; | ||
115 | - } | ||
116 | - | ||
117 | - public String getIdSerie() { | ||
118 | - return idSerie; | ||
119 | - } | ||
120 | - | ||
121 | - public void setIdSerie(String idSerie) { | ||
122 | - this.idSerie = idSerie; | ||
123 | - } | ||
124 | - | ||
125 | - public String getNumero() { | ||
126 | - return numero; | ||
127 | - } | ||
128 | - | ||
129 | - public void setNumero(String numero) { | ||
130 | - this.numero = numero; | ||
131 | - } | ||
132 | - | ||
133 | - public String getData() { | ||
134 | - return data; | ||
135 | - } | ||
136 | - | ||
137 | - public void setData(String data) { | ||
138 | - this.data = data; | ||
139 | - } | ||
140 | - | ||
141 | - public String getDescricao() { | ||
142 | - return descricao; | ||
143 | - } | ||
144 | - | ||
145 | - public void setDescricao(String descricao) { | ||
146 | - this.descricao = descricao; | ||
147 | - } | ||
148 | - | ||
149 | - public String getIdTipoConferencia() { | ||
150 | - return idTipoConferencia; | ||
151 | - } | ||
152 | - | ||
153 | - public void setIdTipoConferencia(String idTipoConferencia) { | ||
154 | - this.idTipoConferencia = idTipoConferencia; | ||
155 | - } | ||
156 | - | ||
157 | - public Remetente getRemetente() { | ||
158 | - return remetente; | ||
159 | - } | ||
160 | - | ||
161 | - public void setRemetente(Remetente remetente) { | ||
162 | - this.remetente = remetente; | ||
163 | - } | ||
164 | - | ||
165 | - public Interessado[] getInteressados() { | ||
166 | - return interessados; | ||
167 | - } | ||
168 | - | ||
169 | - public void setInteressados(Interessado[] interessados) { | ||
170 | - this.interessados = interessados; | ||
171 | - } | ||
172 | - | ||
173 | - public Destinatario[] getDestinatarios() { | ||
174 | - return destinatarios; | ||
175 | - } | ||
176 | - | ||
177 | - public void setDestinatarios(Destinatario[] destinatarios) { | ||
178 | - this.destinatarios = destinatarios; | ||
179 | - } | ||
180 | - | ||
181 | - public String getObservacao() { | ||
182 | - return observacao; | ||
183 | - } | ||
184 | - | ||
185 | - public void setObservacao(String observacao) { | ||
186 | - this.observacao = observacao; | ||
187 | - } | ||
188 | - | ||
189 | - public String getNomeArquivo() { | ||
190 | - return nomeArquivo; | ||
191 | - } | ||
192 | - | ||
193 | - public void setNomeArquivo(String nomeArquivo) { | ||
194 | - this.nomeArquivo = nomeArquivo; | ||
195 | - } | ||
196 | - | ||
197 | - public String getNivelAcesso() { | ||
198 | - return nivelAcesso; | ||
199 | - } | ||
200 | - | ||
201 | - public void setNivelAcesso(String nivelAcesso) { | ||
202 | - this.nivelAcesso = nivelAcesso; | ||
203 | - } | ||
204 | - | ||
205 | - public String getIdHipoteseLegal() { | ||
206 | - return idHipoteseLegal; | ||
207 | - } | ||
208 | - | ||
209 | - public void setIdHipoteseLegal(String idHipoteseLegal) { | ||
210 | - this.idHipoteseLegal = idHipoteseLegal; | ||
211 | - } | ||
212 | - | ||
213 | - public String getConteudo() { | ||
214 | - return conteudo; | ||
215 | - } | ||
216 | - | ||
217 | - public void setConteudo(String conteudo) { | ||
218 | - this.conteudo = conteudo; | ||
219 | - } | ||
220 | - | ||
221 | - public String getIdArquivo() { | ||
222 | - return idArquivo; | ||
223 | - } | ||
224 | - | ||
225 | - public void setIdArquivo(String idArquivo) { | ||
226 | - this.idArquivo = idArquivo; | ||
227 | - } | ||
228 | - | ||
229 | - public Campo[] getCampos() { | ||
230 | - return campos; | ||
231 | - } | ||
232 | - | ||
233 | - public void setCampos(Campo[] campos) { | ||
234 | - this.campos = campos; | ||
235 | - } | ||
236 | - | ||
237 | - public String getSinBloqueado() { | ||
238 | - return sinBloqueado; | ||
239 | - } | ||
240 | - | ||
241 | - public void setSinBloqueado(String sinBloqueado) { | ||
242 | - this.sinBloqueado = sinBloqueado; | ||
243 | - } | ||
244 | - | ||
245 | - private Object __equalsCalc = null; | ||
246 | - | ||
247 | - public boolean equals(Object obj) { | ||
248 | - if (!(obj instanceof Documento)) | ||
249 | - return false; | ||
250 | - Documento other = (Documento) obj; | ||
251 | - if (this == obj) | ||
252 | - return true; | ||
253 | - if (__equalsCalc != null) { | ||
254 | - return (__equalsCalc == obj); | ||
255 | - } | ||
256 | - __equalsCalc = obj; | ||
257 | - boolean _equals; | ||
258 | - _equals = true | ||
259 | - && ((this.tipo == null && other.getTipo() == null) | ||
260 | - || (this.tipo != null && this.tipo.equals(other.getTipo()))) | ||
261 | - && ((this.idProcedimento == null && other.getIdProcedimento() == null) | ||
262 | - || (this.idProcedimento != null && this.idProcedimento.equals(other.getIdProcedimento()))) | ||
263 | - && ((this.protocoloProcedimento == null && other.getProtocoloProcedimento() == null) | ||
264 | - || (this.protocoloProcedimento != null | ||
265 | - && this.protocoloProcedimento.equals(other.getProtocoloProcedimento()))) | ||
266 | - && ((this.idSerie == null && other.getIdSerie() == null) | ||
267 | - || (this.idSerie != null && this.idSerie.equals(other.getIdSerie()))) | ||
268 | - && ((this.numero == null && other.getNumero() == null) | ||
269 | - || (this.numero != null && this.numero.equals(other.getNumero()))) | ||
270 | - && ((this.data == null && other.getData() == null) | ||
271 | - || (this.data != null && this.data.equals(other.getData()))) | ||
272 | - && ((this.descricao == null && other.getDescricao() == null) | ||
273 | - || (this.descricao != null && this.descricao.equals(other.getDescricao()))) | ||
274 | - && ((this.idTipoConferencia == null && other.getIdTipoConferencia() == null) | ||
275 | - || (this.idTipoConferencia != null | ||
276 | - && this.idTipoConferencia.equals(other.getIdTipoConferencia()))) | ||
277 | - && ((this.remetente == null && other.getRemetente() == null) | ||
278 | - || (this.remetente != null && this.remetente.equals(other.getRemetente()))) | ||
279 | - && ((this.interessados == null && other.getInteressados() == null) || (this.interessados != null | ||
280 | - && java.util.Arrays.equals(this.interessados, other.getInteressados()))) | ||
281 | - && ((this.destinatarios == null && other.getDestinatarios() == null) || (this.destinatarios != null | ||
282 | - && java.util.Arrays.equals(this.destinatarios, other.getDestinatarios()))) | ||
283 | - && ((this.observacao == null && other.getObservacao() == null) | ||
284 | - || (this.observacao != null && this.observacao.equals(other.getObservacao()))) | ||
285 | - && ((this.nomeArquivo == null && other.getNomeArquivo() == null) | ||
286 | - || (this.nomeArquivo != null && this.nomeArquivo.equals(other.getNomeArquivo()))) | ||
287 | - && ((this.nivelAcesso == null && other.getNivelAcesso() == null) | ||
288 | - || (this.nivelAcesso != null && this.nivelAcesso.equals(other.getNivelAcesso()))) | ||
289 | - && ((this.idHipoteseLegal == null && other.getIdHipoteseLegal() == null) | ||
290 | - || (this.idHipoteseLegal != null && this.idHipoteseLegal.equals(other.getIdHipoteseLegal()))) | ||
291 | - && ((this.conteudo == null && other.getConteudo() == null) | ||
292 | - || (this.conteudo != null && this.conteudo.equals(other.getConteudo()))) | ||
293 | - && ((this.idArquivo == null && other.getIdArquivo() == null) | ||
294 | - || (this.idArquivo != null && this.idArquivo.equals(other.getIdArquivo()))) | ||
295 | - && ((this.campos == null && other.getCampos() == null) | ||
296 | - || (this.campos != null && java.util.Arrays.equals(this.campos, other.getCampos()))) | ||
297 | - && ((this.sinBloqueado == null && other.getSinBloqueado() == null) | ||
298 | - || (this.sinBloqueado != null && this.sinBloqueado.equals(other.getSinBloqueado()))); | ||
299 | - __equalsCalc = null; | ||
300 | - return _equals; | ||
301 | - } | ||
302 | - | ||
303 | - private boolean __hashCodeCalc = false; | ||
304 | - | ||
305 | - public int hashCode() { | ||
306 | - if (__hashCodeCalc) { | ||
307 | - return 0; | ||
308 | - } | ||
309 | - __hashCodeCalc = true; | ||
310 | - int _hashCode = 1; | ||
311 | - if (getTipo() != null) { | ||
312 | - _hashCode += getTipo().hashCode(); | ||
313 | - } | ||
314 | - if (getIdProcedimento() != null) { | ||
315 | - _hashCode += getIdProcedimento().hashCode(); | ||
316 | - } | ||
317 | - if (getProtocoloProcedimento() != null) { | ||
318 | - _hashCode += getProtocoloProcedimento().hashCode(); | ||
319 | - } | ||
320 | - if (getIdSerie() != null) { | ||
321 | - _hashCode += getIdSerie().hashCode(); | ||
322 | - } | ||
323 | - if (getNumero() != null) { | ||
324 | - _hashCode += getNumero().hashCode(); | ||
325 | - } | ||
326 | - if (getData() != null) { | ||
327 | - _hashCode += getData().hashCode(); | ||
328 | - } | ||
329 | - if (getDescricao() != null) { | ||
330 | - _hashCode += getDescricao().hashCode(); | ||
331 | - } | ||
332 | - if (getIdTipoConferencia() != null) { | ||
333 | - _hashCode += getIdTipoConferencia().hashCode(); | ||
334 | - } | ||
335 | - if (getRemetente() != null) { | ||
336 | - _hashCode += getRemetente().hashCode(); | ||
337 | - } | ||
338 | - if (getInteressados() != null) { | ||
339 | - for (int i = 0; i < java.lang.reflect.Array.getLength(getInteressados()); i++) { | ||
340 | - java.lang.Object obj = java.lang.reflect.Array.get(getInteressados(), i); | ||
341 | - if (obj != null && !obj.getClass().isArray()) { | ||
342 | - _hashCode += obj.hashCode(); | ||
343 | - } | ||
344 | - } | ||
345 | - } | ||
346 | - if (getDestinatarios() != null) { | ||
347 | - for (int i = 0; i < java.lang.reflect.Array.getLength(getDestinatarios()); i++) { | ||
348 | - java.lang.Object obj = java.lang.reflect.Array.get(getDestinatarios(), i); | ||
349 | - if (obj != null && !obj.getClass().isArray()) { | ||
350 | - _hashCode += obj.hashCode(); | ||
351 | - } | ||
352 | - } | ||
353 | - } | ||
354 | - if (getObservacao() != null) { | ||
355 | - _hashCode += getObservacao().hashCode(); | ||
356 | - } | ||
357 | - if (getNomeArquivo() != null) { | ||
358 | - _hashCode += getNomeArquivo().hashCode(); | ||
359 | - } | ||
360 | - if (getNivelAcesso() != null) { | ||
361 | - _hashCode += getNivelAcesso().hashCode(); | ||
362 | - } | ||
363 | - if (getIdHipoteseLegal() != null) { | ||
364 | - _hashCode += getIdHipoteseLegal().hashCode(); | ||
365 | - } | ||
366 | - if (getConteudo() != null) { | ||
367 | - _hashCode += getConteudo().hashCode(); | ||
368 | - } | ||
369 | - if (getIdArquivo() != null) { | ||
370 | - _hashCode += getIdArquivo().hashCode(); | ||
371 | - } | ||
372 | - if (getCampos() != null) { | ||
373 | - for (int i = 0; i < java.lang.reflect.Array.getLength(getCampos()); i++) { | ||
374 | - java.lang.Object obj = java.lang.reflect.Array.get(getCampos(), i); | ||
375 | - if (obj != null && !obj.getClass().isArray()) { | ||
376 | - _hashCode += obj.hashCode(); | ||
377 | - } | ||
378 | - } | ||
379 | - } | ||
380 | - if (getSinBloqueado() != null) { | ||
381 | - _hashCode += getSinBloqueado().hashCode(); | ||
382 | - } | ||
383 | - __hashCodeCalc = false; | ||
384 | - return _hashCode; | ||
385 | - } | ||
386 | } | 44 | } |
src/main/java/br/gov/ans/integracao/sei/client/Estado.java
1 | -/** | ||
2 | - * Estado.java | ||
3 | - * | ||
4 | - * This file was auto-generated from WSDL | ||
5 | - * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter. | ||
6 | - */ | ||
7 | - | ||
8 | package br.gov.ans.integracao.sei.client; | 1 | package br.gov.ans.integracao.sei.client; |
9 | 2 | ||
10 | import java.io.Serializable; | 3 | import java.io.Serializable; |
@@ -13,120 +6,25 @@ import com.fasterxml.jackson.annotation.JsonIgnoreProperties; | @@ -13,120 +6,25 @@ import com.fasterxml.jackson.annotation.JsonIgnoreProperties; | ||
13 | import com.fasterxml.jackson.annotation.JsonInclude; | 6 | import com.fasterxml.jackson.annotation.JsonInclude; |
14 | import com.fasterxml.jackson.annotation.JsonInclude.Include; | 7 | import com.fasterxml.jackson.annotation.JsonInclude.Include; |
15 | 8 | ||
9 | +import lombok.AllArgsConstructor; | ||
10 | +import lombok.Builder; | ||
11 | +import lombok.Data; | ||
12 | +import lombok.NoArgsConstructor; | ||
13 | + | ||
16 | @JsonInclude(content = Include.NON_NULL) | 14 | @JsonInclude(content = Include.NON_NULL) |
17 | @JsonIgnoreProperties(ignoreUnknown = true) | 15 | @JsonIgnoreProperties(ignoreUnknown = true) |
16 | +@NoArgsConstructor | ||
17 | +@AllArgsConstructor | ||
18 | +@Data | ||
19 | +@Builder | ||
18 | public class Estado implements Serializable { | 20 | public class Estado implements Serializable { |
19 | 21 | ||
20 | private static final long serialVersionUID = 1L; | 22 | private static final long serialVersionUID = 1L; |
21 | 23 | ||
22 | private String idEstado; | 24 | private String idEstado; |
23 | - | ||
24 | private String idPais; | 25 | private String idPais; |
25 | - | ||
26 | private String sigla; | 26 | private String sigla; |
27 | - | ||
28 | private String nome; | 27 | private String nome; |
29 | - | ||
30 | private String codigoIbge; | 28 | private String codigoIbge; |
31 | 29 | ||
32 | - public Estado() { | ||
33 | - } | ||
34 | - | ||
35 | - public Estado(String sigla) { | ||
36 | - this.sigla = sigla; | ||
37 | - } | ||
38 | - | ||
39 | - public Estado(String idEstado, String idPais, String sigla, String nome, String codigoIbge) { | ||
40 | - this.idEstado = idEstado; | ||
41 | - this.idPais = idPais; | ||
42 | - this.sigla = sigla; | ||
43 | - this.nome = nome; | ||
44 | - this.codigoIbge = codigoIbge; | ||
45 | - } | ||
46 | - | ||
47 | - public String getIdEstado() { | ||
48 | - return idEstado; | ||
49 | - } | ||
50 | - | ||
51 | - public void setIdEstado(String idEstado) { | ||
52 | - this.idEstado = idEstado; | ||
53 | - } | ||
54 | - | ||
55 | - public String getIdPais() { | ||
56 | - return idPais; | ||
57 | - } | ||
58 | - | ||
59 | - public void setIdPais(String idPais) { | ||
60 | - this.idPais = idPais; | ||
61 | - } | ||
62 | - | ||
63 | - public String getSigla() { | ||
64 | - return sigla; | ||
65 | - } | ||
66 | - | ||
67 | - public void setSigla(String sigla) { | ||
68 | - this.sigla = sigla; | ||
69 | - } | ||
70 | - | ||
71 | - public String getNome() { | ||
72 | - return nome; | ||
73 | - } | ||
74 | - | ||
75 | - public void setNome(String nome) { | ||
76 | - this.nome = nome; | ||
77 | - } | ||
78 | - | ||
79 | - public String getCodigoIbge() { | ||
80 | - return codigoIbge; | ||
81 | - } | ||
82 | - | ||
83 | - public void setCodigoIbge(String codigoIbge) { | ||
84 | - this.codigoIbge = codigoIbge; | ||
85 | - } | ||
86 | - | ||
87 | - private Object __equalsCalc = null; | ||
88 | - | ||
89 | - public boolean equals(Object obj) { | ||
90 | - if (!(obj instanceof Estado)) | ||
91 | - return false; | ||
92 | - Estado other = (Estado) obj; | ||
93 | - if (this == obj) | ||
94 | - return true; | ||
95 | - if (__equalsCalc != null) { | ||
96 | - return (__equalsCalc == obj); | ||
97 | - } | ||
98 | - __equalsCalc = obj; | ||
99 | - boolean _equals; | ||
100 | - _equals = true && ((this.sigla == null && other.getSigla() == null) | ||
101 | - || (this.sigla != null && this.sigla.equals(other.getSigla()))); | ||
102 | - __equalsCalc = null; | ||
103 | - return _equals; | ||
104 | - } | ||
105 | - | ||
106 | - private boolean __hashCodeCalc = false; | ||
107 | - | ||
108 | - public int hashCode() { | ||
109 | - if (__hashCodeCalc) { | ||
110 | - return 0; | ||
111 | - } | ||
112 | - __hashCodeCalc = true; | ||
113 | - int _hashCode = 1; | ||
114 | - if (getIdEstado() != null) { | ||
115 | - _hashCode += getIdEstado().hashCode(); | ||
116 | - } | ||
117 | - if (getIdPais() != null) { | ||
118 | - _hashCode += getIdPais().hashCode(); | ||
119 | - } | ||
120 | - if (getSigla() != null) { | ||
121 | - _hashCode += getSigla().hashCode(); | ||
122 | - } | ||
123 | - if (getNome() != null) { | ||
124 | - _hashCode += getNome().hashCode(); | ||
125 | - } | ||
126 | - if (getCodigoIbge() != null) { | ||
127 | - _hashCode += getCodigoIbge().hashCode(); | ||
128 | - } | ||
129 | - __hashCodeCalc = false; | ||
130 | - return _hashCode; | ||
131 | - } | ||
132 | } | 30 | } |
src/main/java/br/gov/ans/integracao/sei/client/HipoteseLegal.java
1 | -/** | ||
2 | - * HipoteseLegal.java | ||
3 | - * | ||
4 | - * This file was auto-generated from WSDL | ||
5 | - * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter. | ||
6 | - */ | ||
7 | - | ||
8 | package br.gov.ans.integracao.sei.client; | 1 | package br.gov.ans.integracao.sei.client; |
9 | 2 | ||
10 | import java.io.Serializable; | 3 | import java.io.Serializable; |
@@ -13,109 +6,24 @@ import com.fasterxml.jackson.annotation.JsonIgnoreProperties; | @@ -13,109 +6,24 @@ import com.fasterxml.jackson.annotation.JsonIgnoreProperties; | ||
13 | import com.fasterxml.jackson.annotation.JsonInclude; | 6 | import com.fasterxml.jackson.annotation.JsonInclude; |
14 | import com.fasterxml.jackson.annotation.JsonInclude.Include; | 7 | import com.fasterxml.jackson.annotation.JsonInclude.Include; |
15 | 8 | ||
9 | +import lombok.AllArgsConstructor; | ||
10 | +import lombok.Builder; | ||
11 | +import lombok.Data; | ||
12 | +import lombok.NoArgsConstructor; | ||
13 | + | ||
16 | @JsonInclude(content = Include.NON_NULL) | 14 | @JsonInclude(content = Include.NON_NULL) |
17 | @JsonIgnoreProperties(ignoreUnknown = true) | 15 | @JsonIgnoreProperties(ignoreUnknown = true) |
16 | +@NoArgsConstructor | ||
17 | +@AllArgsConstructor | ||
18 | +@Data | ||
19 | +@Builder | ||
18 | public class HipoteseLegal implements Serializable { | 20 | public class HipoteseLegal implements Serializable { |
19 | 21 | ||
20 | private static final long serialVersionUID = 1L; | 22 | private static final long serialVersionUID = 1L; |
21 | 23 | ||
22 | private String idHipoteseLegal; | 24 | private String idHipoteseLegal; |
23 | - | ||
24 | private String nome; | 25 | private String nome; |
25 | - | ||
26 | private String baseLegal; | 26 | private String baseLegal; |
27 | - | ||
28 | private String nivelAcesso; | 27 | private String nivelAcesso; |
29 | - | ||
30 | - public HipoteseLegal() { | ||
31 | - } | ||
32 | - | ||
33 | - public HipoteseLegal(String idHipoteseLegal, String nome, String baseLegal, String nivelAcesso) { | ||
34 | - this.idHipoteseLegal = idHipoteseLegal; | ||
35 | - this.nome = nome; | ||
36 | - this.baseLegal = baseLegal; | ||
37 | - this.nivelAcesso = nivelAcesso; | ||
38 | - } | ||
39 | - | ||
40 | - public String getIdHipoteseLegal() { | ||
41 | - return idHipoteseLegal; | ||
42 | - } | ||
43 | - | ||
44 | - public void setIdHipoteseLegal(String idHipoteseLegal) { | ||
45 | - this.idHipoteseLegal = idHipoteseLegal; | ||
46 | - } | ||
47 | - | ||
48 | - public String getNome() { | ||
49 | - return nome; | ||
50 | - } | ||
51 | - | ||
52 | - public void setNome(String nome) { | ||
53 | - this.nome = nome; | ||
54 | - } | ||
55 | - | ||
56 | - public String getBaseLegal() { | ||
57 | - return baseLegal; | ||
58 | - } | ||
59 | - | ||
60 | - public void setBaseLegal(String baseLegal) { | ||
61 | - this.baseLegal = baseLegal; | ||
62 | - } | ||
63 | - | ||
64 | - public String getNivelAcesso() { | ||
65 | - return nivelAcesso; | ||
66 | - } | ||
67 | - | ||
68 | - public void setNivelAcesso(String nivelAcesso) { | ||
69 | - this.nivelAcesso = nivelAcesso; | ||
70 | - } | ||
71 | - | ||
72 | - private Object __equalsCalc = null; | ||
73 | - | ||
74 | - public boolean equals(Object obj) { | ||
75 | - if (!(obj instanceof HipoteseLegal)) | ||
76 | - return false; | ||
77 | - HipoteseLegal other = (HipoteseLegal) obj; | ||
78 | - if (this == obj) | ||
79 | - return true; | ||
80 | - if (__equalsCalc != null) { | ||
81 | - return (__equalsCalc == obj); | ||
82 | - } | ||
83 | - __equalsCalc = obj; | ||
84 | - boolean _equals; | ||
85 | - _equals = true | ||
86 | - && ((this.idHipoteseLegal == null && other.getIdHipoteseLegal() == null) | ||
87 | - || (this.idHipoteseLegal != null && this.idHipoteseLegal.equals(other.getIdHipoteseLegal()))) | ||
88 | - && ((this.nome == null && other.getNome() == null) | ||
89 | - || (this.nome != null && this.nome.equals(other.getNome()))) | ||
90 | - && ((this.baseLegal == null && other.getBaseLegal() == null) | ||
91 | - || (this.baseLegal != null && this.baseLegal.equals(other.getBaseLegal()))) | ||
92 | - && ((this.nivelAcesso == null && other.getNivelAcesso() == null) | ||
93 | - || (this.nivelAcesso != null && this.nivelAcesso.equals(other.getNivelAcesso()))); | ||
94 | - __equalsCalc = null; | ||
95 | - return _equals; | ||
96 | - } | ||
97 | - | ||
98 | - private boolean __hashCodeCalc = false; | ||
99 | - | ||
100 | - public int hashCode() { | ||
101 | - if (__hashCodeCalc) { | ||
102 | - return 0; | ||
103 | - } | ||
104 | - __hashCodeCalc = true; | ||
105 | - int _hashCode = 1; | ||
106 | - if (getIdHipoteseLegal() != null) { | ||
107 | - _hashCode += getIdHipoteseLegal().hashCode(); | ||
108 | - } | ||
109 | - if (getNome() != null) { | ||
110 | - _hashCode += getNome().hashCode(); | ||
111 | - } | ||
112 | - if (getBaseLegal() != null) { | ||
113 | - _hashCode += getBaseLegal().hashCode(); | ||
114 | - } | ||
115 | - if (getNivelAcesso() != null) { | ||
116 | - _hashCode += getNivelAcesso().hashCode(); | ||
117 | - } | ||
118 | - __hashCodeCalc = false; | ||
119 | - return _hashCode; | ||
120 | - } | 28 | + |
121 | } | 29 | } |
src/main/java/br/gov/ans/integracao/sei/client/Interessado.java
1 | -/** | ||
2 | - * Interessado.java | ||
3 | - * | ||
4 | - * This file was auto-generated from WSDL | ||
5 | - * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter. | ||
6 | - */ | ||
7 | - | ||
8 | package br.gov.ans.integracao.sei.client; | 1 | package br.gov.ans.integracao.sei.client; |
9 | 2 | ||
10 | import java.io.Serializable; | 3 | import java.io.Serializable; |
@@ -13,77 +6,22 @@ import com.fasterxml.jackson.annotation.JsonIgnoreProperties; | @@ -13,77 +6,22 @@ import com.fasterxml.jackson.annotation.JsonIgnoreProperties; | ||
13 | import com.fasterxml.jackson.annotation.JsonInclude; | 6 | import com.fasterxml.jackson.annotation.JsonInclude; |
14 | import com.fasterxml.jackson.annotation.JsonInclude.Include; | 7 | import com.fasterxml.jackson.annotation.JsonInclude.Include; |
15 | 8 | ||
9 | +import lombok.AllArgsConstructor; | ||
10 | +import lombok.Builder; | ||
11 | +import lombok.Data; | ||
12 | +import lombok.NoArgsConstructor; | ||
13 | + | ||
16 | @JsonInclude(content = Include.NON_NULL) | 14 | @JsonInclude(content = Include.NON_NULL) |
17 | @JsonIgnoreProperties(ignoreUnknown = true) | 15 | @JsonIgnoreProperties(ignoreUnknown = true) |
16 | +@NoArgsConstructor | ||
17 | +@AllArgsConstructor | ||
18 | +@Data | ||
19 | +@Builder | ||
18 | public class Interessado implements Serializable { | 20 | public class Interessado implements Serializable { |
19 | 21 | ||
20 | private static final long serialVersionUID = 1L; | 22 | private static final long serialVersionUID = 1L; |
21 | 23 | ||
22 | private String sigla; | 24 | private String sigla; |
23 | - | ||
24 | private String nome; | 25 | private String nome; |
25 | - | ||
26 | - public Interessado() { | ||
27 | - } | ||
28 | - | ||
29 | - public Interessado(String sigla, String nome) { | ||
30 | - this.sigla = sigla; | ||
31 | - this.nome = nome; | ||
32 | - } | ||
33 | - | ||
34 | - public String getSigla() { | ||
35 | - return sigla; | ||
36 | - } | ||
37 | - | ||
38 | - public void setSigla(String sigla) { | ||
39 | - this.sigla = sigla; | ||
40 | - } | ||
41 | - | ||
42 | - public String getNome() { | ||
43 | - return nome; | ||
44 | - } | ||
45 | - | ||
46 | - public void setNome(String nome) { | ||
47 | - this.nome = nome; | ||
48 | - } | ||
49 | - | ||
50 | - private Object __equalsCalc = null; | ||
51 | - | ||
52 | - public boolean equals(Object obj) { | ||
53 | - if (!(obj instanceof Interessado)) | ||
54 | - return false; | ||
55 | - Interessado other = (Interessado) obj; | ||
56 | - if (this == obj) | ||
57 | - return true; | ||
58 | - if (__equalsCalc != null) { | ||
59 | - return (__equalsCalc == obj); | ||
60 | - } | ||
61 | - __equalsCalc = obj; | ||
62 | - boolean _equals; | ||
63 | - _equals = true | ||
64 | - && ((this.sigla == null && other.getSigla() == null) | ||
65 | - || (this.sigla != null && this.sigla.equals(other.getSigla()))) | ||
66 | - && ((this.nome == null && other.getNome() == null) | ||
67 | - || (this.nome != null && this.nome.equals(other.getNome()))); | ||
68 | - __equalsCalc = null; | ||
69 | - return _equals; | ||
70 | - } | ||
71 | - | ||
72 | - private boolean __hashCodeCalc = false; | ||
73 | - | ||
74 | - public int hashCode() { | ||
75 | - if (__hashCodeCalc) { | ||
76 | - return 0; | ||
77 | - } | ||
78 | - __hashCodeCalc = true; | ||
79 | - int _hashCode = 1; | ||
80 | - if (getSigla() != null) { | ||
81 | - _hashCode += getSigla().hashCode(); | ||
82 | - } | ||
83 | - if (getNome() != null) { | ||
84 | - _hashCode += getNome().hashCode(); | ||
85 | - } | ||
86 | - __hashCodeCalc = false; | ||
87 | - return _hashCode; | ||
88 | - } | 26 | + |
89 | } | 27 | } |
src/main/java/br/gov/ans/integracao/sei/client/Marcador.java
1 | -/** | ||
2 | - * Marcador.java | ||
3 | - * | ||
4 | - * This file was auto-generated from WSDL | ||
5 | - * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter. | ||
6 | - */ | ||
7 | - | ||
8 | package br.gov.ans.integracao.sei.client; | 1 | package br.gov.ans.integracao.sei.client; |
9 | 2 | ||
10 | import java.io.Serializable; | 3 | import java.io.Serializable; |
@@ -13,109 +6,24 @@ import com.fasterxml.jackson.annotation.JsonIgnoreProperties; | @@ -13,109 +6,24 @@ import com.fasterxml.jackson.annotation.JsonIgnoreProperties; | ||
13 | import com.fasterxml.jackson.annotation.JsonInclude; | 6 | import com.fasterxml.jackson.annotation.JsonInclude; |
14 | import com.fasterxml.jackson.annotation.JsonInclude.Include; | 7 | import com.fasterxml.jackson.annotation.JsonInclude.Include; |
15 | 8 | ||
9 | +import lombok.AllArgsConstructor; | ||
10 | +import lombok.Builder; | ||
11 | +import lombok.Data; | ||
12 | +import lombok.NoArgsConstructor; | ||
13 | + | ||
16 | @JsonInclude(content = Include.NON_NULL) | 14 | @JsonInclude(content = Include.NON_NULL) |
17 | @JsonIgnoreProperties(ignoreUnknown = true) | 15 | @JsonIgnoreProperties(ignoreUnknown = true) |
16 | +@NoArgsConstructor | ||
17 | +@AllArgsConstructor | ||
18 | +@Data | ||
19 | +@Builder | ||
18 | public class Marcador implements Serializable { | 20 | public class Marcador implements Serializable { |
19 | 21 | ||
20 | private static final long serialVersionUID = 1L; | 22 | private static final long serialVersionUID = 1L; |
21 | 23 | ||
22 | private String idMarcador; | 24 | private String idMarcador; |
23 | - | ||
24 | private String nome; | 25 | private String nome; |
25 | - | ||
26 | private String icone; | 26 | private String icone; |
27 | - | ||
28 | private String sinAtivo; | 27 | private String sinAtivo; |
29 | - | ||
30 | - public Marcador() { | ||
31 | - } | ||
32 | - | ||
33 | - public Marcador(String idMarcador, String nome, String icone, String sinAtivo) { | ||
34 | - this.idMarcador = idMarcador; | ||
35 | - this.nome = nome; | ||
36 | - this.icone = icone; | ||
37 | - this.sinAtivo = sinAtivo; | ||
38 | - } | ||
39 | - | ||
40 | - public String getIdMarcador() { | ||
41 | - return idMarcador; | ||
42 | - } | ||
43 | - | ||
44 | - public void setIdMarcador(String idMarcador) { | ||
45 | - this.idMarcador = idMarcador; | ||
46 | - } | ||
47 | - | ||
48 | - public String getNome() { | ||
49 | - return nome; | ||
50 | - } | ||
51 | - | ||
52 | - public void setNome(String nome) { | ||
53 | - this.nome = nome; | ||
54 | - } | ||
55 | - | ||
56 | - public String getIcone() { | ||
57 | - return icone; | ||
58 | - } | ||
59 | - | ||
60 | - public void setIcone(String icone) { | ||
61 | - this.icone = icone; | ||
62 | - } | ||
63 | - | ||
64 | - public String getSinAtivo() { | ||
65 | - return sinAtivo; | ||
66 | - } | ||
67 | - | ||
68 | - public void setSinAtivo(String sinAtivo) { | ||
69 | - this.sinAtivo = sinAtivo; | ||
70 | - } | ||
71 | - | ||
72 | - private Object __equalsCalc = null; | ||
73 | - | ||
74 | - public boolean equals(Object obj) { | ||
75 | - if (!(obj instanceof Marcador)) | ||
76 | - return false; | ||
77 | - Marcador other = (Marcador) obj; | ||
78 | - if (this == obj) | ||
79 | - return true; | ||
80 | - if (__equalsCalc != null) { | ||
81 | - return (__equalsCalc == obj); | ||
82 | - } | ||
83 | - __equalsCalc = obj; | ||
84 | - boolean _equals; | ||
85 | - _equals = true | ||
86 | - && ((this.idMarcador == null && other.getIdMarcador() == null) | ||
87 | - || (this.idMarcador != null && this.idMarcador.equals(other.getIdMarcador()))) | ||
88 | - && ((this.nome == null && other.getNome() == null) | ||
89 | - || (this.nome != null && this.nome.equals(other.getNome()))) | ||
90 | - && ((this.icone == null && other.getIcone() == null) | ||
91 | - || (this.icone != null && this.icone.equals(other.getIcone()))) | ||
92 | - && ((this.sinAtivo == null && other.getSinAtivo() == null) | ||
93 | - || (this.sinAtivo != null && this.sinAtivo.equals(other.getSinAtivo()))); | ||
94 | - __equalsCalc = null; | ||
95 | - return _equals; | ||
96 | - } | ||
97 | - | ||
98 | - private boolean __hashCodeCalc = false; | ||
99 | - | ||
100 | - public int hashCode() { | ||
101 | - if (__hashCodeCalc) { | ||
102 | - return 0; | ||
103 | - } | ||
104 | - __hashCodeCalc = true; | ||
105 | - int _hashCode = 1; | ||
106 | - if (getIdMarcador() != null) { | ||
107 | - _hashCode += getIdMarcador().hashCode(); | ||
108 | - } | ||
109 | - if (getNome() != null) { | ||
110 | - _hashCode += getNome().hashCode(); | ||
111 | - } | ||
112 | - if (getIcone() != null) { | ||
113 | - _hashCode += getIcone().hashCode(); | ||
114 | - } | ||
115 | - if (getSinAtivo() != null) { | ||
116 | - _hashCode += getSinAtivo().hashCode(); | ||
117 | - } | ||
118 | - __hashCodeCalc = false; | ||
119 | - return _hashCode; | ||
120 | - } | 28 | + |
121 | } | 29 | } |
src/main/java/br/gov/ans/integracao/sei/client/Observacao.java
1 | -/** | ||
2 | - * Observacao.java | ||
3 | - * | ||
4 | - * This file was auto-generated from WSDL | ||
5 | - * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter. | ||
6 | - */ | ||
7 | - | ||
8 | package br.gov.ans.integracao.sei.client; | 1 | package br.gov.ans.integracao.sei.client; |
9 | 2 | ||
10 | import java.io.Serializable; | 3 | import java.io.Serializable; |
@@ -13,77 +6,22 @@ import com.fasterxml.jackson.annotation.JsonIgnoreProperties; | @@ -13,77 +6,22 @@ import com.fasterxml.jackson.annotation.JsonIgnoreProperties; | ||
13 | import com.fasterxml.jackson.annotation.JsonInclude; | 6 | import com.fasterxml.jackson.annotation.JsonInclude; |
14 | import com.fasterxml.jackson.annotation.JsonInclude.Include; | 7 | import com.fasterxml.jackson.annotation.JsonInclude.Include; |
15 | 8 | ||
9 | +import lombok.AllArgsConstructor; | ||
10 | +import lombok.Builder; | ||
11 | +import lombok.Data; | ||
12 | +import lombok.NoArgsConstructor; | ||
13 | + | ||
16 | @JsonInclude(content = Include.NON_NULL) | 14 | @JsonInclude(content = Include.NON_NULL) |
17 | @JsonIgnoreProperties(ignoreUnknown = true) | 15 | @JsonIgnoreProperties(ignoreUnknown = true) |
16 | +@NoArgsConstructor | ||
17 | +@AllArgsConstructor | ||
18 | +@Data | ||
19 | +@Builder | ||
18 | public class Observacao implements Serializable { | 20 | public class Observacao implements Serializable { |
19 | 21 | ||
20 | private static final long serialVersionUID = 1L; | 22 | private static final long serialVersionUID = 1L; |
21 | 23 | ||
22 | private String descricao; | 24 | private String descricao; |
23 | - | ||
24 | private Unidade unidade; | 25 | private Unidade unidade; |
25 | - | ||
26 | - public Observacao() { | ||
27 | - } | ||
28 | - | ||
29 | - public Observacao(String descricao, Unidade unidade) { | ||
30 | - this.descricao = descricao; | ||
31 | - this.unidade = unidade; | ||
32 | - } | ||
33 | - | ||
34 | - public String getDescricao() { | ||
35 | - return descricao; | ||
36 | - } | ||
37 | - | ||
38 | - public void setDescricao(String descricao) { | ||
39 | - this.descricao = descricao; | ||
40 | - } | ||
41 | - | ||
42 | - public Unidade getUnidade() { | ||
43 | - return unidade; | ||
44 | - } | ||
45 | - | ||
46 | - public void setUnidade(Unidade unidade) { | ||
47 | - this.unidade = unidade; | ||
48 | - } | ||
49 | - | ||
50 | - private Object __equalsCalc = null; | ||
51 | - | ||
52 | - public boolean equals(Object obj) { | ||
53 | - if (!(obj instanceof Observacao)) | ||
54 | - return false; | ||
55 | - Observacao other = (Observacao) obj; | ||
56 | - if (this == obj) | ||
57 | - return true; | ||
58 | - if (__equalsCalc != null) { | ||
59 | - return (__equalsCalc == obj); | ||
60 | - } | ||
61 | - __equalsCalc = obj; | ||
62 | - boolean _equals; | ||
63 | - _equals = true | ||
64 | - && ((this.descricao == null && other.getDescricao() == null) | ||
65 | - || (this.descricao != null && this.descricao.equals(other.getDescricao()))) | ||
66 | - && ((this.unidade == null && other.getUnidade() == null) | ||
67 | - || (this.unidade != null && this.unidade.equals(other.getUnidade()))); | ||
68 | - __equalsCalc = null; | ||
69 | - return _equals; | ||
70 | - } | ||
71 | - | ||
72 | - private boolean __hashCodeCalc = false; | ||
73 | - | ||
74 | - public int hashCode() { | ||
75 | - if (__hashCodeCalc) { | ||
76 | - return 0; | ||
77 | - } | ||
78 | - __hashCodeCalc = true; | ||
79 | - int _hashCode = 1; | ||
80 | - if (getDescricao() != null) { | ||
81 | - _hashCode += getDescricao().hashCode(); | ||
82 | - } | ||
83 | - if (getUnidade() != null) { | ||
84 | - _hashCode += getUnidade().hashCode(); | ||
85 | - } | ||
86 | - __hashCodeCalc = false; | ||
87 | - return _hashCode; | ||
88 | - } | 26 | + |
89 | } | 27 | } |
src/main/java/br/gov/ans/integracao/sei/client/Pais.java
1 | -/** | ||
2 | - * Pais.java | ||
3 | - * | ||
4 | - * This file was auto-generated from WSDL | ||
5 | - * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter. | ||
6 | - */ | ||
7 | - | ||
8 | package br.gov.ans.integracao.sei.client; | 1 | package br.gov.ans.integracao.sei.client; |
9 | 2 | ||
10 | import java.io.Serializable; | 3 | import java.io.Serializable; |
@@ -13,77 +6,22 @@ import com.fasterxml.jackson.annotation.JsonIgnoreProperties; | @@ -13,77 +6,22 @@ import com.fasterxml.jackson.annotation.JsonIgnoreProperties; | ||
13 | import com.fasterxml.jackson.annotation.JsonInclude; | 6 | import com.fasterxml.jackson.annotation.JsonInclude; |
14 | import com.fasterxml.jackson.annotation.JsonInclude.Include; | 7 | import com.fasterxml.jackson.annotation.JsonInclude.Include; |
15 | 8 | ||
9 | +import lombok.AllArgsConstructor; | ||
10 | +import lombok.Builder; | ||
11 | +import lombok.Data; | ||
12 | +import lombok.NoArgsConstructor; | ||
13 | + | ||
16 | @JsonInclude(content = Include.NON_NULL) | 14 | @JsonInclude(content = Include.NON_NULL) |
17 | @JsonIgnoreProperties(ignoreUnknown = true) | 15 | @JsonIgnoreProperties(ignoreUnknown = true) |
16 | +@NoArgsConstructor | ||
17 | +@AllArgsConstructor | ||
18 | +@Data | ||
19 | +@Builder | ||
18 | public class Pais implements Serializable { | 20 | public class Pais implements Serializable { |
19 | 21 | ||
20 | private static final long serialVersionUID = 1L; | 22 | private static final long serialVersionUID = 1L; |
21 | 23 | ||
22 | private String idPais; | 24 | private String idPais; |
23 | - | ||
24 | private String nome; | 25 | private String nome; |
25 | 26 | ||
26 | - public Pais() { | ||
27 | - } | ||
28 | - | ||
29 | - public Pais(String idPais, String nome) { | ||
30 | - this.idPais = idPais; | ||
31 | - this.nome = nome; | ||
32 | - } | ||
33 | - | ||
34 | - public String getIdPais() { | ||
35 | - return idPais; | ||
36 | - } | ||
37 | - | ||
38 | - public void setIdPais(String idPais) { | ||
39 | - this.idPais = idPais; | ||
40 | - } | ||
41 | - | ||
42 | - public String getNome() { | ||
43 | - return nome; | ||
44 | - } | ||
45 | - | ||
46 | - public void setNome(String nome) { | ||
47 | - this.nome = nome; | ||
48 | - } | ||
49 | - | ||
50 | - private Object __equalsCalc = null; | ||
51 | - | ||
52 | - public boolean equals(Object obj) { | ||
53 | - if (!(obj instanceof Pais)) | ||
54 | - return false; | ||
55 | - Pais other = (Pais) obj; | ||
56 | - if (this == obj) | ||
57 | - return true; | ||
58 | - if (__equalsCalc != null) { | ||
59 | - return (__equalsCalc == obj); | ||
60 | - } | ||
61 | - __equalsCalc = obj; | ||
62 | - boolean _equals; | ||
63 | - _equals = true | ||
64 | - && ((this.idPais == null && other.getIdPais() == null) | ||
65 | - || (this.idPais != null && this.idPais.equals(other.getIdPais()))) | ||
66 | - && ((this.nome == null && other.getNome() == null) | ||
67 | - || (this.nome != null && this.nome.equals(other.getNome()))); | ||
68 | - __equalsCalc = null; | ||
69 | - return _equals; | ||
70 | - } | ||
71 | - | ||
72 | - private boolean __hashCodeCalc = false; | ||
73 | - | ||
74 | - public int hashCode() { | ||
75 | - if (__hashCodeCalc) { | ||
76 | - return 0; | ||
77 | - } | ||
78 | - __hashCodeCalc = true; | ||
79 | - int _hashCode = 1; | ||
80 | - if (getIdPais() != null) { | ||
81 | - _hashCode += getIdPais().hashCode(); | ||
82 | - } | ||
83 | - if (getNome() != null) { | ||
84 | - _hashCode += getNome().hashCode(); | ||
85 | - } | ||
86 | - __hashCodeCalc = false; | ||
87 | - return _hashCode; | ||
88 | - } | ||
89 | } | 27 | } |
src/main/java/br/gov/ans/integracao/sei/client/Procedimento.java
1 | -/** | ||
2 | - * Procedimento.java | ||
3 | - * | ||
4 | - * This file was auto-generated from WSDL | ||
5 | - * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter. | ||
6 | - */ | ||
7 | - | ||
8 | package br.gov.ans.integracao.sei.client; | 1 | package br.gov.ans.integracao.sei.client; |
9 | 2 | ||
10 | import java.io.Serializable; | 3 | import java.io.Serializable; |
@@ -13,198 +6,29 @@ import com.fasterxml.jackson.annotation.JsonIgnoreProperties; | @@ -13,198 +6,29 @@ import com.fasterxml.jackson.annotation.JsonIgnoreProperties; | ||
13 | import com.fasterxml.jackson.annotation.JsonInclude; | 6 | import com.fasterxml.jackson.annotation.JsonInclude; |
14 | import com.fasterxml.jackson.annotation.JsonInclude.Include; | 7 | import com.fasterxml.jackson.annotation.JsonInclude.Include; |
15 | 8 | ||
9 | +import lombok.AllArgsConstructor; | ||
10 | +import lombok.Builder; | ||
11 | +import lombok.Data; | ||
12 | +import lombok.NoArgsConstructor; | ||
13 | + | ||
16 | @JsonInclude(content = Include.NON_NULL) | 14 | @JsonInclude(content = Include.NON_NULL) |
17 | @JsonIgnoreProperties(ignoreUnknown = true) | 15 | @JsonIgnoreProperties(ignoreUnknown = true) |
16 | +@NoArgsConstructor | ||
17 | +@AllArgsConstructor | ||
18 | +@Data | ||
19 | +@Builder | ||
18 | public class Procedimento implements Serializable { | 20 | public class Procedimento implements Serializable { |
19 | 21 | ||
20 | private static final long serialVersionUID = 1L; | 22 | private static final long serialVersionUID = 1L; |
21 | 23 | ||
22 | private String idTipoProcedimento; | 24 | private String idTipoProcedimento; |
23 | - | ||
24 | private String numeroProtocolo; | 25 | private String numeroProtocolo; |
25 | - | ||
26 | private String dataAutuacao; | 26 | private String dataAutuacao; |
27 | - | ||
28 | private String especificacao; | 27 | private String especificacao; |
29 | - | ||
30 | private Assunto[] assuntos; | 28 | private Assunto[] assuntos; |
31 | - | ||
32 | private Interessado[] interessados; | 29 | private Interessado[] interessados; |
33 | - | ||
34 | private String observacao; | 30 | private String observacao; |
35 | - | ||
36 | private String nivelAcesso; | 31 | private String nivelAcesso; |
37 | - | ||
38 | private String idHipoteseLegal; | 32 | private String idHipoteseLegal; |
39 | 33 | ||
40 | - public Procedimento() { | ||
41 | - } | ||
42 | - | ||
43 | - public Procedimento(String idTipoProcedimento, String numeroProtocolo, String dataAutuacao, String especificacao, Assunto[] assuntos, Interessado[] interessados, String observacao, String nivelAcesso, String idHipoteseLegal) { | ||
44 | - this.idTipoProcedimento = idTipoProcedimento; | ||
45 | - this.numeroProtocolo = numeroProtocolo; | ||
46 | - this.dataAutuacao = dataAutuacao; | ||
47 | - this.especificacao = especificacao; | ||
48 | - this.assuntos = assuntos; | ||
49 | - this.interessados = interessados; | ||
50 | - this.observacao = observacao; | ||
51 | - this.nivelAcesso = nivelAcesso; | ||
52 | - this.idHipoteseLegal = idHipoteseLegal; | ||
53 | - } | ||
54 | - | ||
55 | - public String getIdTipoProcedimento() { | ||
56 | - return idTipoProcedimento; | ||
57 | - } | ||
58 | - | ||
59 | - public void setIdTipoProcedimento(String idTipoProcedimento) { | ||
60 | - this.idTipoProcedimento = idTipoProcedimento; | ||
61 | - } | ||
62 | - | ||
63 | - public String getNumeroProtocolo() { | ||
64 | - return numeroProtocolo; | ||
65 | - } | ||
66 | - | ||
67 | - public void setNumeroProtocolo(String numeroProtocolo) { | ||
68 | - this.numeroProtocolo = numeroProtocolo; | ||
69 | - } | ||
70 | - | ||
71 | - public String getDataAutuacao() { | ||
72 | - return dataAutuacao; | ||
73 | - } | ||
74 | - | ||
75 | - public void setDataAutuacao(String dataAutuacao) { | ||
76 | - this.dataAutuacao = dataAutuacao; | ||
77 | - } | ||
78 | - | ||
79 | - public String getEspecificacao() { | ||
80 | - return especificacao; | ||
81 | - } | ||
82 | - | ||
83 | - public void setEspecificacao(String especificacao) { | ||
84 | - this.especificacao = especificacao; | ||
85 | - } | ||
86 | - | ||
87 | - public Assunto[] getAssuntos() { | ||
88 | - return assuntos; | ||
89 | - } | ||
90 | - | ||
91 | - public void setAssuntos(Assunto[] assuntos) { | ||
92 | - this.assuntos = assuntos; | ||
93 | - } | ||
94 | - | ||
95 | - public Interessado[] getInteressados() { | ||
96 | - return interessados; | ||
97 | - } | ||
98 | - | ||
99 | - public void setInteressados(Interessado[] interessados) { | ||
100 | - this.interessados = interessados; | ||
101 | - } | ||
102 | - | ||
103 | - public String getObservacao() { | ||
104 | - return observacao; | ||
105 | - } | ||
106 | - | ||
107 | - public void setObservacao(String observacao) { | ||
108 | - this.observacao = observacao; | ||
109 | - } | ||
110 | - | ||
111 | - public String getNivelAcesso() { | ||
112 | - return nivelAcesso; | ||
113 | - } | ||
114 | - | ||
115 | - public void setNivelAcesso(String nivelAcesso) { | ||
116 | - this.nivelAcesso = nivelAcesso; | ||
117 | - } | ||
118 | - | ||
119 | - public String getIdHipoteseLegal() { | ||
120 | - return idHipoteseLegal; | ||
121 | - } | ||
122 | - | ||
123 | - public void setIdHipoteseLegal(String idHipoteseLegal) { | ||
124 | - this.idHipoteseLegal = idHipoteseLegal; | ||
125 | - } | ||
126 | - | ||
127 | - private Object __equalsCalc = null; | ||
128 | - | ||
129 | - public boolean equals(Object obj) { | ||
130 | - if (!(obj instanceof Procedimento)) | ||
131 | - return false; | ||
132 | - Procedimento other = (Procedimento) obj; | ||
133 | - if (this == obj) | ||
134 | - return true; | ||
135 | - if (__equalsCalc != null) { | ||
136 | - return (__equalsCalc == obj); | ||
137 | - } | ||
138 | - __equalsCalc = obj; | ||
139 | - boolean _equals; | ||
140 | - _equals = true && ((this.idTipoProcedimento == null && other.getIdTipoProcedimento() == null) | ||
141 | - || (this.idTipoProcedimento != null && this.idTipoProcedimento.equals(other.getIdTipoProcedimento()))) | ||
142 | - && ((this.numeroProtocolo == null && other.getNumeroProtocolo() == null) | ||
143 | - || (this.numeroProtocolo != null && this.numeroProtocolo.equals(other.getNumeroProtocolo()))) | ||
144 | - && ((this.dataAutuacao == null && other.getDataAutuacao() == null) | ||
145 | - || (this.dataAutuacao != null && this.dataAutuacao.equals(other.getDataAutuacao()))) | ||
146 | - && ((this.especificacao == null && other.getEspecificacao() == null) | ||
147 | - || (this.especificacao != null && this.especificacao.equals(other.getEspecificacao()))) | ||
148 | - && ((this.assuntos == null && other.getAssuntos() == null) | ||
149 | - || (this.assuntos != null && java.util.Arrays.equals(this.assuntos, other.getAssuntos()))) | ||
150 | - && ((this.interessados == null && other.getInteressados() == null) || (this.interessados != null | ||
151 | - && java.util.Arrays.equals(this.interessados, other.getInteressados()))) | ||
152 | - && ((this.observacao == null && other.getObservacao() == null) | ||
153 | - || (this.observacao != null && this.observacao.equals(other.getObservacao()))) | ||
154 | - && ((this.nivelAcesso == null && other.getNivelAcesso() == null) | ||
155 | - || (this.nivelAcesso != null && this.nivelAcesso.equals(other.getNivelAcesso()))) | ||
156 | - && ((this.idHipoteseLegal == null && other.getIdHipoteseLegal() == null) | ||
157 | - || (this.idHipoteseLegal != null && this.idHipoteseLegal.equals(other.getIdHipoteseLegal()))); | ||
158 | - __equalsCalc = null; | ||
159 | - return _equals; | ||
160 | - } | ||
161 | - | ||
162 | - private boolean __hashCodeCalc = false; | ||
163 | - | ||
164 | - public int hashCode() { | ||
165 | - if (__hashCodeCalc) { | ||
166 | - return 0; | ||
167 | - } | ||
168 | - __hashCodeCalc = true; | ||
169 | - int _hashCode = 1; | ||
170 | - if (getIdTipoProcedimento() != null) { | ||
171 | - _hashCode += getIdTipoProcedimento().hashCode(); | ||
172 | - } | ||
173 | - if (getNumeroProtocolo() != null) { | ||
174 | - _hashCode += getNumeroProtocolo().hashCode(); | ||
175 | - } | ||
176 | - if (getDataAutuacao() != null) { | ||
177 | - _hashCode += getDataAutuacao().hashCode(); | ||
178 | - } | ||
179 | - if (getEspecificacao() != null) { | ||
180 | - _hashCode += getEspecificacao().hashCode(); | ||
181 | - } | ||
182 | - if (getAssuntos() != null) { | ||
183 | - for (int i = 0; i < java.lang.reflect.Array.getLength(getAssuntos()); i++) { | ||
184 | - java.lang.Object obj = java.lang.reflect.Array.get(getAssuntos(), i); | ||
185 | - if (obj != null && !obj.getClass().isArray()) { | ||
186 | - _hashCode += obj.hashCode(); | ||
187 | - } | ||
188 | - } | ||
189 | - } | ||
190 | - if (getInteressados() != null) { | ||
191 | - for (int i = 0; i < java.lang.reflect.Array.getLength(getInteressados()); i++) { | ||
192 | - java.lang.Object obj = java.lang.reflect.Array.get(getInteressados(), i); | ||
193 | - if (obj != null && !obj.getClass().isArray()) { | ||
194 | - _hashCode += obj.hashCode(); | ||
195 | - } | ||
196 | - } | ||
197 | - } | ||
198 | - if (getObservacao() != null) { | ||
199 | - _hashCode += getObservacao().hashCode(); | ||
200 | - } | ||
201 | - if (getNivelAcesso() != null) { | ||
202 | - _hashCode += getNivelAcesso().hashCode(); | ||
203 | - } | ||
204 | - if (getIdHipoteseLegal() != null) { | ||
205 | - _hashCode += getIdHipoteseLegal().hashCode(); | ||
206 | - } | ||
207 | - __hashCodeCalc = false; | ||
208 | - return _hashCode; | ||
209 | - } | ||
210 | } | 34 | } |
src/main/java/br/gov/ans/integracao/sei/client/ProcedimentoResumido.java
1 | -/** | ||
2 | - * ProcedimentoResumido.java | ||
3 | - * | ||
4 | - * This file was auto-generated from WSDL | ||
5 | - * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter. | ||
6 | - */ | ||
7 | - | ||
8 | package br.gov.ans.integracao.sei.client; | 1 | package br.gov.ans.integracao.sei.client; |
9 | 2 | ||
10 | import java.io.Serializable; | 3 | import java.io.Serializable; |
@@ -13,95 +6,23 @@ import com.fasterxml.jackson.annotation.JsonIgnoreProperties; | @@ -13,95 +6,23 @@ import com.fasterxml.jackson.annotation.JsonIgnoreProperties; | ||
13 | import com.fasterxml.jackson.annotation.JsonInclude; | 6 | import com.fasterxml.jackson.annotation.JsonInclude; |
14 | import com.fasterxml.jackson.annotation.JsonInclude.Include; | 7 | import com.fasterxml.jackson.annotation.JsonInclude.Include; |
15 | 8 | ||
9 | +import lombok.AllArgsConstructor; | ||
10 | +import lombok.Builder; | ||
11 | +import lombok.Data; | ||
12 | +import lombok.NoArgsConstructor; | ||
13 | + | ||
16 | @JsonInclude(content = Include.NON_NULL) | 14 | @JsonInclude(content = Include.NON_NULL) |
17 | @JsonIgnoreProperties(ignoreUnknown = true) | 15 | @JsonIgnoreProperties(ignoreUnknown = true) |
16 | +@NoArgsConstructor | ||
17 | +@AllArgsConstructor | ||
18 | +@Data | ||
19 | +@Builder | ||
18 | public class ProcedimentoResumido implements Serializable { | 20 | public class ProcedimentoResumido implements Serializable { |
19 | 21 | ||
20 | private static final long serialVersionUID = 1L; | 22 | private static final long serialVersionUID = 1L; |
21 | 23 | ||
22 | private String idProcedimento; | 24 | private String idProcedimento; |
23 | - | ||
24 | private String procedimentoFormatado; | 25 | private String procedimentoFormatado; |
25 | - | ||
26 | private TipoProcedimento tipoProcedimento; | 26 | private TipoProcedimento tipoProcedimento; |
27 | - | ||
28 | - public ProcedimentoResumido() { | ||
29 | - } | ||
30 | - | ||
31 | - public ProcedimentoResumido(String idProcedimento, String procedimentoFormatado, TipoProcedimento tipoProcedimento) { | ||
32 | - this.idProcedimento = idProcedimento; | ||
33 | - this.procedimentoFormatado = procedimentoFormatado; | ||
34 | - this.tipoProcedimento = tipoProcedimento; | ||
35 | - } | ||
36 | - | ||
37 | - public String getIdProcedimento() { | ||
38 | - return idProcedimento; | ||
39 | - } | ||
40 | - | ||
41 | - public void setIdProcedimento(String idProcedimento) { | ||
42 | - this.idProcedimento = idProcedimento; | ||
43 | - } | ||
44 | - | ||
45 | - public String getProcedimentoFormatado() { | ||
46 | - return procedimentoFormatado; | ||
47 | - } | ||
48 | - | ||
49 | - public void setProcedimentoFormatado(String procedimentoFormatado) { | ||
50 | - this.procedimentoFormatado = procedimentoFormatado; | ||
51 | - } | ||
52 | - | ||
53 | - public TipoProcedimento getTipoProcedimento() { | ||
54 | - return tipoProcedimento; | ||
55 | - } | ||
56 | - | ||
57 | - public void setTipoProcedimento(TipoProcedimento tipoProcedimento) { | ||
58 | - this.tipoProcedimento = tipoProcedimento; | ||
59 | - } | ||
60 | - | ||
61 | - private Object __equalsCalc = null; | ||
62 | - | ||
63 | - public boolean equals(Object obj) { | ||
64 | - if (!(obj instanceof ProcedimentoResumido)) | ||
65 | - return false; | ||
66 | - ProcedimentoResumido other = (ProcedimentoResumido) obj; | ||
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 | - } | 27 | + |
107 | } | 28 | } |
src/main/java/br/gov/ans/integracao/sei/client/ProtocoloBloco.java
1 | -/** | ||
2 | - * ProtocoloBloco.java | ||
3 | - * | ||
4 | - * This file was auto-generated from WSDL | ||
5 | - * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter. | ||
6 | - */ | ||
7 | - | ||
8 | package br.gov.ans.integracao.sei.client; | 1 | package br.gov.ans.integracao.sei.client; |
9 | 2 | ||
10 | import java.io.Serializable; | 3 | import java.io.Serializable; |
@@ -13,97 +6,23 @@ import com.fasterxml.jackson.annotation.JsonIgnoreProperties; | @@ -13,97 +6,23 @@ import com.fasterxml.jackson.annotation.JsonIgnoreProperties; | ||
13 | import com.fasterxml.jackson.annotation.JsonInclude; | 6 | import com.fasterxml.jackson.annotation.JsonInclude; |
14 | import com.fasterxml.jackson.annotation.JsonInclude.Include; | 7 | import com.fasterxml.jackson.annotation.JsonInclude.Include; |
15 | 8 | ||
9 | +import lombok.AllArgsConstructor; | ||
10 | +import lombok.Builder; | ||
11 | +import lombok.Data; | ||
12 | +import lombok.NoArgsConstructor; | ||
13 | + | ||
16 | @JsonInclude(content = Include.NON_NULL) | 14 | @JsonInclude(content = Include.NON_NULL) |
17 | @JsonIgnoreProperties(ignoreUnknown = true) | 15 | @JsonIgnoreProperties(ignoreUnknown = true) |
16 | +@NoArgsConstructor | ||
17 | +@AllArgsConstructor | ||
18 | +@Data | ||
19 | +@Builder | ||
18 | public class ProtocoloBloco implements Serializable { | 20 | public class ProtocoloBloco implements Serializable { |
19 | 21 | ||
20 | private static final long serialVersionUID = 1L; | 22 | private static final long serialVersionUID = 1L; |
21 | 23 | ||
22 | private String protocoloFormatado; | 24 | private String protocoloFormatado; |
23 | - | ||
24 | private String identificacao; | 25 | private String identificacao; |
25 | - | ||
26 | private Assinatura[] assinaturas; | 26 | private Assinatura[] assinaturas; |
27 | - | ||
28 | - public ProtocoloBloco() { | ||
29 | - } | ||
30 | - | ||
31 | - public ProtocoloBloco(String protocoloFormatado, String identificacao, Assinatura[] assinaturas) { | ||
32 | - this.protocoloFormatado = protocoloFormatado; | ||
33 | - this.identificacao = identificacao; | ||
34 | - this.assinaturas = assinaturas; | ||
35 | - } | ||
36 | - | ||
37 | - public String getProtocoloFormatado() { | ||
38 | - return protocoloFormatado; | ||
39 | - } | ||
40 | - | ||
41 | - public void setProtocoloFormatado(String protocoloFormatado) { | ||
42 | - this.protocoloFormatado = protocoloFormatado; | ||
43 | - } | ||
44 | - | ||
45 | - public String getIdentificacao() { | ||
46 | - return identificacao; | ||
47 | - } | ||
48 | - | ||
49 | - public void setIdentificacao(String identificacao) { | ||
50 | - this.identificacao = identificacao; | ||
51 | - } | ||
52 | - | ||
53 | - public Assinatura[] getAssinaturas() { | ||
54 | - return assinaturas; | ||
55 | - } | ||
56 | - | ||
57 | - public void setAssinaturas(Assinatura[] assinaturas) { | ||
58 | - this.assinaturas = assinaturas; | ||
59 | - } | ||
60 | - | ||
61 | - private Object __equalsCalc = null; | ||
62 | - | ||
63 | - public boolean equals(Object obj) { | ||
64 | - if (!(obj instanceof ProtocoloBloco)) | ||
65 | - return false; | ||
66 | - ProtocoloBloco other = (ProtocoloBloco) obj; | ||
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 && ((this.protocoloFormatado == null && other.getProtocoloFormatado() == null) | ||
75 | - || (this.protocoloFormatado != null && this.protocoloFormatado.equals(other.getProtocoloFormatado()))) | ||
76 | - && ((this.identificacao == null && other.getIdentificacao() == null) | ||
77 | - || (this.identificacao != null && this.identificacao.equals(other.getIdentificacao()))) | ||
78 | - && ((this.assinaturas == null && other.getAssinaturas() == null) || (this.assinaturas != null | ||
79 | - && java.util.Arrays.equals(this.assinaturas, other.getAssinaturas()))); | ||
80 | - __equalsCalc = null; | ||
81 | - return _equals; | ||
82 | - } | ||
83 | - | ||
84 | - private boolean __hashCodeCalc = false; | ||
85 | - | ||
86 | - public int hashCode() { | ||
87 | - if (__hashCodeCalc) { | ||
88 | - return 0; | ||
89 | - } | ||
90 | - __hashCodeCalc = true; | ||
91 | - int _hashCode = 1; | ||
92 | - if (getProtocoloFormatado() != null) { | ||
93 | - _hashCode += getProtocoloFormatado().hashCode(); | ||
94 | - } | ||
95 | - if (getIdentificacao() != null) { | ||
96 | - _hashCode += getIdentificacao().hashCode(); | ||
97 | - } | ||
98 | - if (getAssinaturas() != null) { | ||
99 | - for (int i = 0; i < java.lang.reflect.Array.getLength(getAssinaturas()); i++) { | ||
100 | - Object obj = java.lang.reflect.Array.get(getAssinaturas(), i); | ||
101 | - if (obj != null && !obj.getClass().isArray()) { | ||
102 | - _hashCode += obj.hashCode(); | ||
103 | - } | ||
104 | - } | ||
105 | - } | ||
106 | - __hashCodeCalc = false; | ||
107 | - return _hashCode; | ||
108 | - } | 27 | + |
109 | } | 28 | } |
src/main/java/br/gov/ans/integracao/sei/client/Publicacao.java
1 | -/** | ||
2 | - * Publicacao.java | ||
3 | - * | ||
4 | - * This file was auto-generated from WSDL | ||
5 | - * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter. | ||
6 | - */ | ||
7 | - | ||
8 | package br.gov.ans.integracao.sei.client; | 1 | package br.gov.ans.integracao.sei.client; |
9 | 2 | ||
10 | import java.io.Serializable; | 3 | import java.io.Serializable; |
@@ -13,143 +6,26 @@ import com.fasterxml.jackson.annotation.JsonIgnoreProperties; | @@ -13,143 +6,26 @@ import com.fasterxml.jackson.annotation.JsonIgnoreProperties; | ||
13 | import com.fasterxml.jackson.annotation.JsonInclude; | 6 | import com.fasterxml.jackson.annotation.JsonInclude; |
14 | import com.fasterxml.jackson.annotation.JsonInclude.Include; | 7 | import com.fasterxml.jackson.annotation.JsonInclude.Include; |
15 | 8 | ||
9 | +import lombok.AllArgsConstructor; | ||
10 | +import lombok.Builder; | ||
11 | +import lombok.Data; | ||
12 | +import lombok.NoArgsConstructor; | ||
13 | + | ||
16 | @JsonInclude(content = Include.NON_NULL) | 14 | @JsonInclude(content = Include.NON_NULL) |
17 | @JsonIgnoreProperties(ignoreUnknown = true) | 15 | @JsonIgnoreProperties(ignoreUnknown = true) |
16 | +@NoArgsConstructor | ||
17 | +@AllArgsConstructor | ||
18 | +@Data | ||
19 | +@Builder | ||
18 | public class Publicacao implements Serializable { | 20 | public class Publicacao implements Serializable { |
19 | 21 | ||
20 | private static final long serialVersionUID = 1L; | 22 | private static final long serialVersionUID = 1L; |
21 | 23 | ||
22 | private String nomeVeiculo; | 24 | private String nomeVeiculo; |
23 | - | ||
24 | private String numero; | 25 | private String numero; |
25 | - | ||
26 | private String dataDisponibilizacao; | 26 | private String dataDisponibilizacao; |
27 | - | ||
28 | private String dataPublicacao; | 27 | private String dataPublicacao; |
29 | - | ||
30 | private String estado; | 28 | private String estado; |
31 | - | ||
32 | private PublicacaoImprensaNacional imprensaNacional; | 29 | private PublicacaoImprensaNacional imprensaNacional; |
33 | - | ||
34 | - public Publicacao() { | ||
35 | - } | ||
36 | - | ||
37 | - public Publicacao(String nomeVeiculo, String numero, String dataDisponibilizacao, String dataPublicacao, String estado, PublicacaoImprensaNacional imprensaNacional) { | ||
38 | - this.nomeVeiculo = nomeVeiculo; | ||
39 | - this.numero = numero; | ||
40 | - this.dataDisponibilizacao = dataDisponibilizacao; | ||
41 | - this.dataPublicacao = dataPublicacao; | ||
42 | - this.estado = estado; | ||
43 | - this.imprensaNacional = imprensaNacional; | ||
44 | - } | ||
45 | - | ||
46 | - public String getNomeVeiculo() { | ||
47 | - return nomeVeiculo; | ||
48 | - } | ||
49 | - | ||
50 | - public void setNomeVeiculo(String nomeVeiculo) { | ||
51 | - this.nomeVeiculo = nomeVeiculo; | ||
52 | - } | ||
53 | - | ||
54 | - public String getNumero() { | ||
55 | - return numero; | ||
56 | - } | ||
57 | - | ||
58 | - public void setNumero(String numero) { | ||
59 | - this.numero = numero; | ||
60 | - } | ||
61 | - | ||
62 | - public String getDataDisponibilizacao() { | ||
63 | - return dataDisponibilizacao; | ||
64 | - } | ||
65 | - | ||
66 | - public void setDataDisponibilizacao(String dataDisponibilizacao) { | ||
67 | - this.dataDisponibilizacao = dataDisponibilizacao; | ||
68 | - } | ||
69 | - | ||
70 | - public String getDataPublicacao() { | ||
71 | - return dataPublicacao; | ||
72 | - } | ||
73 | - | ||
74 | - public void setDataPublicacao(String dataPublicacao) { | ||
75 | - this.dataPublicacao = dataPublicacao; | ||
76 | - } | ||
77 | - | ||
78 | - public String getEstado() { | ||
79 | - return estado; | ||
80 | - } | ||
81 | - | ||
82 | - public void setEstado(String estado) { | ||
83 | - this.estado = estado; | ||
84 | - } | ||
85 | - | ||
86 | - public PublicacaoImprensaNacional getImprensaNacional() { | ||
87 | - return imprensaNacional; | ||
88 | - } | ||
89 | - | ||
90 | - public void setImprensaNacional(PublicacaoImprensaNacional imprensaNacional) { | ||
91 | - this.imprensaNacional = imprensaNacional; | ||
92 | - } | ||
93 | - | ||
94 | - private Object __equalsCalc = null; | ||
95 | - | ||
96 | - public boolean equals(Object obj) { | ||
97 | - if (!(obj instanceof Publicacao)) | ||
98 | - return false; | ||
99 | - Publicacao other = (Publicacao) obj; | ||
100 | - if (this == obj) | ||
101 | - return true; | ||
102 | - if (__equalsCalc != null) { | ||
103 | - return (__equalsCalc == obj); | ||
104 | - } | ||
105 | - __equalsCalc = obj; | ||
106 | - boolean _equals; | ||
107 | - _equals = true | ||
108 | - && ((this.nomeVeiculo == null && other.getNomeVeiculo() == null) | ||
109 | - || (this.nomeVeiculo != null && this.nomeVeiculo.equals(other.getNomeVeiculo()))) | ||
110 | - && ((this.numero == null && other.getNumero() == null) | ||
111 | - || (this.numero != null && this.numero.equals(other.getNumero()))) | ||
112 | - && ((this.dataDisponibilizacao == null && other.getDataDisponibilizacao() == null) | ||
113 | - || (this.dataDisponibilizacao != null | ||
114 | - && this.dataDisponibilizacao.equals(other.getDataDisponibilizacao()))) | ||
115 | - && ((this.dataPublicacao == null && other.getDataPublicacao() == null) | ||
116 | - || (this.dataPublicacao != null && this.dataPublicacao.equals(other.getDataPublicacao()))) | ||
117 | - && ((this.estado == null && other.getEstado() == null) | ||
118 | - || (this.estado != null && this.estado.equals(other.getEstado()))) | ||
119 | - && ((this.imprensaNacional == null && other.getImprensaNacional() == null) | ||
120 | - || (this.imprensaNacional != null | ||
121 | - && this.imprensaNacional.equals(other.getImprensaNacional()))); | ||
122 | - __equalsCalc = null; | ||
123 | - return _equals; | ||
124 | - } | ||
125 | - | ||
126 | - private boolean __hashCodeCalc = false; | ||
127 | - | ||
128 | - public int hashCode() { | ||
129 | - if (__hashCodeCalc) { | ||
130 | - return 0; | ||
131 | - } | ||
132 | - __hashCodeCalc = true; | ||
133 | - int _hashCode = 1; | ||
134 | - if (getNomeVeiculo() != null) { | ||
135 | - _hashCode += getNomeVeiculo().hashCode(); | ||
136 | - } | ||
137 | - if (getNumero() != null) { | ||
138 | - _hashCode += getNumero().hashCode(); | ||
139 | - } | ||
140 | - if (getDataDisponibilizacao() != null) { | ||
141 | - _hashCode += getDataDisponibilizacao().hashCode(); | ||
142 | - } | ||
143 | - if (getDataPublicacao() != null) { | ||
144 | - _hashCode += getDataPublicacao().hashCode(); | ||
145 | - } | ||
146 | - if (getEstado() != null) { | ||
147 | - _hashCode += getEstado().hashCode(); | ||
148 | - } | ||
149 | - if (getImprensaNacional() != null) { | ||
150 | - _hashCode += getImprensaNacional().hashCode(); | ||
151 | - } | ||
152 | - __hashCodeCalc = false; | ||
153 | - return _hashCode; | ||
154 | - } | 30 | + |
155 | } | 31 | } |
src/main/java/br/gov/ans/integracao/sei/client/PublicacaoImprensaNacional.java
1 | -/** | ||
2 | - * PublicacaoImprensaNacional.java | ||
3 | - * | ||
4 | - * This file was auto-generated from WSDL | ||
5 | - * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter. | ||
6 | - */ | ||
7 | - | ||
8 | package br.gov.ans.integracao.sei.client; | 1 | package br.gov.ans.integracao.sei.client; |
9 | 2 | ||
10 | import java.io.Serializable; | 3 | import java.io.Serializable; |
@@ -13,125 +6,25 @@ import com.fasterxml.jackson.annotation.JsonIgnoreProperties; | @@ -13,125 +6,25 @@ import com.fasterxml.jackson.annotation.JsonIgnoreProperties; | ||
13 | import com.fasterxml.jackson.annotation.JsonInclude; | 6 | import com.fasterxml.jackson.annotation.JsonInclude; |
14 | import com.fasterxml.jackson.annotation.JsonInclude.Include; | 7 | import com.fasterxml.jackson.annotation.JsonInclude.Include; |
15 | 8 | ||
9 | +import lombok.AllArgsConstructor; | ||
10 | +import lombok.Builder; | ||
11 | +import lombok.Data; | ||
12 | +import lombok.NoArgsConstructor; | ||
13 | + | ||
16 | @JsonInclude(content = Include.NON_NULL) | 14 | @JsonInclude(content = Include.NON_NULL) |
17 | @JsonIgnoreProperties(ignoreUnknown = true) | 15 | @JsonIgnoreProperties(ignoreUnknown = true) |
16 | +@NoArgsConstructor | ||
17 | +@AllArgsConstructor | ||
18 | +@Data | ||
19 | +@Builder | ||
18 | public class PublicacaoImprensaNacional implements Serializable { | 20 | public class PublicacaoImprensaNacional implements Serializable { |
19 | 21 | ||
20 | private static final long serialVersionUID = 1L; | 22 | private static final long serialVersionUID = 1L; |
21 | 23 | ||
22 | private String siglaVeiculo; | 24 | private String siglaVeiculo; |
23 | - | ||
24 | private String descricaoVeiculo; | 25 | private String descricaoVeiculo; |
25 | - | ||
26 | private String pagina; | 26 | private String pagina; |
27 | - | ||
28 | private String secao; | 27 | private String secao; |
29 | - | ||
30 | private String data; | 28 | private String data; |
31 | - | ||
32 | - public PublicacaoImprensaNacional() { | ||
33 | - } | ||
34 | - | ||
35 | - public PublicacaoImprensaNacional(String siglaVeiculo, String descricaoVeiculo, String pagina, String secao, String data) { | ||
36 | - this.siglaVeiculo = siglaVeiculo; | ||
37 | - this.descricaoVeiculo = descricaoVeiculo; | ||
38 | - this.pagina = pagina; | ||
39 | - this.secao = secao; | ||
40 | - this.data = data; | ||
41 | - } | ||
42 | - | ||
43 | - public String getSiglaVeiculo() { | ||
44 | - return siglaVeiculo; | ||
45 | - } | ||
46 | - | ||
47 | - public void setSiglaVeiculo(String siglaVeiculo) { | ||
48 | - this.siglaVeiculo = siglaVeiculo; | ||
49 | - } | ||
50 | - | ||
51 | - public String getDescricaoVeiculo() { | ||
52 | - return descricaoVeiculo; | ||
53 | - } | ||
54 | - | ||
55 | - public void setDescricaoVeiculo(String descricaoVeiculo) { | ||
56 | - this.descricaoVeiculo = descricaoVeiculo; | ||
57 | - } | ||
58 | - | ||
59 | - public String getPagina() { | ||
60 | - return pagina; | ||
61 | - } | ||
62 | - | ||
63 | - public void setPagina(String pagina) { | ||
64 | - this.pagina = pagina; | ||
65 | - } | ||
66 | - | ||
67 | - public String getSecao() { | ||
68 | - return secao; | ||
69 | - } | ||
70 | - | ||
71 | - public void setSecao(String secao) { | ||
72 | - this.secao = secao; | ||
73 | - } | ||
74 | - | ||
75 | - public String getData() { | ||
76 | - return data; | ||
77 | - } | ||
78 | - | ||
79 | - public void setData(String data) { | ||
80 | - this.data = data; | ||
81 | - } | ||
82 | - | ||
83 | - private Object __equalsCalc = null; | ||
84 | - | ||
85 | - public boolean equals(Object obj) { | ||
86 | - if (!(obj instanceof PublicacaoImprensaNacional)) | ||
87 | - return false; | ||
88 | - PublicacaoImprensaNacional other = (PublicacaoImprensaNacional) obj; | ||
89 | - if (this == obj) | ||
90 | - return true; | ||
91 | - if (__equalsCalc != null) { | ||
92 | - return (__equalsCalc == obj); | ||
93 | - } | ||
94 | - __equalsCalc = obj; | ||
95 | - boolean _equals; | ||
96 | - _equals = true | ||
97 | - && ((this.siglaVeiculo == null && other.getSiglaVeiculo() == null) | ||
98 | - || (this.siglaVeiculo != null && this.siglaVeiculo.equals(other.getSiglaVeiculo()))) | ||
99 | - && ((this.descricaoVeiculo == null && other.getDescricaoVeiculo() == null) | ||
100 | - || (this.descricaoVeiculo != null && this.descricaoVeiculo.equals(other.getDescricaoVeiculo()))) | ||
101 | - && ((this.pagina == null && other.getPagina() == null) | ||
102 | - || (this.pagina != null && this.pagina.equals(other.getPagina()))) | ||
103 | - && ((this.secao == null && other.getSecao() == null) | ||
104 | - || (this.secao != null && this.secao.equals(other.getSecao()))) | ||
105 | - && ((this.data == null && other.getData() == null) | ||
106 | - || (this.data != null && this.data.equals(other.getData()))); | ||
107 | - __equalsCalc = null; | ||
108 | - return _equals; | ||
109 | - } | ||
110 | - | ||
111 | - private boolean __hashCodeCalc = false; | ||
112 | - | ||
113 | - public int hashCode() { | ||
114 | - if (__hashCodeCalc) { | ||
115 | - return 0; | ||
116 | - } | ||
117 | - __hashCodeCalc = true; | ||
118 | - int _hashCode = 1; | ||
119 | - if (getSiglaVeiculo() != null) { | ||
120 | - _hashCode += getSiglaVeiculo().hashCode(); | ||
121 | - } | ||
122 | - if (getDescricaoVeiculo() != null) { | ||
123 | - _hashCode += getDescricaoVeiculo().hashCode(); | ||
124 | - } | ||
125 | - if (getPagina() != null) { | ||
126 | - _hashCode += getPagina().hashCode(); | ||
127 | - } | ||
128 | - if (getSecao() != null) { | ||
129 | - _hashCode += getSecao().hashCode(); | ||
130 | - } | ||
131 | - if (getData() != null) { | ||
132 | - _hashCode += getData().hashCode(); | ||
133 | - } | ||
134 | - __hashCodeCalc = false; | ||
135 | - return _hashCode; | ||
136 | - } | 29 | + |
137 | } | 30 | } |
src/main/java/br/gov/ans/integracao/sei/client/Remetente.java
1 | -/** | ||
2 | - * Remetente.java | ||
3 | - * | ||
4 | - * This file was auto-generated from WSDL | ||
5 | - * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter. | ||
6 | - */ | ||
7 | - | ||
8 | package br.gov.ans.integracao.sei.client; | 1 | package br.gov.ans.integracao.sei.client; |
9 | 2 | ||
10 | import java.io.Serializable; | 3 | import java.io.Serializable; |
@@ -13,77 +6,22 @@ import com.fasterxml.jackson.annotation.JsonIgnoreProperties; | @@ -13,77 +6,22 @@ import com.fasterxml.jackson.annotation.JsonIgnoreProperties; | ||
13 | import com.fasterxml.jackson.annotation.JsonInclude; | 6 | import com.fasterxml.jackson.annotation.JsonInclude; |
14 | import com.fasterxml.jackson.annotation.JsonInclude.Include; | 7 | import com.fasterxml.jackson.annotation.JsonInclude.Include; |
15 | 8 | ||
9 | +import lombok.AllArgsConstructor; | ||
10 | +import lombok.Builder; | ||
11 | +import lombok.Data; | ||
12 | +import lombok.NoArgsConstructor; | ||
13 | + | ||
16 | @JsonInclude(content = Include.NON_NULL) | 14 | @JsonInclude(content = Include.NON_NULL) |
17 | @JsonIgnoreProperties(ignoreUnknown = true) | 15 | @JsonIgnoreProperties(ignoreUnknown = true) |
16 | +@NoArgsConstructor | ||
17 | +@AllArgsConstructor | ||
18 | +@Data | ||
19 | +@Builder | ||
18 | public class Remetente implements Serializable { | 20 | public class Remetente implements Serializable { |
19 | 21 | ||
20 | private static final long serialVersionUID = 1L; | 22 | private static final long serialVersionUID = 1L; |
21 | 23 | ||
22 | private String sigla; | 24 | private String sigla; |
23 | - | ||
24 | private String nome; | 25 | private String nome; |
25 | - | ||
26 | - public Remetente() { | ||
27 | - } | ||
28 | - | ||
29 | - public Remetente(String sigla, String nome) { | ||
30 | - this.sigla = sigla; | ||
31 | - this.nome = nome; | ||
32 | - } | ||
33 | - | ||
34 | - public String getSigla() { | ||
35 | - return sigla; | ||
36 | - } | ||
37 | - | ||
38 | - public void setSigla(String sigla) { | ||
39 | - this.sigla = sigla; | ||
40 | - } | ||
41 | - | ||
42 | - public String getNome() { | ||
43 | - return nome; | ||
44 | - } | ||
45 | - | ||
46 | - public void setNome(String nome) { | ||
47 | - this.nome = nome; | ||
48 | - } | ||
49 | - | ||
50 | - private Object __equalsCalc = null; | ||
51 | - | ||
52 | - public boolean equals(Object obj) { | ||
53 | - if (!(obj instanceof Remetente)) | ||
54 | - return false; | ||
55 | - Remetente other = (Remetente) obj; | ||
56 | - if (this == obj) | ||
57 | - return true; | ||
58 | - if (__equalsCalc != null) { | ||
59 | - return (__equalsCalc == obj); | ||
60 | - } | ||
61 | - __equalsCalc = obj; | ||
62 | - boolean _equals; | ||
63 | - _equals = true | ||
64 | - && ((this.sigla == null && other.getSigla() == null) | ||
65 | - || (this.sigla != null && this.sigla.equals(other.getSigla()))) | ||
66 | - && ((this.nome == null && other.getNome() == null) | ||
67 | - || (this.nome != null && this.nome.equals(other.getNome()))); | ||
68 | - __equalsCalc = null; | ||
69 | - return _equals; | ||
70 | - } | ||
71 | - | ||
72 | - private boolean __hashCodeCalc = false; | ||
73 | - | ||
74 | - public int hashCode() { | ||
75 | - if (__hashCodeCalc) { | ||
76 | - return 0; | ||
77 | - } | ||
78 | - __hashCodeCalc = true; | ||
79 | - int _hashCode = 1; | ||
80 | - if (getSigla() != null) { | ||
81 | - _hashCode += getSigla().hashCode(); | ||
82 | - } | ||
83 | - if (getNome() != null) { | ||
84 | - _hashCode += getNome().hashCode(); | ||
85 | - } | ||
86 | - __hashCodeCalc = false; | ||
87 | - return _hashCode; | ||
88 | - } | 26 | + |
89 | } | 27 | } |
src/main/java/br/gov/ans/integracao/sei/client/RetornoConsultaBloco.java
1 | -/** | ||
2 | - * RetornoConsultaBloco.java | ||
3 | - * | ||
4 | - * This file was auto-generated from WSDL | ||
5 | - * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter. | ||
6 | - */ | ||
7 | - | ||
8 | package br.gov.ans.integracao.sei.client; | 1 | package br.gov.ans.integracao.sei.client; |
9 | 2 | ||
10 | import java.io.Serializable; | 3 | import java.io.Serializable; |
@@ -13,8 +6,17 @@ import com.fasterxml.jackson.annotation.JsonIgnoreProperties; | @@ -13,8 +6,17 @@ import com.fasterxml.jackson.annotation.JsonIgnoreProperties; | ||
13 | import com.fasterxml.jackson.annotation.JsonInclude; | 6 | import com.fasterxml.jackson.annotation.JsonInclude; |
14 | import com.fasterxml.jackson.annotation.JsonInclude.Include; | 7 | import com.fasterxml.jackson.annotation.JsonInclude.Include; |
15 | 8 | ||
9 | +import lombok.AllArgsConstructor; | ||
10 | +import lombok.Builder; | ||
11 | +import lombok.Data; | ||
12 | +import lombok.NoArgsConstructor; | ||
13 | + | ||
16 | @JsonInclude(content = Include.NON_NULL) | 14 | @JsonInclude(content = Include.NON_NULL) |
17 | @JsonIgnoreProperties(ignoreUnknown = true) | 15 | @JsonIgnoreProperties(ignoreUnknown = true) |
16 | +@NoArgsConstructor | ||
17 | +@AllArgsConstructor | ||
18 | +@Data | ||
19 | +@Builder | ||
18 | public class RetornoConsultaBloco implements Serializable { | 20 | public class RetornoConsultaBloco implements Serializable { |
19 | 21 | ||
20 | private static final long serialVersionUID = 1L; | 22 | private static final long serialVersionUID = 1L; |
@@ -34,276 +36,5 @@ public class RetornoConsultaBloco implements Serializable { | @@ -34,276 +36,5 @@ public class RetornoConsultaBloco implements Serializable { | ||
34 | private Unidade[] unidadesDisponibilizacao; | 36 | private Unidade[] unidadesDisponibilizacao; |
35 | 37 | ||
36 | private ProtocoloBloco[] protocolos; | 38 | private ProtocoloBloco[] protocolos; |
37 | - | ||
38 | - public RetornoConsultaBloco() { | ||
39 | - } | ||
40 | - | ||
41 | - public RetornoConsultaBloco( | ||
42 | - String idBloco, | ||
43 | - Unidade unidade, | ||
44 | - Usuario usuario, | ||
45 | - String descricao, | ||
46 | - String tipo, | ||
47 | - String estado, | ||
48 | - Unidade[] unidadesDisponibilizacao, | ||
49 | - ProtocoloBloco[] protocolos) { | ||
50 | - this.idBloco = idBloco; | ||
51 | - this.unidade = unidade; | ||
52 | - this.usuario = usuario; | ||
53 | - this.descricao = descricao; | ||
54 | - this.tipo = tipo; | ||
55 | - this.estado = estado; | ||
56 | - this.unidadesDisponibilizacao = unidadesDisponibilizacao; | ||
57 | - this.protocolos = protocolos; | ||
58 | - } | ||
59 | - | ||
60 | - | ||
61 | - /** | ||
62 | - * Gets the idBloco value for this RetornoConsultaBloco. | ||
63 | - * | ||
64 | - * @return idBloco | ||
65 | - */ | ||
66 | - public String getIdBloco() { | ||
67 | - return idBloco; | ||
68 | - } | ||
69 | - | ||
70 | - | ||
71 | - /** | ||
72 | - * Sets the idBloco value for this RetornoConsultaBloco. | ||
73 | - * | ||
74 | - * @param idBloco | ||
75 | - */ | ||
76 | - public void setIdBloco(String idBloco) { | ||
77 | - this.idBloco = idBloco; | ||
78 | - } | ||
79 | - | ||
80 | - | ||
81 | - /** | ||
82 | - * Gets the unidade value for this RetornoConsultaBloco. | ||
83 | - * | ||
84 | - * @return unidade | ||
85 | - */ | ||
86 | - public Unidade getUnidade() { | ||
87 | - return unidade; | ||
88 | - } | ||
89 | - | ||
90 | - | ||
91 | - /** | ||
92 | - * Sets the unidade value for this RetornoConsultaBloco. | ||
93 | - * | ||
94 | - * @param unidade | ||
95 | - */ | ||
96 | - public void setUnidade(Unidade unidade) { | ||
97 | - this.unidade = unidade; | ||
98 | - } | ||
99 | - | ||
100 | - | ||
101 | - /** | ||
102 | - * Gets the usuario value for this RetornoConsultaBloco. | ||
103 | - * | ||
104 | - * @return usuario | ||
105 | - */ | ||
106 | - public Usuario getUsuario() { | ||
107 | - return usuario; | ||
108 | - } | ||
109 | - | ||
110 | - | ||
111 | - /** | ||
112 | - * Sets the usuario value for this RetornoConsultaBloco. | ||
113 | - * | ||
114 | - * @param usuario | ||
115 | - */ | ||
116 | - public void setUsuario(Usuario usuario) { | ||
117 | - this.usuario = usuario; | ||
118 | - } | ||
119 | - | ||
120 | - | ||
121 | - /** | ||
122 | - * Gets the descricao value for this RetornoConsultaBloco. | ||
123 | - * | ||
124 | - * @return descricao | ||
125 | - */ | ||
126 | - public String getDescricao() { | ||
127 | - return descricao; | ||
128 | - } | ||
129 | - | ||
130 | - | ||
131 | - /** | ||
132 | - * Sets the descricao value for this RetornoConsultaBloco. | ||
133 | - * | ||
134 | - * @param descricao | ||
135 | - */ | ||
136 | - public void setDescricao(String descricao) { | ||
137 | - this.descricao = descricao; | ||
138 | - } | ||
139 | - | ||
140 | - | ||
141 | - /** | ||
142 | - * Gets the tipo value for this RetornoConsultaBloco. | ||
143 | - * | ||
144 | - * @return tipo | ||
145 | - */ | ||
146 | - public String getTipo() { | ||
147 | - return tipo; | ||
148 | - } | ||
149 | - | ||
150 | - | ||
151 | - /** | ||
152 | - * Sets the tipo value for this RetornoConsultaBloco. | ||
153 | - * | ||
154 | - * @param tipo | ||
155 | - */ | ||
156 | - public void setTipo(String tipo) { | ||
157 | - this.tipo = tipo; | ||
158 | - } | ||
159 | - | ||
160 | - | ||
161 | - /** | ||
162 | - * Gets the estado value for this RetornoConsultaBloco. | ||
163 | - * | ||
164 | - * @return estado | ||
165 | - */ | ||
166 | - public String getEstado() { | ||
167 | - return estado; | ||
168 | - } | ||
169 | - | ||
170 | - | ||
171 | - /** | ||
172 | - * Sets the estado value for this RetornoConsultaBloco. | ||
173 | - * | ||
174 | - * @param estado | ||
175 | - */ | ||
176 | - public void setEstado(String estado) { | ||
177 | - this.estado = estado; | ||
178 | - } | ||
179 | - | ||
180 | - | ||
181 | - /** | ||
182 | - * Gets the unidadesDisponibilizacao value for this RetornoConsultaBloco. | ||
183 | - * | ||
184 | - * @return unidadesDisponibilizacao | ||
185 | - */ | ||
186 | - public Unidade[] getUnidadesDisponibilizacao() { | ||
187 | - return unidadesDisponibilizacao; | ||
188 | - } | ||
189 | - | ||
190 | - | ||
191 | - /** | ||
192 | - * Sets the unidadesDisponibilizacao value for this RetornoConsultaBloco. | ||
193 | - * | ||
194 | - * @param unidadesDisponibilizacao | ||
195 | - */ | ||
196 | - public void setUnidadesDisponibilizacao(Unidade[] unidadesDisponibilizacao) { | ||
197 | - this.unidadesDisponibilizacao = unidadesDisponibilizacao; | ||
198 | - } | ||
199 | - | ||
200 | - | ||
201 | - /** | ||
202 | - * Gets the protocolos value for this RetornoConsultaBloco. | ||
203 | - * | ||
204 | - * @return protocolos | ||
205 | - */ | ||
206 | - public ProtocoloBloco[] getProtocolos() { | ||
207 | - return protocolos; | ||
208 | - } | ||
209 | - | ||
210 | - | ||
211 | - /** | ||
212 | - * Sets the protocolos value for this RetornoConsultaBloco. | ||
213 | - * | ||
214 | - * @param protocolos | ||
215 | - */ | ||
216 | - public void setProtocolos(ProtocoloBloco[] protocolos) { | ||
217 | - this.protocolos = protocolos; | ||
218 | - } | ||
219 | - | ||
220 | - private Object __equalsCalc = null; | ||
221 | - public boolean equals(Object obj) { | ||
222 | - if (!(obj instanceof RetornoConsultaBloco)) return false; | ||
223 | - RetornoConsultaBloco other = (RetornoConsultaBloco) obj; | ||
224 | - if (this == obj) return true; | ||
225 | - if (__equalsCalc != null) { | ||
226 | - return (__equalsCalc == obj); | ||
227 | - } | ||
228 | - __equalsCalc = obj; | ||
229 | - boolean _equals; | ||
230 | - _equals = true && | ||
231 | - ((this.idBloco==null && other.getIdBloco()==null) || | ||
232 | - (this.idBloco!=null && | ||
233 | - this.idBloco.equals(other.getIdBloco()))) && | ||
234 | - ((this.unidade==null && other.getUnidade()==null) || | ||
235 | - (this.unidade!=null && | ||
236 | - this.unidade.equals(other.getUnidade()))) && | ||
237 | - ((this.usuario==null && other.getUsuario()==null) || | ||
238 | - (this.usuario!=null && | ||
239 | - this.usuario.equals(other.getUsuario()))) && | ||
240 | - ((this.descricao==null && other.getDescricao()==null) || | ||
241 | - (this.descricao!=null && | ||
242 | - this.descricao.equals(other.getDescricao()))) && | ||
243 | - ((this.tipo==null && other.getTipo()==null) || | ||
244 | - (this.tipo!=null && | ||
245 | - this.tipo.equals(other.getTipo()))) && | ||
246 | - ((this.estado==null && other.getEstado()==null) || | ||
247 | - (this.estado!=null && | ||
248 | - this.estado.equals(other.getEstado()))) && | ||
249 | - ((this.unidadesDisponibilizacao==null && other.getUnidadesDisponibilizacao()==null) || | ||
250 | - (this.unidadesDisponibilizacao!=null && | ||
251 | - java.util.Arrays.equals(this.unidadesDisponibilizacao, other.getUnidadesDisponibilizacao()))) && | ||
252 | - ((this.protocolos==null && other.getProtocolos()==null) || | ||
253 | - (this.protocolos!=null && | ||
254 | - java.util.Arrays.equals(this.protocolos, other.getProtocolos()))); | ||
255 | - __equalsCalc = null; | ||
256 | - return _equals; | ||
257 | - } | ||
258 | - | ||
259 | - private boolean __hashCodeCalc = false; | ||
260 | - public int hashCode() { | ||
261 | - if (__hashCodeCalc) { | ||
262 | - return 0; | ||
263 | - } | ||
264 | - __hashCodeCalc = true; | ||
265 | - int _hashCode = 1; | ||
266 | - if (getIdBloco() != null) { | ||
267 | - _hashCode += getIdBloco().hashCode(); | ||
268 | - } | ||
269 | - if (getUnidade() != null) { | ||
270 | - _hashCode += getUnidade().hashCode(); | ||
271 | - } | ||
272 | - if (getUsuario() != null) { | ||
273 | - _hashCode += getUsuario().hashCode(); | ||
274 | - } | ||
275 | - if (getDescricao() != null) { | ||
276 | - _hashCode += getDescricao().hashCode(); | ||
277 | - } | ||
278 | - if (getTipo() != null) { | ||
279 | - _hashCode += getTipo().hashCode(); | ||
280 | - } | ||
281 | - if (getEstado() != null) { | ||
282 | - _hashCode += getEstado().hashCode(); | ||
283 | - } | ||
284 | - if (getUnidadesDisponibilizacao() != null) { | ||
285 | - for (int i=0; | ||
286 | - i<java.lang.reflect.Array.getLength(getUnidadesDisponibilizacao()); | ||
287 | - i++) { | ||
288 | - Object obj = java.lang.reflect.Array.get(getUnidadesDisponibilizacao(), i); | ||
289 | - if (obj != null && | ||
290 | - !obj.getClass().isArray()) { | ||
291 | - _hashCode += obj.hashCode(); | ||
292 | - } | ||
293 | - } | ||
294 | - } | ||
295 | - if (getProtocolos() != null) { | ||
296 | - for (int i=0; | ||
297 | - i<java.lang.reflect.Array.getLength(getProtocolos()); | ||
298 | - i++) { | ||
299 | - Object obj = java.lang.reflect.Array.get(getProtocolos(), i); | ||
300 | - if (obj != null && | ||
301 | - !obj.getClass().isArray()) { | ||
302 | - _hashCode += obj.hashCode(); | ||
303 | - } | ||
304 | - } | ||
305 | - } | ||
306 | - __hashCodeCalc = false; | ||
307 | - return _hashCode; | ||
308 | - } | 39 | + |
309 | } | 40 | } |
src/main/java/br/gov/ans/integracao/sei/client/RetornoConsultaDocumento.java
1 | -/** | ||
2 | - * RetornoConsultaDocumento.java | ||
3 | - * | ||
4 | - * This file was auto-generated from WSDL | ||
5 | - * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter. | ||
6 | - */ | ||
7 | - | ||
8 | package br.gov.ans.integracao.sei.client; | 1 | package br.gov.ans.integracao.sei.client; |
9 | 2 | ||
10 | import java.io.Serializable; | 3 | import java.io.Serializable; |
@@ -13,283 +6,33 @@ import com.fasterxml.jackson.annotation.JsonIgnoreProperties; | @@ -13,283 +6,33 @@ import com.fasterxml.jackson.annotation.JsonIgnoreProperties; | ||
13 | import com.fasterxml.jackson.annotation.JsonInclude; | 6 | import com.fasterxml.jackson.annotation.JsonInclude; |
14 | import com.fasterxml.jackson.annotation.JsonInclude.Include; | 7 | import com.fasterxml.jackson.annotation.JsonInclude.Include; |
15 | 8 | ||
9 | +import lombok.AllArgsConstructor; | ||
10 | +import lombok.Builder; | ||
11 | +import lombok.Data; | ||
12 | +import lombok.NoArgsConstructor; | ||
13 | + | ||
16 | @JsonInclude(content = Include.NON_NULL) | 14 | @JsonInclude(content = Include.NON_NULL) |
17 | @JsonIgnoreProperties(ignoreUnknown = true) | 15 | @JsonIgnoreProperties(ignoreUnknown = true) |
16 | +@NoArgsConstructor | ||
17 | +@AllArgsConstructor | ||
18 | +@Data | ||
19 | +@Builder | ||
18 | public class RetornoConsultaDocumento implements Serializable { | 20 | public class RetornoConsultaDocumento implements Serializable { |
19 | 21 | ||
20 | private static final long serialVersionUID = 1L; | 22 | private static final long serialVersionUID = 1L; |
21 | 23 | ||
22 | private String idProcedimento; | 24 | private String idProcedimento; |
23 | - | ||
24 | private String procedimentoFormatado; | 25 | private String procedimentoFormatado; |
25 | - | ||
26 | private String idDocumento; | 26 | private String idDocumento; |
27 | - | ||
28 | private String documentoFormatado; | 27 | private String documentoFormatado; |
29 | - | ||
30 | private String linkAcesso; | 28 | private String linkAcesso; |
31 | - | ||
32 | private Serie serie; | 29 | private Serie serie; |
33 | - | ||
34 | private String numero; | 30 | private String numero; |
35 | - | ||
36 | private String descricao; | 31 | private String descricao; |
37 | - | ||
38 | private String data; | 32 | private String data; |
39 | - | ||
40 | private Unidade unidadeElaboradora; | 33 | private Unidade unidadeElaboradora; |
41 | - | ||
42 | private Andamento andamentoGeracao; | 34 | private Andamento andamentoGeracao; |
43 | - | ||
44 | private Assinatura[] assinaturas; | 35 | private Assinatura[] assinaturas; |
45 | - | ||
46 | private Publicacao publicacao; | 36 | private Publicacao publicacao; |
47 | - | ||
48 | private Campo[] campos; | 37 | private Campo[] campos; |
49 | - | ||
50 | - public RetornoConsultaDocumento() { | ||
51 | - } | ||
52 | - | ||
53 | - public RetornoConsultaDocumento(String idProcedimento, String procedimentoFormatado, | ||
54 | - String idDocumento, String documentoFormatado, String linkAcesso, | ||
55 | - Serie serie, String numero, String descricao, | ||
56 | - String data, Unidade unidadeElaboradora, | ||
57 | - Andamento andamentoGeracao, | ||
58 | - Assinatura[] assinaturas, | ||
59 | - Publicacao publicacao, Campo[] campos) { | ||
60 | - this.idProcedimento = idProcedimento; | ||
61 | - this.procedimentoFormatado = procedimentoFormatado; | ||
62 | - this.idDocumento = idDocumento; | ||
63 | - this.documentoFormatado = documentoFormatado; | ||
64 | - this.linkAcesso = linkAcesso; | ||
65 | - this.serie = serie; | ||
66 | - this.numero = numero; | ||
67 | - this.descricao = descricao; | ||
68 | - this.data = data; | ||
69 | - this.unidadeElaboradora = unidadeElaboradora; | ||
70 | - this.andamentoGeracao = andamentoGeracao; | ||
71 | - this.assinaturas = assinaturas; | ||
72 | - this.publicacao = publicacao; | ||
73 | - this.campos = campos; | ||
74 | - } | ||
75 | - | ||
76 | - public String getIdProcedimento() { | ||
77 | - return idProcedimento; | ||
78 | - } | ||
79 | - | ||
80 | - public void setIdProcedimento(String idProcedimento) { | ||
81 | - this.idProcedimento = idProcedimento; | ||
82 | - } | ||
83 | - | ||
84 | - public String getProcedimentoFormatado() { | ||
85 | - return procedimentoFormatado; | ||
86 | - } | ||
87 | - | ||
88 | - public void setProcedimentoFormatado(String procedimentoFormatado) { | ||
89 | - this.procedimentoFormatado = procedimentoFormatado; | ||
90 | - } | ||
91 | - | ||
92 | - public String getIdDocumento() { | ||
93 | - return idDocumento; | ||
94 | - } | ||
95 | - | ||
96 | - public void setIdDocumento(String idDocumento) { | ||
97 | - this.idDocumento = idDocumento; | ||
98 | - } | ||
99 | - | ||
100 | - public String getDocumentoFormatado() { | ||
101 | - return documentoFormatado; | ||
102 | - } | ||
103 | - | ||
104 | - public void setDocumentoFormatado(String documentoFormatado) { | ||
105 | - this.documentoFormatado = documentoFormatado; | ||
106 | - } | ||
107 | - | ||
108 | - public String getLinkAcesso() { | ||
109 | - return linkAcesso; | ||
110 | - } | ||
111 | - | ||
112 | - public void setLinkAcesso(String linkAcesso) { | ||
113 | - this.linkAcesso = linkAcesso; | ||
114 | - } | ||
115 | - | ||
116 | - public Serie getSerie() { | ||
117 | - return serie; | ||
118 | - } | ||
119 | - | ||
120 | - public void setSerie(Serie serie) { | ||
121 | - this.serie = serie; | ||
122 | - } | ||
123 | - | ||
124 | - public String getNumero() { | ||
125 | - return numero; | ||
126 | - } | ||
127 | - | ||
128 | - public void setNumero(String numero) { | ||
129 | - this.numero = numero; | ||
130 | - } | ||
131 | - | ||
132 | - public String getDescricao() { | ||
133 | - return descricao; | ||
134 | - } | ||
135 | - | ||
136 | - public void setDescricao(String descricao) { | ||
137 | - this.descricao = descricao; | ||
138 | - } | ||
139 | - | ||
140 | - public String getData() { | ||
141 | - return data; | ||
142 | - } | ||
143 | - | ||
144 | - public void setData(String data) { | ||
145 | - this.data = data; | ||
146 | - } | ||
147 | - | ||
148 | - public Unidade getUnidadeElaboradora() { | ||
149 | - return unidadeElaboradora; | ||
150 | - } | ||
151 | - | ||
152 | - public void setUnidadeElaboradora(Unidade unidadeElaboradora) { | ||
153 | - this.unidadeElaboradora = unidadeElaboradora; | ||
154 | - } | ||
155 | - | ||
156 | - public Andamento getAndamentoGeracao() { | ||
157 | - return andamentoGeracao; | ||
158 | - } | ||
159 | - | ||
160 | - public void setAndamentoGeracao(Andamento andamentoGeracao) { | ||
161 | - this.andamentoGeracao = andamentoGeracao; | ||
162 | - } | ||
163 | - | ||
164 | - public Assinatura[] getAssinaturas() { | ||
165 | - return assinaturas; | ||
166 | - } | ||
167 | - | ||
168 | - public void setAssinaturas(Assinatura[] assinaturas) { | ||
169 | - this.assinaturas = assinaturas; | ||
170 | - } | ||
171 | - | ||
172 | - public Publicacao getPublicacao() { | ||
173 | - return publicacao; | ||
174 | - } | ||
175 | - | ||
176 | - public void setPublicacao(Publicacao publicacao) { | ||
177 | - this.publicacao = publicacao; | ||
178 | - } | ||
179 | - | ||
180 | - public Campo[] getCampos() { | ||
181 | - return campos; | ||
182 | - } | ||
183 | - | ||
184 | - public void setCampos(Campo[] campos) { | ||
185 | - this.campos = campos; | ||
186 | - } | ||
187 | - | ||
188 | - private Object __equalsCalc = null; | ||
189 | - | ||
190 | - public boolean equals(Object obj) { | ||
191 | - if (!(obj instanceof RetornoConsultaDocumento)) | ||
192 | - return false; | ||
193 | - RetornoConsultaDocumento other = (RetornoConsultaDocumento) obj; | ||
194 | - if (this == obj) | ||
195 | - return true; | ||
196 | - if (__equalsCalc != null) { | ||
197 | - return (__equalsCalc == obj); | ||
198 | - } | ||
199 | - __equalsCalc = obj; | ||
200 | - boolean _equals; | ||
201 | - _equals = true | ||
202 | - && ((this.idProcedimento == null && other.getIdProcedimento() == null) | ||
203 | - || (this.idProcedimento != null && this.idProcedimento.equals(other.getIdProcedimento()))) | ||
204 | - && ((this.procedimentoFormatado == null && other.getProcedimentoFormatado() == null) | ||
205 | - || (this.procedimentoFormatado != null | ||
206 | - && this.procedimentoFormatado.equals(other.getProcedimentoFormatado()))) | ||
207 | - && ((this.idDocumento == null && other.getIdDocumento() == null) | ||
208 | - || (this.idDocumento != null && this.idDocumento.equals(other.getIdDocumento()))) | ||
209 | - && ((this.documentoFormatado == null && other.getDocumentoFormatado() == null) | ||
210 | - || (this.documentoFormatado != null | ||
211 | - && this.documentoFormatado.equals(other.getDocumentoFormatado()))) | ||
212 | - && ((this.linkAcesso == null && other.getLinkAcesso() == null) | ||
213 | - || (this.linkAcesso != null && this.linkAcesso.equals(other.getLinkAcesso()))) | ||
214 | - && ((this.serie == null && other.getSerie() == null) | ||
215 | - || (this.serie != null && this.serie.equals(other.getSerie()))) | ||
216 | - && ((this.numero == null && other.getNumero() == null) | ||
217 | - || (this.numero != null && this.numero.equals(other.getNumero()))) | ||
218 | - && ((this.data == null && other.getData() == null) | ||
219 | - || (this.data != null && this.data.equals(other.getData()))) | ||
220 | - && ((this.unidadeElaboradora == null && other.getUnidadeElaboradora() == null) | ||
221 | - || (this.unidadeElaboradora != null | ||
222 | - && this.unidadeElaboradora.equals(other.getUnidadeElaboradora()))) | ||
223 | - && ((this.andamentoGeracao == null && other.getAndamentoGeracao() == null) | ||
224 | - || (this.andamentoGeracao != null && this.andamentoGeracao.equals(other.getAndamentoGeracao()))) | ||
225 | - && ((this.assinaturas == null && other.getAssinaturas() == null) || (this.assinaturas != null | ||
226 | - && java.util.Arrays.equals(this.assinaturas, other.getAssinaturas()))) | ||
227 | - && ((this.publicacao == null && other.getPublicacao() == null) | ||
228 | - || (this.publicacao != null && this.publicacao.equals(other.getPublicacao()))) | ||
229 | - && ((this.campos == null && other.getCampos() == null) | ||
230 | - || (this.campos != null && java.util.Arrays.equals(this.campos, other.getCampos()))); | ||
231 | - __equalsCalc = null; | ||
232 | - return _equals; | ||
233 | - } | ||
234 | - | ||
235 | - private boolean __hashCodeCalc = false; | ||
236 | - | ||
237 | - public int hashCode() { | ||
238 | - if (__hashCodeCalc) { | ||
239 | - return 0; | ||
240 | - } | ||
241 | - __hashCodeCalc = true; | ||
242 | - int _hashCode = 1; | ||
243 | - if (getIdProcedimento() != null) { | ||
244 | - _hashCode += getIdProcedimento().hashCode(); | ||
245 | - } | ||
246 | - if (getProcedimentoFormatado() != null) { | ||
247 | - _hashCode += getProcedimentoFormatado().hashCode(); | ||
248 | - } | ||
249 | - if (getIdDocumento() != null) { | ||
250 | - _hashCode += getIdDocumento().hashCode(); | ||
251 | - } | ||
252 | - if (getDocumentoFormatado() != null) { | ||
253 | - _hashCode += getDocumentoFormatado().hashCode(); | ||
254 | - } | ||
255 | - if (getLinkAcesso() != null) { | ||
256 | - _hashCode += getLinkAcesso().hashCode(); | ||
257 | - } | ||
258 | - if (getSerie() != null) { | ||
259 | - _hashCode += getSerie().hashCode(); | ||
260 | - } | ||
261 | - if (getNumero() != null) { | ||
262 | - _hashCode += getNumero().hashCode(); | ||
263 | - } | ||
264 | - if (getData() != null) { | ||
265 | - _hashCode += getData().hashCode(); | ||
266 | - } | ||
267 | - if (getUnidadeElaboradora() != null) { | ||
268 | - _hashCode += getUnidadeElaboradora().hashCode(); | ||
269 | - } | ||
270 | - if (getAndamentoGeracao() != null) { | ||
271 | - _hashCode += getAndamentoGeracao().hashCode(); | ||
272 | - } | ||
273 | - if (getAssinaturas() != null) { | ||
274 | - for (int i = 0; i < java.lang.reflect.Array.getLength(getAssinaturas()); i++) { | ||
275 | - Object obj = java.lang.reflect.Array.get(getAssinaturas(), i); | ||
276 | - if (obj != null && !obj.getClass().isArray()) { | ||
277 | - _hashCode += obj.hashCode(); | ||
278 | - } | ||
279 | - } | ||
280 | - } | ||
281 | - if (getPublicacao() != null) { | ||
282 | - _hashCode += getPublicacao().hashCode(); | ||
283 | - } | ||
284 | - if (getCampos() != null) { | ||
285 | - for (int i = 0; i < java.lang.reflect.Array.getLength(getCampos()); i++) { | ||
286 | - Object obj = java.lang.reflect.Array.get(getCampos(), i); | ||
287 | - if (obj != null && !obj.getClass().isArray()) { | ||
288 | - _hashCode += obj.hashCode(); | ||
289 | - } | ||
290 | - } | ||
291 | - } | ||
292 | - __hashCodeCalc = false; | ||
293 | - return _hashCode; | ||
294 | - } | ||
295 | } | 38 | } |
src/main/java/br/gov/ans/integracao/sei/client/RetornoConsultaProcedimento.java
1 | -/** | ||
2 | - * RetornoConsultaProcedimento.java | ||
3 | - * | ||
4 | - * This file was auto-generated from WSDL | ||
5 | - * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter. | ||
6 | - */ | ||
7 | - | ||
8 | package br.gov.ans.integracao.sei.client; | 1 | package br.gov.ans.integracao.sei.client; |
9 | 2 | ||
10 | import java.io.Serializable; | 3 | import java.io.Serializable; |
@@ -13,334 +6,35 @@ import com.fasterxml.jackson.annotation.JsonIgnoreProperties; | @@ -13,334 +6,35 @@ import com.fasterxml.jackson.annotation.JsonIgnoreProperties; | ||
13 | import com.fasterxml.jackson.annotation.JsonInclude; | 6 | import com.fasterxml.jackson.annotation.JsonInclude; |
14 | import com.fasterxml.jackson.annotation.JsonInclude.Include; | 7 | import com.fasterxml.jackson.annotation.JsonInclude.Include; |
15 | 8 | ||
9 | +import lombok.AllArgsConstructor; | ||
10 | +import lombok.Builder; | ||
11 | +import lombok.Data; | ||
12 | +import lombok.NoArgsConstructor; | ||
13 | + | ||
16 | @JsonInclude(content = Include.NON_NULL) | 14 | @JsonInclude(content = Include.NON_NULL) |
17 | @JsonIgnoreProperties(ignoreUnknown = true) | 15 | @JsonIgnoreProperties(ignoreUnknown = true) |
16 | +@NoArgsConstructor | ||
17 | +@AllArgsConstructor | ||
18 | +@Data | ||
19 | +@Builder | ||
18 | public class RetornoConsultaProcedimento implements Serializable { | 20 | public class RetornoConsultaProcedimento implements Serializable { |
19 | 21 | ||
20 | private static final long serialVersionUID = 1L; | 22 | private static final long serialVersionUID = 1L; |
21 | 23 | ||
22 | private String idProcedimento; | 24 | private String idProcedimento; |
23 | - | ||
24 | private String procedimentoFormatado; | 25 | private String procedimentoFormatado; |
25 | - | ||
26 | private String especificacao; | 26 | private String especificacao; |
27 | - | ||
28 | private String dataAutuacao; | 27 | private String dataAutuacao; |
29 | - | ||
30 | private String linkAcesso; | 28 | private String linkAcesso; |
31 | - | ||
32 | private TipoProcedimento tipoProcedimento; | 29 | private TipoProcedimento tipoProcedimento; |
33 | - | ||
34 | private Andamento andamentoGeracao; | 30 | private Andamento andamentoGeracao; |
35 | - | ||
36 | private Andamento andamentoConclusao; | 31 | private Andamento andamentoConclusao; |
37 | - | ||
38 | private Andamento ultimoAndamento; | 32 | private Andamento ultimoAndamento; |
39 | - | ||
40 | private UnidadeProcedimentoAberto[] unidadesProcedimentoAberto; | 33 | private UnidadeProcedimentoAberto[] unidadesProcedimentoAberto; |
41 | - | ||
42 | private Assunto[] assuntos; | 34 | private Assunto[] assuntos; |
43 | - | ||
44 | private Interessado[] interessados; | 35 | private Interessado[] interessados; |
45 | - | ||
46 | private Observacao[] observacoes; | 36 | private Observacao[] observacoes; |
47 | - | ||
48 | private ProcedimentoResumido[] procedimentosRelacionados; | 37 | private ProcedimentoResumido[] procedimentosRelacionados; |
49 | - | ||
50 | private ProcedimentoResumido[] procedimentosAnexados; | 38 | private ProcedimentoResumido[] procedimentosAnexados; |
51 | - | ||
52 | - public RetornoConsultaProcedimento() { | ||
53 | - } | ||
54 | - | ||
55 | - public RetornoConsultaProcedimento(String idProcedimento, String procedimentoFormatado, | ||
56 | - String especificacao, String dataAutuacao, String linkAcesso, | ||
57 | - TipoProcedimento tipoProcedimento, | ||
58 | - Andamento andamentoGeracao, | ||
59 | - Andamento andamentoConclusao, | ||
60 | - Andamento ultimoAndamento, | ||
61 | - UnidadeProcedimentoAberto[] unidadesProcedimentoAberto, | ||
62 | - Assunto[] assuntos, | ||
63 | - Interessado[] interessados, | ||
64 | - Observacao[] observacoes, | ||
65 | - ProcedimentoResumido[] procedimentosRelacionados, | ||
66 | - ProcedimentoResumido[] procedimentosAnexados) { | ||
67 | - this.idProcedimento = idProcedimento; | ||
68 | - this.procedimentoFormatado = procedimentoFormatado; | ||
69 | - this.especificacao = especificacao; | ||
70 | - this.dataAutuacao = dataAutuacao; | ||
71 | - this.linkAcesso = linkAcesso; | ||
72 | - this.tipoProcedimento = tipoProcedimento; | ||
73 | - this.andamentoGeracao = andamentoGeracao; | ||
74 | - this.andamentoConclusao = andamentoConclusao; | ||
75 | - this.ultimoAndamento = ultimoAndamento; | ||
76 | - this.unidadesProcedimentoAberto = unidadesProcedimentoAberto; | ||
77 | - this.assuntos = assuntos; | ||
78 | - this.interessados = interessados; | ||
79 | - this.observacoes = observacoes; | ||
80 | - this.procedimentosRelacionados = procedimentosRelacionados; | ||
81 | - this.procedimentosAnexados = procedimentosAnexados; | ||
82 | - } | ||
83 | - | ||
84 | - public String getIdProcedimento() { | ||
85 | - return idProcedimento; | ||
86 | - } | ||
87 | - | ||
88 | - public void setIdProcedimento(String idProcedimento) { | ||
89 | - this.idProcedimento = idProcedimento; | ||
90 | - } | ||
91 | - | ||
92 | - public String getProcedimentoFormatado() { | ||
93 | - return procedimentoFormatado; | ||
94 | - } | ||
95 | - | ||
96 | - public void setProcedimentoFormatado(String procedimentoFormatado) { | ||
97 | - this.procedimentoFormatado = procedimentoFormatado; | ||
98 | - } | ||
99 | - | ||
100 | - public String getEspecificacao() { | ||
101 | - return especificacao; | ||
102 | - } | ||
103 | - | ||
104 | - public void setEspecificacao(String especificacao) { | ||
105 | - this.especificacao = especificacao; | ||
106 | - } | ||
107 | - | ||
108 | - public String getDataAutuacao() { | ||
109 | - return dataAutuacao; | ||
110 | - } | ||
111 | - | ||
112 | - public void setDataAutuacao(String dataAutuacao) { | ||
113 | - this.dataAutuacao = dataAutuacao; | ||
114 | - } | ||
115 | - | ||
116 | - public String getLinkAcesso() { | ||
117 | - return linkAcesso; | ||
118 | - } | ||
119 | - | ||
120 | - public void setLinkAcesso(String linkAcesso) { | ||
121 | - this.linkAcesso = linkAcesso; | ||
122 | - } | ||
123 | - | ||
124 | - public TipoProcedimento getTipoProcedimento() { | ||
125 | - return tipoProcedimento; | ||
126 | - } | ||
127 | - | ||
128 | - public void setTipoProcedimento(TipoProcedimento tipoProcedimento) { | ||
129 | - this.tipoProcedimento = tipoProcedimento; | ||
130 | - } | ||
131 | - | ||
132 | - public Andamento getAndamentoGeracao() { | ||
133 | - return andamentoGeracao; | ||
134 | - } | ||
135 | - | ||
136 | - public void setAndamentoGeracao(Andamento andamentoGeracao) { | ||
137 | - this.andamentoGeracao = andamentoGeracao; | ||
138 | - } | ||
139 | - | ||
140 | - public Andamento getAndamentoConclusao() { | ||
141 | - return andamentoConclusao; | ||
142 | - } | ||
143 | - | ||
144 | - public void setAndamentoConclusao(Andamento andamentoConclusao) { | ||
145 | - this.andamentoConclusao = andamentoConclusao; | ||
146 | - } | ||
147 | - | ||
148 | - public Andamento getUltimoAndamento() { | ||
149 | - return ultimoAndamento; | ||
150 | - } | ||
151 | - | ||
152 | - public void setUltimoAndamento(Andamento ultimoAndamento) { | ||
153 | - this.ultimoAndamento = ultimoAndamento; | ||
154 | - } | ||
155 | - | ||
156 | - public UnidadeProcedimentoAberto[] getUnidadesProcedimentoAberto() { | ||
157 | - return unidadesProcedimentoAberto; | ||
158 | - } | ||
159 | - | ||
160 | - public void setUnidadesProcedimentoAberto( | ||
161 | - UnidadeProcedimentoAberto[] unidadesProcedimentoAberto) { | ||
162 | - this.unidadesProcedimentoAberto = unidadesProcedimentoAberto; | ||
163 | - } | ||
164 | - | ||
165 | - public Assunto[] getAssuntos() { | ||
166 | - return assuntos; | ||
167 | - } | ||
168 | - | ||
169 | - public void setAssuntos(Assunto[] assuntos) { | ||
170 | - this.assuntos = assuntos; | ||
171 | - } | ||
172 | - | ||
173 | - public Interessado[] getInteressados() { | ||
174 | - return interessados; | ||
175 | - } | ||
176 | - | ||
177 | - public void setInteressados(Interessado[] interessados) { | ||
178 | - this.interessados = interessados; | ||
179 | - } | ||
180 | - | ||
181 | - public Observacao[] getObservacoes() { | ||
182 | - return observacoes; | ||
183 | - } | ||
184 | - | ||
185 | - public void setObservacoes(Observacao[] observacoes) { | ||
186 | - this.observacoes = observacoes; | ||
187 | - } | ||
188 | - | ||
189 | - public ProcedimentoResumido[] getProcedimentosRelacionados() { | ||
190 | - return procedimentosRelacionados; | ||
191 | - } | ||
192 | - | ||
193 | - public void setProcedimentosRelacionados( | ||
194 | - ProcedimentoResumido[] procedimentosRelacionados) { | ||
195 | - this.procedimentosRelacionados = procedimentosRelacionados; | ||
196 | - } | ||
197 | - | ||
198 | - public ProcedimentoResumido[] getProcedimentosAnexados() { | ||
199 | - return procedimentosAnexados; | ||
200 | - } | ||
201 | - | ||
202 | - public void setProcedimentosAnexados( | ||
203 | - ProcedimentoResumido[] procedimentosAnexados) { | ||
204 | - this.procedimentosAnexados = procedimentosAnexados; | ||
205 | - } | ||
206 | - | ||
207 | - private Object __equalsCalc = null; | ||
208 | - | ||
209 | - public boolean equals(Object obj) { | ||
210 | - if (!(obj instanceof RetornoConsultaProcedimento)) | ||
211 | - return false; | ||
212 | - RetornoConsultaProcedimento other = (RetornoConsultaProcedimento) obj; | ||
213 | - if (this == obj) | ||
214 | - return true; | ||
215 | - if (__equalsCalc != null) { | ||
216 | - return (__equalsCalc == obj); | ||
217 | - } | ||
218 | - __equalsCalc = obj; | ||
219 | - boolean _equals; | ||
220 | - _equals = true | ||
221 | - && ((this.idProcedimento == null && other.getIdProcedimento() == null) | ||
222 | - || (this.idProcedimento != null && this.idProcedimento.equals(other.getIdProcedimento()))) | ||
223 | - && ((this.procedimentoFormatado == null && other.getProcedimentoFormatado() == null) | ||
224 | - || (this.procedimentoFormatado != null | ||
225 | - && this.procedimentoFormatado.equals(other.getProcedimentoFormatado()))) | ||
226 | - && ((this.especificacao == null && other.getEspecificacao() == null) | ||
227 | - || (this.especificacao != null && this.especificacao.equals(other.getEspecificacao()))) | ||
228 | - && ((this.dataAutuacao == null && other.getDataAutuacao() == null) | ||
229 | - || (this.dataAutuacao != null && this.dataAutuacao.equals(other.getDataAutuacao()))) | ||
230 | - && ((this.linkAcesso == null && other.getLinkAcesso() == null) | ||
231 | - || (this.linkAcesso != null && this.linkAcesso.equals(other.getLinkAcesso()))) | ||
232 | - && ((this.tipoProcedimento == null && other.getTipoProcedimento() == null) | ||
233 | - || (this.tipoProcedimento != null && this.tipoProcedimento.equals(other.getTipoProcedimento()))) | ||
234 | - && ((this.andamentoGeracao == null && other.getAndamentoGeracao() == null) | ||
235 | - || (this.andamentoGeracao != null && this.andamentoGeracao.equals(other.getAndamentoGeracao()))) | ||
236 | - && ((this.andamentoConclusao == null && other.getAndamentoConclusao() == null) | ||
237 | - || (this.andamentoConclusao != null | ||
238 | - && this.andamentoConclusao.equals(other.getAndamentoConclusao()))) | ||
239 | - && ((this.ultimoAndamento == null && other.getUltimoAndamento() == null) | ||
240 | - || (this.ultimoAndamento != null && this.ultimoAndamento.equals(other.getUltimoAndamento()))) | ||
241 | - && ((this.unidadesProcedimentoAberto == null && other.getUnidadesProcedimentoAberto() == null) | ||
242 | - || (this.unidadesProcedimentoAberto != null && java.util.Arrays | ||
243 | - .equals(this.unidadesProcedimentoAberto, other.getUnidadesProcedimentoAberto()))) | ||
244 | - && ((this.assuntos == null && other.getAssuntos() == null) | ||
245 | - || (this.assuntos != null && java.util.Arrays.equals(this.assuntos, other.getAssuntos()))) | ||
246 | - && ((this.interessados == null && other.getInteressados() == null) || (this.interessados != null | ||
247 | - && java.util.Arrays.equals(this.interessados, other.getInteressados()))) | ||
248 | - && ((this.observacoes == null && other.getObservacoes() == null) || (this.observacoes != null | ||
249 | - && java.util.Arrays.equals(this.observacoes, other.getObservacoes()))) | ||
250 | - && ((this.procedimentosRelacionados == null && other.getProcedimentosRelacionados() == null) | ||
251 | - || (this.procedimentosRelacionados != null && java.util.Arrays | ||
252 | - .equals(this.procedimentosRelacionados, other.getProcedimentosRelacionados()))) | ||
253 | - && ((this.procedimentosAnexados == null && other.getProcedimentosAnexados() == null) | ||
254 | - || (this.procedimentosAnexados != null && java.util.Arrays.equals(this.procedimentosAnexados, | ||
255 | - other.getProcedimentosAnexados()))); | ||
256 | - __equalsCalc = null; | ||
257 | - return _equals; | ||
258 | - } | ||
259 | - | ||
260 | - private boolean __hashCodeCalc = false; | ||
261 | - | ||
262 | - public int hashCode() { | ||
263 | - if (__hashCodeCalc) { | ||
264 | - return 0; | ||
265 | - } | ||
266 | - __hashCodeCalc = true; | ||
267 | - int _hashCode = 1; | ||
268 | - if (getIdProcedimento() != null) { | ||
269 | - _hashCode += getIdProcedimento().hashCode(); | ||
270 | - } | ||
271 | - if (getProcedimentoFormatado() != null) { | ||
272 | - _hashCode += getProcedimentoFormatado().hashCode(); | ||
273 | - } | ||
274 | - if (getEspecificacao() != null) { | ||
275 | - _hashCode += getEspecificacao().hashCode(); | ||
276 | - } | ||
277 | - if (getDataAutuacao() != null) { | ||
278 | - _hashCode += getDataAutuacao().hashCode(); | ||
279 | - } | ||
280 | - if (getLinkAcesso() != null) { | ||
281 | - _hashCode += getLinkAcesso().hashCode(); | ||
282 | - } | ||
283 | - if (getTipoProcedimento() != null) { | ||
284 | - _hashCode += getTipoProcedimento().hashCode(); | ||
285 | - } | ||
286 | - if (getAndamentoGeracao() != null) { | ||
287 | - _hashCode += getAndamentoGeracao().hashCode(); | ||
288 | - } | ||
289 | - if (getAndamentoConclusao() != null) { | ||
290 | - _hashCode += getAndamentoConclusao().hashCode(); | ||
291 | - } | ||
292 | - if (getUltimoAndamento() != null) { | ||
293 | - _hashCode += getUltimoAndamento().hashCode(); | ||
294 | - } | ||
295 | - if (getUnidadesProcedimentoAberto() != null) { | ||
296 | - for (int i = 0; i < java.lang.reflect.Array.getLength(getUnidadesProcedimentoAberto()); i++) { | ||
297 | - java.lang.Object obj = java.lang.reflect.Array.get(getUnidadesProcedimentoAberto(), i); | ||
298 | - if (obj != null && !obj.getClass().isArray()) { | ||
299 | - _hashCode += obj.hashCode(); | ||
300 | - } | ||
301 | - } | ||
302 | - } | ||
303 | - if (getAssuntos() != null) { | ||
304 | - for (int i = 0; i < java.lang.reflect.Array.getLength(getAssuntos()); i++) { | ||
305 | - java.lang.Object obj = java.lang.reflect.Array.get(getAssuntos(), i); | ||
306 | - if (obj != null && !obj.getClass().isArray()) { | ||
307 | - _hashCode += obj.hashCode(); | ||
308 | - } | ||
309 | - } | ||
310 | - } | ||
311 | - if (getInteressados() != null) { | ||
312 | - for (int i = 0; i < java.lang.reflect.Array.getLength(getInteressados()); i++) { | ||
313 | - java.lang.Object obj = java.lang.reflect.Array.get(getInteressados(), i); | ||
314 | - if (obj != null && !obj.getClass().isArray()) { | ||
315 | - _hashCode += obj.hashCode(); | ||
316 | - } | ||
317 | - } | ||
318 | - } | ||
319 | - if (getObservacoes() != null) { | ||
320 | - for (int i = 0; i < java.lang.reflect.Array.getLength(getObservacoes()); i++) { | ||
321 | - java.lang.Object obj = java.lang.reflect.Array.get(getObservacoes(), i); | ||
322 | - if (obj != null && !obj.getClass().isArray()) { | ||
323 | - _hashCode += obj.hashCode(); | ||
324 | - } | ||
325 | - } | ||
326 | - } | ||
327 | - if (getProcedimentosRelacionados() != null) { | ||
328 | - for (int i = 0; i < java.lang.reflect.Array.getLength(getProcedimentosRelacionados()); i++) { | ||
329 | - java.lang.Object obj = java.lang.reflect.Array.get(getProcedimentosRelacionados(), i); | ||
330 | - if (obj != null && !obj.getClass().isArray()) { | ||
331 | - _hashCode += obj.hashCode(); | ||
332 | - } | ||
333 | - } | ||
334 | - } | ||
335 | - if (getProcedimentosAnexados() != null) { | ||
336 | - for (int i = 0; i < java.lang.reflect.Array.getLength(getProcedimentosAnexados()); i++) { | ||
337 | - java.lang.Object obj = java.lang.reflect.Array.get(getProcedimentosAnexados(), i); | ||
338 | - if (obj != null && !obj.getClass().isArray()) { | ||
339 | - _hashCode += obj.hashCode(); | ||
340 | - } | ||
341 | - } | ||
342 | - } | ||
343 | - __hashCodeCalc = false; | ||
344 | - return _hashCode; | ||
345 | - } | 39 | + |
346 | } | 40 | } |
src/main/java/br/gov/ans/integracao/sei/client/RetornoGeracaoProcedimento.java
1 | -/** | ||
2 | - * RetornoGeracaoProcedimento.java | ||
3 | - * | ||
4 | - * This file was auto-generated from WSDL | ||
5 | - * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter. | ||
6 | - */ | ||
7 | - | ||
8 | package br.gov.ans.integracao.sei.client; | 1 | package br.gov.ans.integracao.sei.client; |
9 | 2 | ||
10 | import java.io.Serializable; | 3 | import java.io.Serializable; |
@@ -13,117 +6,24 @@ import com.fasterxml.jackson.annotation.JsonIgnoreProperties; | @@ -13,117 +6,24 @@ import com.fasterxml.jackson.annotation.JsonIgnoreProperties; | ||
13 | import com.fasterxml.jackson.annotation.JsonInclude; | 6 | import com.fasterxml.jackson.annotation.JsonInclude; |
14 | import com.fasterxml.jackson.annotation.JsonInclude.Include; | 7 | import com.fasterxml.jackson.annotation.JsonInclude.Include; |
15 | 8 | ||
9 | +import lombok.AllArgsConstructor; | ||
10 | +import lombok.Builder; | ||
11 | +import lombok.Data; | ||
12 | +import lombok.NoArgsConstructor; | ||
13 | + | ||
16 | @JsonInclude(content = Include.NON_NULL) | 14 | @JsonInclude(content = Include.NON_NULL) |
17 | @JsonIgnoreProperties(ignoreUnknown = true) | 15 | @JsonIgnoreProperties(ignoreUnknown = true) |
16 | +@NoArgsConstructor | ||
17 | +@AllArgsConstructor | ||
18 | +@Data | ||
19 | +@Builder | ||
18 | public class RetornoGeracaoProcedimento implements Serializable { | 20 | public class RetornoGeracaoProcedimento implements Serializable { |
19 | 21 | ||
20 | private static final long serialVersionUID = 1L; | 22 | private static final long serialVersionUID = 1L; |
21 | 23 | ||
22 | private String idProcedimento; | 24 | private String idProcedimento; |
23 | - | ||
24 | private String procedimentoFormatado; | 25 | private String procedimentoFormatado; |
25 | - | ||
26 | private String linkAcesso; | 26 | private String linkAcesso; |
27 | - | ||
28 | private RetornoInclusaoDocumento[] retornoInclusaoDocumentos; | 27 | private RetornoInclusaoDocumento[] retornoInclusaoDocumentos; |
29 | - | ||
30 | - public RetornoGeracaoProcedimento() { | ||
31 | - } | ||
32 | - | ||
33 | - public RetornoGeracaoProcedimento(String idProcedimento, String procedimentoFormatado, String linkAcesso, RetornoInclusaoDocumento[] retornoInclusaoDocumentos) { | ||
34 | - this.idProcedimento = idProcedimento; | ||
35 | - this.procedimentoFormatado = procedimentoFormatado; | ||
36 | - this.linkAcesso = linkAcesso; | ||
37 | - this.retornoInclusaoDocumentos = retornoInclusaoDocumentos; | ||
38 | - } | ||
39 | - | ||
40 | - public String getIdProcedimento() { | ||
41 | - return idProcedimento; | ||
42 | - } | ||
43 | - | ||
44 | - public void setIdProcedimento(String idProcedimento) { | ||
45 | - this.idProcedimento = idProcedimento; | ||
46 | - } | ||
47 | - | ||
48 | - public String getProcedimentoFormatado() { | ||
49 | - return procedimentoFormatado; | ||
50 | - } | ||
51 | - | ||
52 | - public void setProcedimentoFormatado(String procedimentoFormatado) { | ||
53 | - this.procedimentoFormatado = procedimentoFormatado; | ||
54 | - } | ||
55 | - | ||
56 | - public String getLinkAcesso() { | ||
57 | - return linkAcesso; | ||
58 | - } | ||
59 | - | ||
60 | - public void setLinkAcesso(String linkAcesso) { | ||
61 | - this.linkAcesso = linkAcesso; | ||
62 | - } | ||
63 | - | ||
64 | - public RetornoInclusaoDocumento[] getRetornoInclusaoDocumentos() { | ||
65 | - return retornoInclusaoDocumentos; | ||
66 | - } | ||
67 | - | ||
68 | - public void setRetornoInclusaoDocumentos( | ||
69 | - RetornoInclusaoDocumento[] retornoInclusaoDocumentos) { | ||
70 | - this.retornoInclusaoDocumentos = retornoInclusaoDocumentos; | ||
71 | - } | ||
72 | - | ||
73 | - private Object __equalsCalc = null; | ||
74 | - | ||
75 | - public boolean equals(Object obj) { | ||
76 | - if (!(obj instanceof RetornoGeracaoProcedimento)) | ||
77 | - return false; | ||
78 | - RetornoGeracaoProcedimento other = (RetornoGeracaoProcedimento) obj; | ||
79 | - if (this == obj) | ||
80 | - return true; | ||
81 | - if (__equalsCalc != null) { | ||
82 | - return (__equalsCalc == obj); | ||
83 | - } | ||
84 | - __equalsCalc = obj; | ||
85 | - boolean _equals; | ||
86 | - _equals = true | ||
87 | - && ((this.idProcedimento == null && other.getIdProcedimento() == null) | ||
88 | - || (this.idProcedimento != null && this.idProcedimento.equals(other.getIdProcedimento()))) | ||
89 | - && ((this.procedimentoFormatado == null && other.getProcedimentoFormatado() == null) | ||
90 | - || (this.procedimentoFormatado != null | ||
91 | - && this.procedimentoFormatado.equals(other.getProcedimentoFormatado()))) | ||
92 | - && ((this.linkAcesso == null && other.getLinkAcesso() == null) | ||
93 | - || (this.linkAcesso != null && this.linkAcesso.equals(other.getLinkAcesso()))) | ||
94 | - && ((this.retornoInclusaoDocumentos == null && other.getRetornoInclusaoDocumentos() == null) | ||
95 | - || (this.retornoInclusaoDocumentos != null && java.util.Arrays | ||
96 | - .equals(this.retornoInclusaoDocumentos, other.getRetornoInclusaoDocumentos()))); | ||
97 | - __equalsCalc = null; | ||
98 | - return _equals; | ||
99 | - } | ||
100 | - | ||
101 | - private boolean __hashCodeCalc = false; | ||
102 | - | ||
103 | - public int hashCode() { | ||
104 | - if (__hashCodeCalc) { | ||
105 | - return 0; | ||
106 | - } | ||
107 | - __hashCodeCalc = true; | ||
108 | - int _hashCode = 1; | ||
109 | - if (getIdProcedimento() != null) { | ||
110 | - _hashCode += getIdProcedimento().hashCode(); | ||
111 | - } | ||
112 | - if (getProcedimentoFormatado() != null) { | ||
113 | - _hashCode += getProcedimentoFormatado().hashCode(); | ||
114 | - } | ||
115 | - if (getLinkAcesso() != null) { | ||
116 | - _hashCode += getLinkAcesso().hashCode(); | ||
117 | - } | ||
118 | - if (getRetornoInclusaoDocumentos() != null) { | ||
119 | - for (int i = 0; i < java.lang.reflect.Array.getLength(getRetornoInclusaoDocumentos()); i++) { | ||
120 | - java.lang.Object obj = java.lang.reflect.Array.get(getRetornoInclusaoDocumentos(), i); | ||
121 | - if (obj != null && !obj.getClass().isArray()) { | ||
122 | - _hashCode += obj.hashCode(); | ||
123 | - } | ||
124 | - } | ||
125 | - } | ||
126 | - __hashCodeCalc = false; | ||
127 | - return _hashCode; | ||
128 | - } | 28 | + |
129 | } | 29 | } |
src/main/java/br/gov/ans/integracao/sei/client/RetornoInclusaoDocumento.java
1 | -/** | ||
2 | - * RetornoInclusaoDocumento.java | ||
3 | - * | ||
4 | - * This file was auto-generated from WSDL | ||
5 | - * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter. | ||
6 | - */ | ||
7 | - | ||
8 | package br.gov.ans.integracao.sei.client; | 1 | package br.gov.ans.integracao.sei.client; |
9 | 2 | ||
10 | import java.io.Serializable; | 3 | import java.io.Serializable; |
@@ -13,94 +6,23 @@ import com.fasterxml.jackson.annotation.JsonIgnoreProperties; | @@ -13,94 +6,23 @@ import com.fasterxml.jackson.annotation.JsonIgnoreProperties; | ||
13 | import com.fasterxml.jackson.annotation.JsonInclude; | 6 | import com.fasterxml.jackson.annotation.JsonInclude; |
14 | import com.fasterxml.jackson.annotation.JsonInclude.Include; | 7 | import com.fasterxml.jackson.annotation.JsonInclude.Include; |
15 | 8 | ||
9 | +import lombok.AllArgsConstructor; | ||
10 | +import lombok.Builder; | ||
11 | +import lombok.Data; | ||
12 | +import lombok.NoArgsConstructor; | ||
13 | + | ||
16 | @JsonInclude(content = Include.NON_NULL) | 14 | @JsonInclude(content = Include.NON_NULL) |
17 | @JsonIgnoreProperties(ignoreUnknown = true) | 15 | @JsonIgnoreProperties(ignoreUnknown = true) |
16 | +@NoArgsConstructor | ||
17 | +@AllArgsConstructor | ||
18 | +@Data | ||
19 | +@Builder | ||
18 | public class RetornoInclusaoDocumento implements Serializable { | 20 | public class RetornoInclusaoDocumento implements Serializable { |
19 | 21 | ||
20 | private static final long serialVersionUID = 1L; | 22 | private static final long serialVersionUID = 1L; |
21 | 23 | ||
22 | private String idDocumento; | 24 | private String idDocumento; |
23 | - | ||
24 | private String documentoFormatado; | 25 | private String documentoFormatado; |
25 | - | ||
26 | private String linkAcesso; | 26 | private String linkAcesso; |
27 | 27 | ||
28 | - public RetornoInclusaoDocumento() { | ||
29 | - } | ||
30 | - | ||
31 | - public RetornoInclusaoDocumento(String idDocumento, String documentoFormatado, String linkAcesso) { | ||
32 | - this.idDocumento = idDocumento; | ||
33 | - this.documentoFormatado = documentoFormatado; | ||
34 | - this.linkAcesso = linkAcesso; | ||
35 | - } | ||
36 | - | ||
37 | - public String getIdDocumento() { | ||
38 | - return idDocumento; | ||
39 | - } | ||
40 | - | ||
41 | - public void setIdDocumento(String idDocumento) { | ||
42 | - this.idDocumento = idDocumento; | ||
43 | - } | ||
44 | - | ||
45 | - public String getDocumentoFormatado() { | ||
46 | - return documentoFormatado; | ||
47 | - } | ||
48 | - | ||
49 | - public void setDocumentoFormatado(String documentoFormatado) { | ||
50 | - this.documentoFormatado = documentoFormatado; | ||
51 | - } | ||
52 | - | ||
53 | - public String getLinkAcesso() { | ||
54 | - return linkAcesso; | ||
55 | - } | ||
56 | - | ||
57 | - public void setLinkAcesso(String linkAcesso) { | ||
58 | - this.linkAcesso = linkAcesso; | ||
59 | - } | ||
60 | - | ||
61 | - private Object __equalsCalc = null; | ||
62 | - | ||
63 | - public boolean equals(Object obj) { | ||
64 | - if (!(obj instanceof RetornoInclusaoDocumento)) | ||
65 | - return false; | ||
66 | - RetornoInclusaoDocumento other = (RetornoInclusaoDocumento) obj; | ||
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.idDocumento == null && other.getIdDocumento() == null) | ||
76 | - || (this.idDocumento != null && this.idDocumento.equals(other.getIdDocumento()))) | ||
77 | - && ((this.documentoFormatado == null && other.getDocumentoFormatado() == null) | ||
78 | - || (this.documentoFormatado != null | ||
79 | - && this.documentoFormatado.equals(other.getDocumentoFormatado()))) | ||
80 | - && ((this.linkAcesso == null && other.getLinkAcesso() == null) | ||
81 | - || (this.linkAcesso != null && this.linkAcesso.equals(other.getLinkAcesso()))); | ||
82 | - __equalsCalc = null; | ||
83 | - return _equals; | ||
84 | - } | ||
85 | - | ||
86 | - private boolean __hashCodeCalc = false; | ||
87 | - | ||
88 | - public int hashCode() { | ||
89 | - if (__hashCodeCalc) { | ||
90 | - return 0; | ||
91 | - } | ||
92 | - __hashCodeCalc = true; | ||
93 | - int _hashCode = 1; | ||
94 | - if (getIdDocumento() != null) { | ||
95 | - _hashCode += getIdDocumento().hashCode(); | ||
96 | - } | ||
97 | - if (getDocumentoFormatado() != null) { | ||
98 | - _hashCode += getDocumentoFormatado().hashCode(); | ||
99 | - } | ||
100 | - if (getLinkAcesso() != null) { | ||
101 | - _hashCode += getLinkAcesso().hashCode(); | ||
102 | - } | ||
103 | - __hashCodeCalc = false; | ||
104 | - return _hashCode; | ||
105 | - } | ||
106 | } | 28 | } |
src/main/java/br/gov/ans/integracao/sei/client/Serie.java
1 | -/** | ||
2 | - * Serie.java | ||
3 | - * | ||
4 | - * This file was auto-generated from WSDL | ||
5 | - * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter. | ||
6 | - */ | ||
7 | - | ||
8 | package br.gov.ans.integracao.sei.client; | 1 | package br.gov.ans.integracao.sei.client; |
9 | 2 | ||
10 | import java.io.Serializable; | 3 | import java.io.Serializable; |
@@ -13,93 +6,23 @@ import com.fasterxml.jackson.annotation.JsonIgnoreProperties; | @@ -13,93 +6,23 @@ import com.fasterxml.jackson.annotation.JsonIgnoreProperties; | ||
13 | import com.fasterxml.jackson.annotation.JsonInclude; | 6 | import com.fasterxml.jackson.annotation.JsonInclude; |
14 | import com.fasterxml.jackson.annotation.JsonInclude.Include; | 7 | import com.fasterxml.jackson.annotation.JsonInclude.Include; |
15 | 8 | ||
9 | +import lombok.AllArgsConstructor; | ||
10 | +import lombok.Builder; | ||
11 | +import lombok.Data; | ||
12 | +import lombok.NoArgsConstructor; | ||
13 | + | ||
16 | @JsonInclude(content = Include.NON_NULL) | 14 | @JsonInclude(content = Include.NON_NULL) |
17 | @JsonIgnoreProperties(ignoreUnknown = true) | 15 | @JsonIgnoreProperties(ignoreUnknown = true) |
16 | +@NoArgsConstructor | ||
17 | +@AllArgsConstructor | ||
18 | +@Data | ||
19 | +@Builder | ||
18 | public class Serie implements Serializable { | 20 | public class Serie implements Serializable { |
19 | 21 | ||
20 | private static final long serialVersionUID = 1L; | 22 | private static final long serialVersionUID = 1L; |
21 | 23 | ||
22 | private String idSerie; | 24 | private String idSerie; |
23 | - | ||
24 | private String nome; | 25 | private String nome; |
25 | - | ||
26 | private String aplicabilidade; | 26 | private String aplicabilidade; |
27 | 27 | ||
28 | - public Serie() { | ||
29 | - } | ||
30 | - | ||
31 | - public Serie(String idSerie, String nome, String aplicabilidade) { | ||
32 | - this.idSerie = idSerie; | ||
33 | - this.nome = nome; | ||
34 | - this.aplicabilidade = aplicabilidade; | ||
35 | - } | ||
36 | - | ||
37 | - public String getIdSerie() { | ||
38 | - return idSerie; | ||
39 | - } | ||
40 | - | ||
41 | - public void setIdSerie(String idSerie) { | ||
42 | - this.idSerie = idSerie; | ||
43 | - } | ||
44 | - | ||
45 | - public String getNome() { | ||
46 | - return nome; | ||
47 | - } | ||
48 | - | ||
49 | - public void setNome(String nome) { | ||
50 | - this.nome = nome; | ||
51 | - } | ||
52 | - | ||
53 | - public String getAplicabilidade() { | ||
54 | - return aplicabilidade; | ||
55 | - } | ||
56 | - | ||
57 | - public void setAplicabilidade(String aplicabilidade) { | ||
58 | - this.aplicabilidade = aplicabilidade; | ||
59 | - } | ||
60 | - | ||
61 | - private Object __equalsCalc = null; | ||
62 | - | ||
63 | - public boolean equals(Object obj) { | ||
64 | - if (!(obj instanceof Serie)) | ||
65 | - return false; | ||
66 | - Serie other = (Serie) obj; | ||
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.idSerie == null && other.getIdSerie() == null) | ||
76 | - || (this.idSerie != null && this.idSerie.equals(other.getIdSerie()))) | ||
77 | - && ((this.nome == null && other.getNome() == null) | ||
78 | - || (this.nome != null && this.nome.equals(other.getNome()))) | ||
79 | - && ((this.aplicabilidade == null && other.getAplicabilidade() == null) | ||
80 | - || (this.aplicabilidade != null && this.aplicabilidade.equals(other.getAplicabilidade()))); | ||
81 | - __equalsCalc = null; | ||
82 | - return _equals; | ||
83 | - } | ||
84 | - | ||
85 | - private boolean __hashCodeCalc = false; | ||
86 | - | ||
87 | - public int hashCode() { | ||
88 | - if (__hashCodeCalc) { | ||
89 | - return 0; | ||
90 | - } | ||
91 | - __hashCodeCalc = true; | ||
92 | - int _hashCode = 1; | ||
93 | - if (getIdSerie() != null) { | ||
94 | - _hashCode += getIdSerie().hashCode(); | ||
95 | - } | ||
96 | - if (getNome() != null) { | ||
97 | - _hashCode += getNome().hashCode(); | ||
98 | - } | ||
99 | - if (getAplicabilidade() != null) { | ||
100 | - _hashCode += getAplicabilidade().hashCode(); | ||
101 | - } | ||
102 | - __hashCodeCalc = false; | ||
103 | - return _hashCode; | ||
104 | - } | ||
105 | } | 28 | } |
src/main/java/br/gov/ans/integracao/sei/client/TipoConferencia.java
1 | -/** | ||
2 | - * TipoConferencia.java | ||
3 | - * | ||
4 | - * This file was auto-generated from WSDL | ||
5 | - * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter. | ||
6 | - */ | ||
7 | - | ||
8 | package br.gov.ans.integracao.sei.client; | 1 | package br.gov.ans.integracao.sei.client; |
9 | 2 | ||
10 | import java.io.Serializable; | 3 | import java.io.Serializable; |
@@ -13,76 +6,22 @@ import com.fasterxml.jackson.annotation.JsonIgnoreProperties; | @@ -13,76 +6,22 @@ import com.fasterxml.jackson.annotation.JsonIgnoreProperties; | ||
13 | import com.fasterxml.jackson.annotation.JsonInclude; | 6 | import com.fasterxml.jackson.annotation.JsonInclude; |
14 | import com.fasterxml.jackson.annotation.JsonInclude.Include; | 7 | import com.fasterxml.jackson.annotation.JsonInclude.Include; |
15 | 8 | ||
9 | +import lombok.AllArgsConstructor; | ||
10 | +import lombok.Builder; | ||
11 | +import lombok.Data; | ||
12 | +import lombok.NoArgsConstructor; | ||
13 | + | ||
16 | @JsonInclude(content = Include.NON_NULL) | 14 | @JsonInclude(content = Include.NON_NULL) |
17 | @JsonIgnoreProperties(ignoreUnknown = true) | 15 | @JsonIgnoreProperties(ignoreUnknown = true) |
16 | +@NoArgsConstructor | ||
17 | +@AllArgsConstructor | ||
18 | +@Data | ||
19 | +@Builder | ||
18 | public class TipoConferencia implements Serializable { | 20 | public class TipoConferencia implements Serializable { |
19 | 21 | ||
20 | private static final long serialVersionUID = 1L; | 22 | private static final long serialVersionUID = 1L; |
21 | 23 | ||
22 | private String idTipoConferencia; | 24 | private String idTipoConferencia; |
23 | - | ||
24 | private String descricao; | 25 | private String descricao; |
25 | - | ||
26 | - public TipoConferencia() { | ||
27 | - } | ||
28 | - | ||
29 | - public TipoConferencia(String idTipoConferencia, String descricao) { | ||
30 | - this.idTipoConferencia = idTipoConferencia; | ||
31 | - this.descricao = descricao; | ||
32 | - } | ||
33 | - | ||
34 | - public String getIdTipoConferencia() { | ||
35 | - return idTipoConferencia; | ||
36 | - } | ||
37 | - | ||
38 | - public void setIdTipoConferencia(String idTipoConferencia) { | ||
39 | - this.idTipoConferencia = idTipoConferencia; | ||
40 | - } | ||
41 | - | ||
42 | - public String getDescricao() { | ||
43 | - return descricao; | ||
44 | - } | ||
45 | - | ||
46 | - public void setDescricao(String descricao) { | ||
47 | - this.descricao = descricao; | ||
48 | - } | ||
49 | - | ||
50 | - private Object __equalsCalc = null; | ||
51 | - | ||
52 | - public boolean equals(Object obj) { | ||
53 | - if (!(obj instanceof TipoConferencia)) | ||
54 | - return false; | ||
55 | - TipoConferencia other = (TipoConferencia) obj; | ||
56 | - if (this == obj) | ||
57 | - return true; | ||
58 | - if (__equalsCalc != null) { | ||
59 | - return (__equalsCalc == obj); | ||
60 | - } | ||
61 | - __equalsCalc = obj; | ||
62 | - boolean _equals; | ||
63 | - _equals = true && ((this.idTipoConferencia == null && other.getIdTipoConferencia() == null) | ||
64 | - || (this.idTipoConferencia != null && this.idTipoConferencia.equals(other.getIdTipoConferencia()))) | ||
65 | - && ((this.descricao == null && other.getDescricao() == null) | ||
66 | - || (this.descricao != null && this.descricao.equals(other.getDescricao()))); | ||
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 (getIdTipoConferencia() != null) { | ||
80 | - _hashCode += getIdTipoConferencia().hashCode(); | ||
81 | - } | ||
82 | - if (getDescricao() != null) { | ||
83 | - _hashCode += getDescricao().hashCode(); | ||
84 | - } | ||
85 | - __hashCodeCalc = false; | ||
86 | - return _hashCode; | ||
87 | - } | 26 | + |
88 | } | 27 | } |
src/main/java/br/gov/ans/integracao/sei/client/TipoProcedimento.java
1 | -/** | ||
2 | - * TipoProcedimento.java | ||
3 | - * | ||
4 | - * This file was auto-generated from WSDL | ||
5 | - * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter. | ||
6 | - */ | ||
7 | - | ||
8 | package br.gov.ans.integracao.sei.client; | 1 | package br.gov.ans.integracao.sei.client; |
9 | 2 | ||
10 | import java.io.Serializable; | 3 | import java.io.Serializable; |
@@ -13,76 +6,21 @@ import com.fasterxml.jackson.annotation.JsonIgnoreProperties; | @@ -13,76 +6,21 @@ import com.fasterxml.jackson.annotation.JsonIgnoreProperties; | ||
13 | import com.fasterxml.jackson.annotation.JsonInclude; | 6 | import com.fasterxml.jackson.annotation.JsonInclude; |
14 | import com.fasterxml.jackson.annotation.JsonInclude.Include; | 7 | import com.fasterxml.jackson.annotation.JsonInclude.Include; |
15 | 8 | ||
9 | +import lombok.AllArgsConstructor; | ||
10 | +import lombok.Builder; | ||
11 | +import lombok.Data; | ||
12 | +import lombok.NoArgsConstructor; | ||
13 | + | ||
16 | @JsonInclude(content = Include.NON_NULL) | 14 | @JsonInclude(content = Include.NON_NULL) |
17 | @JsonIgnoreProperties(ignoreUnknown = true) | 15 | @JsonIgnoreProperties(ignoreUnknown = true) |
16 | +@NoArgsConstructor | ||
17 | +@AllArgsConstructor | ||
18 | +@Data | ||
19 | +@Builder | ||
18 | public class TipoProcedimento implements Serializable { | 20 | public class TipoProcedimento implements Serializable { |
19 | 21 | ||
20 | private static final long serialVersionUID = 1L; | 22 | private static final long serialVersionUID = 1L; |
21 | 23 | ||
22 | private String idTipoProcedimento; | 24 | private String idTipoProcedimento; |
23 | - | ||
24 | private String nome; | 25 | private String nome; |
25 | - | ||
26 | - public TipoProcedimento() { | ||
27 | - } | ||
28 | - | ||
29 | - public TipoProcedimento(String idTipoProcedimento, String nome) { | ||
30 | - this.idTipoProcedimento = idTipoProcedimento; | ||
31 | - this.nome = nome; | ||
32 | - } | ||
33 | - | ||
34 | - public String getIdTipoProcedimento() { | ||
35 | - return idTipoProcedimento; | ||
36 | - } | ||
37 | - | ||
38 | - public void setIdTipoProcedimento(String idTipoProcedimento) { | ||
39 | - this.idTipoProcedimento = idTipoProcedimento; | ||
40 | - } | ||
41 | - | ||
42 | - public String getNome() { | ||
43 | - return nome; | ||
44 | - } | ||
45 | - | ||
46 | - public void setNome(String nome) { | ||
47 | - this.nome = nome; | ||
48 | - } | ||
49 | - | ||
50 | - private Object __equalsCalc = null; | ||
51 | - | ||
52 | - public boolean equals(Object obj) { | ||
53 | - if (!(obj instanceof TipoProcedimento)) | ||
54 | - return false; | ||
55 | - TipoProcedimento other = (TipoProcedimento) obj; | ||
56 | - if (this == obj) | ||
57 | - return true; | ||
58 | - if (__equalsCalc != null) { | ||
59 | - return (__equalsCalc == obj); | ||
60 | - } | ||
61 | - __equalsCalc = obj; | ||
62 | - boolean _equals; | ||
63 | - _equals = true && ((this.idTipoProcedimento == null && other.getIdTipoProcedimento() == null) | ||
64 | - || (this.idTipoProcedimento != null && this.idTipoProcedimento.equals(other.getIdTipoProcedimento()))) | ||
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 (getIdTipoProcedimento() != null) { | ||
80 | - _hashCode += getIdTipoProcedimento().hashCode(); | ||
81 | - } | ||
82 | - if (getNome() != null) { | ||
83 | - _hashCode += getNome().hashCode(); | ||
84 | - } | ||
85 | - __hashCodeCalc = false; | ||
86 | - return _hashCode; | ||
87 | - } | ||
88 | } | 26 | } |
src/main/java/br/gov/ans/integracao/sei/client/Unidade.java
1 | -/** | ||
2 | - * Unidade.java | ||
3 | - * | ||
4 | - * This file was auto-generated from WSDL | ||
5 | - * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter. | ||
6 | - */ | ||
7 | - | ||
8 | package br.gov.ans.integracao.sei.client; | 1 | package br.gov.ans.integracao.sei.client; |
9 | 2 | ||
10 | import java.io.Serializable; | 3 | import java.io.Serializable; |
@@ -13,141 +6,26 @@ import com.fasterxml.jackson.annotation.JsonIgnoreProperties; | @@ -13,141 +6,26 @@ import com.fasterxml.jackson.annotation.JsonIgnoreProperties; | ||
13 | import com.fasterxml.jackson.annotation.JsonInclude; | 6 | import com.fasterxml.jackson.annotation.JsonInclude; |
14 | import com.fasterxml.jackson.annotation.JsonInclude.Include; | 7 | import com.fasterxml.jackson.annotation.JsonInclude.Include; |
15 | 8 | ||
9 | +import lombok.AllArgsConstructor; | ||
10 | +import lombok.Builder; | ||
11 | +import lombok.Data; | ||
12 | +import lombok.NoArgsConstructor; | ||
13 | + | ||
16 | @JsonInclude(content = Include.NON_NULL) | 14 | @JsonInclude(content = Include.NON_NULL) |
17 | @JsonIgnoreProperties(ignoreUnknown = true) | 15 | @JsonIgnoreProperties(ignoreUnknown = true) |
16 | +@NoArgsConstructor | ||
17 | +@AllArgsConstructor | ||
18 | +@Data | ||
19 | +@Builder | ||
18 | public class Unidade implements Serializable { | 20 | public class Unidade implements Serializable { |
19 | 21 | ||
20 | private static final long serialVersionUID = 1L; | 22 | private static final long serialVersionUID = 1L; |
21 | 23 | ||
22 | private String idUnidade; | 24 | private String idUnidade; |
23 | - | ||
24 | private String sigla; | 25 | private String sigla; |
25 | - | ||
26 | private String descricao; | 26 | private String descricao; |
27 | - | ||
28 | private String sinProtocolo; | 27 | private String sinProtocolo; |
29 | - | ||
30 | private String sinArquivamento; | 28 | private String sinArquivamento; |
31 | - | ||
32 | private String sinOuvidoria; | 29 | private String sinOuvidoria; |
33 | - | ||
34 | - public Unidade() { | ||
35 | - } | ||
36 | - | ||
37 | - public Unidade(String idUnidade, String sigla, String descricao, String sinProtocolo, String sinArquivamento, String sinOuvidoria) { | ||
38 | - this.idUnidade = idUnidade; | ||
39 | - this.sigla = sigla; | ||
40 | - this.descricao = descricao; | ||
41 | - this.sinProtocolo = sinProtocolo; | ||
42 | - this.sinArquivamento = sinArquivamento; | ||
43 | - this.sinOuvidoria = sinOuvidoria; | ||
44 | - } | ||
45 | - | ||
46 | - public String getIdUnidade() { | ||
47 | - return idUnidade; | ||
48 | - } | ||
49 | - | ||
50 | - public void setIdUnidade(String idUnidade) { | ||
51 | - this.idUnidade = idUnidade; | ||
52 | - } | ||
53 | - | ||
54 | - public String getSigla() { | ||
55 | - return sigla; | ||
56 | - } | ||
57 | - | ||
58 | - public void setSigla(String sigla) { | ||
59 | - this.sigla = sigla; | ||
60 | - } | ||
61 | - | ||
62 | - public String getDescricao() { | ||
63 | - return descricao; | ||
64 | - } | ||
65 | - | ||
66 | - public void setDescricao(String descricao) { | ||
67 | - this.descricao = descricao; | ||
68 | - } | ||
69 | - | ||
70 | - public String getSinProtocolo() { | ||
71 | - return sinProtocolo; | ||
72 | - } | ||
73 | - | ||
74 | - public void setSinProtocolo(String sinProtocolo) { | ||
75 | - this.sinProtocolo = sinProtocolo; | ||
76 | - } | ||
77 | - | ||
78 | - public String getSinArquivamento() { | ||
79 | - return sinArquivamento; | ||
80 | - } | ||
81 | - | ||
82 | - public void setSinArquivamento(String sinArquivamento) { | ||
83 | - this.sinArquivamento = sinArquivamento; | ||
84 | - } | ||
85 | - | ||
86 | - public String getSinOuvidoria() { | ||
87 | - return sinOuvidoria; | ||
88 | - } | ||
89 | - | ||
90 | - public void setSinOuvidoria(String sinOuvidoria) { | ||
91 | - this.sinOuvidoria = sinOuvidoria; | ||
92 | - } | ||
93 | - | ||
94 | - private transient Object __equalsCalc = null; | ||
95 | - | ||
96 | - public boolean equals(Object obj) { | ||
97 | - if (!(obj instanceof Unidade)) | ||
98 | - return false; | ||
99 | - Unidade other = (Unidade) obj; | ||
100 | - if (this == obj) | ||
101 | - return true; | ||
102 | - if (__equalsCalc != null) { | ||
103 | - return (__equalsCalc == obj); | ||
104 | - } | ||
105 | - __equalsCalc = obj; | ||
106 | - boolean _equals; | ||
107 | - _equals = true | ||
108 | - && ((this.idUnidade == null && other.getIdUnidade() == null) | ||
109 | - || (this.idUnidade != null && this.idUnidade.equals(other.getIdUnidade()))) | ||
110 | - && ((this.sigla == null && other.getSigla() == null) | ||
111 | - || (this.sigla != null && this.sigla.equals(other.getSigla()))) | ||
112 | - && ((this.descricao == null && other.getDescricao() == null) | ||
113 | - || (this.descricao != null && this.descricao.equals(other.getDescricao()))) | ||
114 | - && ((this.sinProtocolo == null && other.getSinProtocolo() == null) | ||
115 | - || (this.sinProtocolo != null && this.sinProtocolo.equals(other.getSinProtocolo()))) | ||
116 | - && ((this.sinArquivamento == null && other.getSinArquivamento() == null) | ||
117 | - || (this.sinArquivamento != null && this.sinArquivamento.equals(other.getSinArquivamento()))) | ||
118 | - && ((this.sinOuvidoria == null && other.getSinOuvidoria() == null) | ||
119 | - || (this.sinOuvidoria != null && this.sinOuvidoria.equals(other.getSinOuvidoria()))); | ||
120 | - __equalsCalc = null; | ||
121 | - return _equals; | ||
122 | - } | ||
123 | - | ||
124 | - private transient boolean __hashCodeCalc = false; | ||
125 | - | ||
126 | - public int hashCode() { | ||
127 | - if (__hashCodeCalc) { | ||
128 | - return 0; | ||
129 | - } | ||
130 | - __hashCodeCalc = true; | ||
131 | - int _hashCode = 1; | ||
132 | - if (getIdUnidade() != null) { | ||
133 | - _hashCode += getIdUnidade().hashCode(); | ||
134 | - } | ||
135 | - if (getSigla() != null) { | ||
136 | - _hashCode += getSigla().hashCode(); | ||
137 | - } | ||
138 | - if (getDescricao() != null) { | ||
139 | - _hashCode += getDescricao().hashCode(); | ||
140 | - } | ||
141 | - if (getSinProtocolo() != null) { | ||
142 | - _hashCode += getSinProtocolo().hashCode(); | ||
143 | - } | ||
144 | - if (getSinArquivamento() != null) { | ||
145 | - _hashCode += getSinArquivamento().hashCode(); | ||
146 | - } | ||
147 | - if (getSinOuvidoria() != null) { | ||
148 | - _hashCode += getSinOuvidoria().hashCode(); | ||
149 | - } | ||
150 | - __hashCodeCalc = false; | ||
151 | - return _hashCode; | ||
152 | - } | 30 | + |
153 | } | 31 | } |
src/main/java/br/gov/ans/integracao/sei/client/UnidadeProcedimentoAberto.java
1 | -/** | ||
2 | - * UnidadeProcedimentoAberto.java | ||
3 | - * | ||
4 | - * This file was auto-generated from WSDL | ||
5 | - * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter. | ||
6 | - */ | ||
7 | - | ||
8 | package br.gov.ans.integracao.sei.client; | 1 | package br.gov.ans.integracao.sei.client; |
9 | 2 | ||
10 | import java.io.Serializable; | 3 | import java.io.Serializable; |
@@ -13,78 +6,21 @@ import com.fasterxml.jackson.annotation.JsonIgnoreProperties; | @@ -13,78 +6,21 @@ import com.fasterxml.jackson.annotation.JsonIgnoreProperties; | ||
13 | import com.fasterxml.jackson.annotation.JsonInclude; | 6 | import com.fasterxml.jackson.annotation.JsonInclude; |
14 | import com.fasterxml.jackson.annotation.JsonInclude.Include; | 7 | import com.fasterxml.jackson.annotation.JsonInclude.Include; |
15 | 8 | ||
9 | +import lombok.AllArgsConstructor; | ||
10 | +import lombok.Builder; | ||
11 | +import lombok.Data; | ||
12 | +import lombok.NoArgsConstructor; | ||
13 | + | ||
16 | @JsonInclude(content = Include.NON_NULL) | 14 | @JsonInclude(content = Include.NON_NULL) |
17 | @JsonIgnoreProperties(ignoreUnknown = true) | 15 | @JsonIgnoreProperties(ignoreUnknown = true) |
16 | +@NoArgsConstructor | ||
17 | +@AllArgsConstructor | ||
18 | +@Data | ||
19 | +@Builder | ||
18 | public class UnidadeProcedimentoAberto implements Serializable { | 20 | public class UnidadeProcedimentoAberto implements Serializable { |
19 | 21 | ||
20 | private static final long serialVersionUID = 1L; | 22 | private static final long serialVersionUID = 1L; |
21 | 23 | ||
22 | private Unidade unidade; | 24 | private Unidade unidade; |
23 | - | ||
24 | private Usuario usuarioAtribuicao; | 25 | private Usuario usuarioAtribuicao; |
25 | - | ||
26 | - public UnidadeProcedimentoAberto() { | ||
27 | - } | ||
28 | - | ||
29 | - public UnidadeProcedimentoAberto(Unidade unidade, Usuario usuarioAtribuicao) { | ||
30 | - this.unidade = unidade; | ||
31 | - this.usuarioAtribuicao = usuarioAtribuicao; | ||
32 | - } | ||
33 | - | ||
34 | - public Unidade getUnidade() { | ||
35 | - return unidade; | ||
36 | - } | ||
37 | - | ||
38 | - public void setUnidade(Unidade unidade) { | ||
39 | - this.unidade = unidade; | ||
40 | - } | ||
41 | - | ||
42 | - public Usuario getUsuarioAtribuicao() { | ||
43 | - return usuarioAtribuicao; | ||
44 | - } | ||
45 | - | ||
46 | - public void setUsuarioAtribuicao(Usuario usuarioAtribuicao) { | ||
47 | - this.usuarioAtribuicao = usuarioAtribuicao; | ||
48 | - } | ||
49 | - | ||
50 | - private Object __equalsCalc = null; | ||
51 | - | ||
52 | - public boolean equals(Object obj) { | ||
53 | - if (!(obj instanceof UnidadeProcedimentoAberto)) | ||
54 | - return false; | ||
55 | - UnidadeProcedimentoAberto other = (UnidadeProcedimentoAberto) obj; | ||
56 | - if (this == obj) | ||
57 | - return true; | ||
58 | - if (__equalsCalc != null) { | ||
59 | - return (__equalsCalc == obj); | ||
60 | - } | ||
61 | - __equalsCalc = obj; | ||
62 | - boolean _equals; | ||
63 | - _equals = true | ||
64 | - && ((this.unidade == null && other.getUnidade() == null) | ||
65 | - || (this.unidade != null && this.unidade.equals(other.getUnidade()))) | ||
66 | - && ((this.usuarioAtribuicao == null && other.getUsuarioAtribuicao() == null) | ||
67 | - || (this.usuarioAtribuicao != null | ||
68 | - && this.usuarioAtribuicao.equals(other.getUsuarioAtribuicao()))); | ||
69 | - __equalsCalc = null; | ||
70 | - return _equals; | ||
71 | - } | ||
72 | - | ||
73 | - private boolean __hashCodeCalc = false; | ||
74 | - | ||
75 | - public int hashCode() { | ||
76 | - if (__hashCodeCalc) { | ||
77 | - return 0; | ||
78 | - } | ||
79 | - __hashCodeCalc = true; | ||
80 | - int _hashCode = 1; | ||
81 | - if (getUnidade() != null) { | ||
82 | - _hashCode += getUnidade().hashCode(); | ||
83 | - } | ||
84 | - if (getUsuarioAtribuicao() != null) { | ||
85 | - _hashCode += getUsuarioAtribuicao().hashCode(); | ||
86 | - } | ||
87 | - __hashCodeCalc = false; | ||
88 | - return _hashCode; | ||
89 | - } | ||
90 | } | 26 | } |
src/main/java/br/gov/ans/integracao/sei/client/Usuario.java
1 | -/** | ||
2 | - * Usuario.java | ||
3 | - * | ||
4 | - * This file was auto-generated from WSDL | ||
5 | - * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter. | ||
6 | - */ | ||
7 | - | ||
8 | package br.gov.ans.integracao.sei.client; | 1 | package br.gov.ans.integracao.sei.client; |
9 | 2 | ||
10 | import java.io.Serializable; | 3 | import java.io.Serializable; |
@@ -13,83 +6,23 @@ import com.fasterxml.jackson.annotation.JsonIgnoreProperties; | @@ -13,83 +6,23 @@ import com.fasterxml.jackson.annotation.JsonIgnoreProperties; | ||
13 | import com.fasterxml.jackson.annotation.JsonInclude; | 6 | import com.fasterxml.jackson.annotation.JsonInclude; |
14 | import com.fasterxml.jackson.annotation.JsonInclude.Include; | 7 | import com.fasterxml.jackson.annotation.JsonInclude.Include; |
15 | 8 | ||
9 | +import lombok.AllArgsConstructor; | ||
10 | +import lombok.Builder; | ||
11 | +import lombok.Data; | ||
12 | +import lombok.NoArgsConstructor; | ||
13 | + | ||
16 | @JsonInclude(content = Include.NON_NULL) | 14 | @JsonInclude(content = Include.NON_NULL) |
17 | @JsonIgnoreProperties(ignoreUnknown = true) | 15 | @JsonIgnoreProperties(ignoreUnknown = true) |
16 | +@NoArgsConstructor | ||
17 | +@AllArgsConstructor | ||
18 | +@Data | ||
19 | +@Builder | ||
18 | public class Usuario implements Serializable { | 20 | public class Usuario implements Serializable { |
19 | 21 | ||
20 | private static final long serialVersionUID = 1L; | 22 | private static final long serialVersionUID = 1L; |
21 | 23 | ||
22 | private String idUsuario; | 24 | private String idUsuario; |
23 | - | ||
24 | private String sigla; | 25 | private String sigla; |
25 | - | ||
26 | private String nome; | 26 | private String nome; |
27 | - | ||
28 | - public Usuario() { | ||
29 | - } | ||
30 | - | ||
31 | - public Usuario(String idUsuario, String sigla, String nome) { | ||
32 | - this.idUsuario = idUsuario; | ||
33 | - this.sigla = sigla; | ||
34 | - this.nome = nome; | ||
35 | - } | ||
36 | - | ||
37 | - public String getIdUsuario() { | ||
38 | - return idUsuario; | ||
39 | - } | ||
40 | - | ||
41 | - public void setIdUsuario(String idUsuario) { | ||
42 | - this.idUsuario = idUsuario; | ||
43 | - } | ||
44 | - | ||
45 | - public String getSigla() { | ||
46 | - return sigla; | ||
47 | - } | ||
48 | - | ||
49 | - public void setSigla(String sigla) { | ||
50 | - this.sigla = sigla; | ||
51 | - } | ||
52 | - | ||
53 | - public String getNome() { | ||
54 | - return nome; | ||
55 | - } | ||
56 | - | ||
57 | - public void setNome(String nome) { | ||
58 | - this.nome = nome; | ||
59 | - } | ||
60 | - | ||
61 | - public boolean equals(Object obj) { | ||
62 | - if (!(obj instanceof Usuario)) { | ||
63 | - return false; | ||
64 | - } | ||
65 | - | ||
66 | - Usuario other = (Usuario) obj; | ||
67 | - | ||
68 | - if (this.getSigla().equals(other.getSigla())) { | ||
69 | - return true; | ||
70 | - } | ||
71 | - | ||
72 | - return false; | ||
73 | - } | ||
74 | - | ||
75 | - private boolean __hashCodeCalc = false; | ||
76 | - | ||
77 | - public int hashCode() { | ||
78 | - if (__hashCodeCalc) { | ||
79 | - return 0; | ||
80 | - } | ||
81 | - __hashCodeCalc = true; | ||
82 | - int _hashCode = 1; | ||
83 | - if (getIdUsuario() != null) { | ||
84 | - _hashCode += getIdUsuario().hashCode(); | ||
85 | - } | ||
86 | - if (getSigla() != null) { | ||
87 | - _hashCode += getSigla().hashCode(); | ||
88 | - } | ||
89 | - if (getNome() != null) { | ||
90 | - _hashCode += getNome().hashCode(); | ||
91 | - } | ||
92 | - __hashCodeCalc = false; | ||
93 | - return _hashCode; | ||
94 | - } | 27 | + |
95 | } | 28 | } |
src/main/java/br/gov/ans/integracao/sei/modelo/Arquivo.java
@@ -4,8 +4,17 @@ import com.fasterxml.jackson.annotation.JsonIgnoreProperties; | @@ -4,8 +4,17 @@ import com.fasterxml.jackson.annotation.JsonIgnoreProperties; | ||
4 | import com.fasterxml.jackson.annotation.JsonInclude; | 4 | import com.fasterxml.jackson.annotation.JsonInclude; |
5 | import com.fasterxml.jackson.annotation.JsonInclude.Include; | 5 | import com.fasterxml.jackson.annotation.JsonInclude.Include; |
6 | 6 | ||
7 | +import lombok.AllArgsConstructor; | ||
8 | +import lombok.Builder; | ||
9 | +import lombok.Data; | ||
10 | +import lombok.NoArgsConstructor; | ||
11 | + | ||
7 | @JsonInclude(content = Include.NON_NULL) | 12 | @JsonInclude(content = Include.NON_NULL) |
8 | @JsonIgnoreProperties(ignoreUnknown = true) | 13 | @JsonIgnoreProperties(ignoreUnknown = true) |
14 | +@NoArgsConstructor | ||
15 | +@AllArgsConstructor | ||
16 | +@Data | ||
17 | +@Builder | ||
9 | public class Arquivo { | 18 | public class Arquivo { |
10 | 19 | ||
11 | private String nome; | 20 | private String nome; |
@@ -13,36 +22,4 @@ public class Arquivo { | @@ -13,36 +22,4 @@ public class Arquivo { | ||
13 | private String hash; | 22 | private String hash; |
14 | private String conteudo; | 23 | private String conteudo; |
15 | 24 | ||
16 | - public String getNome() { | ||
17 | - return nome; | ||
18 | - } | ||
19 | - | ||
20 | - public void setNome(String nome) { | ||
21 | - this.nome = nome; | ||
22 | - } | ||
23 | - | ||
24 | - public String getTamanho() { | ||
25 | - return tamanho; | ||
26 | - } | ||
27 | - | ||
28 | - public void setTamanho(String tamanho) { | ||
29 | - this.tamanho = tamanho; | ||
30 | - } | ||
31 | - | ||
32 | - public String getHash() { | ||
33 | - return hash; | ||
34 | - } | ||
35 | - | ||
36 | - public void setHash(String hash) { | ||
37 | - this.hash = hash; | ||
38 | - } | ||
39 | - | ||
40 | - public String getConteudo() { | ||
41 | - return conteudo; | ||
42 | - } | ||
43 | - | ||
44 | - public void setConteudo(String conteudo) { | ||
45 | - this.conteudo = conteudo; | ||
46 | - } | ||
47 | - | ||
48 | } | 25 | } |
src/main/java/br/gov/ans/integracao/sei/modelo/ArquivoCriado.java
@@ -4,21 +4,19 @@ import com.fasterxml.jackson.annotation.JsonIgnoreProperties; | @@ -4,21 +4,19 @@ import com.fasterxml.jackson.annotation.JsonIgnoreProperties; | ||
4 | import com.fasterxml.jackson.annotation.JsonInclude; | 4 | import com.fasterxml.jackson.annotation.JsonInclude; |
5 | import com.fasterxml.jackson.annotation.JsonInclude.Include; | 5 | import com.fasterxml.jackson.annotation.JsonInclude.Include; |
6 | 6 | ||
7 | +import lombok.AllArgsConstructor; | ||
8 | +import lombok.Builder; | ||
9 | +import lombok.Data; | ||
10 | +import lombok.NoArgsConstructor; | ||
11 | + | ||
7 | @JsonInclude(content = Include.NON_NULL) | 12 | @JsonInclude(content = Include.NON_NULL) |
8 | @JsonIgnoreProperties(ignoreUnknown = true) | 13 | @JsonIgnoreProperties(ignoreUnknown = true) |
14 | +@NoArgsConstructor | ||
15 | +@AllArgsConstructor | ||
16 | +@Data | ||
17 | +@Builder | ||
9 | public class ArquivoCriado { | 18 | public class ArquivoCriado { |
10 | 19 | ||
11 | private String identificador; | 20 | private String identificador; |
12 | - | ||
13 | - public ArquivoCriado(){ | ||
14 | - | ||
15 | - } | ||
16 | - | ||
17 | - public ArquivoCriado(String identificador){ | ||
18 | - this.identificador = identificador; | ||
19 | - } | ||
20 | 21 | ||
21 | - public String getIdentificador() { | ||
22 | - return this.identificador; | ||
23 | - } | ||
24 | } | 22 | } |
src/main/java/br/gov/ans/integracao/sei/modelo/AtribuicaoProcesso.java
@@ -4,26 +4,20 @@ import com.fasterxml.jackson.annotation.JsonIgnoreProperties; | @@ -4,26 +4,20 @@ import com.fasterxml.jackson.annotation.JsonIgnoreProperties; | ||
4 | import com.fasterxml.jackson.annotation.JsonInclude; | 4 | import com.fasterxml.jackson.annotation.JsonInclude; |
5 | import com.fasterxml.jackson.annotation.JsonInclude.Include; | 5 | import com.fasterxml.jackson.annotation.JsonInclude.Include; |
6 | 6 | ||
7 | +import lombok.AllArgsConstructor; | ||
8 | +import lombok.Builder; | ||
9 | +import lombok.Data; | ||
10 | +import lombok.NoArgsConstructor; | ||
11 | + | ||
7 | @JsonInclude(content = Include.NON_NULL) | 12 | @JsonInclude(content = Include.NON_NULL) |
8 | @JsonIgnoreProperties(ignoreUnknown = true) | 13 | @JsonIgnoreProperties(ignoreUnknown = true) |
14 | +@NoArgsConstructor | ||
15 | +@AllArgsConstructor | ||
16 | +@Data | ||
17 | +@Builder | ||
9 | public class AtribuicaoProcesso { | 18 | public class AtribuicaoProcesso { |
10 | 19 | ||
11 | private String processo; | 20 | private String processo; |
12 | private boolean reabrir; | 21 | private boolean reabrir; |
13 | 22 | ||
14 | - public AtribuicaoProcesso(){} | ||
15 | - | ||
16 | - public String getProcesso() { | ||
17 | - return processo; | ||
18 | - } | ||
19 | - public void setProcesso(String processo) { | ||
20 | - this.processo = processo; | ||
21 | - } | ||
22 | - public boolean isReabrir() { | ||
23 | - return reabrir; | ||
24 | - } | ||
25 | - public void setReabrir(boolean reabrir) { | ||
26 | - this.reabrir = reabrir; | ||
27 | - } | ||
28 | - | ||
29 | } | 23 | } |
src/main/java/br/gov/ans/integracao/sei/modelo/CancelamentoDocumento.java
@@ -4,28 +4,20 @@ import com.fasterxml.jackson.annotation.JsonIgnoreProperties; | @@ -4,28 +4,20 @@ import com.fasterxml.jackson.annotation.JsonIgnoreProperties; | ||
4 | import com.fasterxml.jackson.annotation.JsonInclude; | 4 | import com.fasterxml.jackson.annotation.JsonInclude; |
5 | import com.fasterxml.jackson.annotation.JsonInclude.Include; | 5 | import com.fasterxml.jackson.annotation.JsonInclude.Include; |
6 | 6 | ||
7 | +import lombok.AllArgsConstructor; | ||
8 | +import lombok.Builder; | ||
9 | +import lombok.Data; | ||
10 | +import lombok.NoArgsConstructor; | ||
11 | + | ||
7 | @JsonInclude(content = Include.NON_NULL) | 12 | @JsonInclude(content = Include.NON_NULL) |
8 | @JsonIgnoreProperties(ignoreUnknown = true) | 13 | @JsonIgnoreProperties(ignoreUnknown = true) |
14 | +@NoArgsConstructor | ||
15 | +@AllArgsConstructor | ||
16 | +@Data | ||
17 | +@Builder | ||
9 | public class CancelamentoDocumento { | 18 | public class CancelamentoDocumento { |
10 | 19 | ||
11 | private String documento; | 20 | private String documento; |
12 | private String motivo; | 21 | private String motivo; |
13 | - | ||
14 | - public CancelamentoDocumento(){} | ||
15 | 22 | ||
16 | - public String getDocumento() { | ||
17 | - return documento; | ||
18 | - } | ||
19 | - | ||
20 | - public void setDocumento(String documento) { | ||
21 | - this.documento = documento; | ||
22 | - } | ||
23 | - | ||
24 | - public String getMotivo() { | ||
25 | - return motivo; | ||
26 | - } | ||
27 | - | ||
28 | - public void setMotivo(String motivo) { | ||
29 | - this.motivo = motivo; | ||
30 | - } | ||
31 | } | 23 | } |
src/main/java/br/gov/ans/integracao/sei/modelo/Cidade.java
@@ -5,45 +5,23 @@ import com.fasterxml.jackson.annotation.JsonIgnoreProperties; | @@ -5,45 +5,23 @@ import com.fasterxml.jackson.annotation.JsonIgnoreProperties; | ||
5 | import com.fasterxml.jackson.annotation.JsonInclude; | 5 | import com.fasterxml.jackson.annotation.JsonInclude; |
6 | import com.fasterxml.jackson.annotation.JsonInclude.Include; | 6 | import com.fasterxml.jackson.annotation.JsonInclude.Include; |
7 | 7 | ||
8 | +import lombok.AllArgsConstructor; | ||
9 | +import lombok.Builder; | ||
10 | +import lombok.Data; | ||
11 | +import lombok.NoArgsConstructor; | ||
12 | + | ||
8 | @JsonInclude(content = Include.NON_NULL) | 13 | @JsonInclude(content = Include.NON_NULL) |
9 | @JsonIgnoreProperties(ignoreUnknown = true) | 14 | @JsonIgnoreProperties(ignoreUnknown = true) |
15 | +@NoArgsConstructor | ||
16 | +@AllArgsConstructor | ||
17 | +@Data | ||
18 | +@Builder | ||
10 | public class Cidade { | 19 | public class Cidade { |
11 | 20 | ||
21 | + @JsonIgnore | ||
12 | private Integer id; | 22 | private Integer id; |
13 | private Estado estado; | 23 | private Estado estado; |
14 | private String nome; | 24 | private String nome; |
15 | private String codigoIbge; | 25 | private String codigoIbge; |
16 | 26 | ||
17 | - @JsonIgnore | ||
18 | - public Integer getId() { | ||
19 | - return id; | ||
20 | - } | ||
21 | - | ||
22 | - public void setId(Integer id) { | ||
23 | - this.id = id; | ||
24 | - } | ||
25 | - | ||
26 | - public Estado getEstado() { | ||
27 | - return estado; | ||
28 | - } | ||
29 | - | ||
30 | - public void setEstado(Estado estado) { | ||
31 | - this.estado = estado; | ||
32 | - } | ||
33 | - | ||
34 | - public String getNome() { | ||
35 | - return nome; | ||
36 | - } | ||
37 | - | ||
38 | - public void setNome(String nome) { | ||
39 | - this.nome = nome; | ||
40 | - } | ||
41 | - | ||
42 | - public String getCodigoIbge() { | ||
43 | - return codigoIbge; | ||
44 | - } | ||
45 | - | ||
46 | - public void setCodigoIbge(String codigoIbge) { | ||
47 | - this.codigoIbge = codigoIbge; | ||
48 | - } | ||
49 | } | 27 | } |
src/main/java/br/gov/ans/integracao/sei/modelo/Contato.java
@@ -4,8 +4,17 @@ import com.fasterxml.jackson.annotation.JsonIgnoreProperties; | @@ -4,8 +4,17 @@ import com.fasterxml.jackson.annotation.JsonIgnoreProperties; | ||
4 | import com.fasterxml.jackson.annotation.JsonInclude; | 4 | import com.fasterxml.jackson.annotation.JsonInclude; |
5 | import com.fasterxml.jackson.annotation.JsonInclude.Include; | 5 | import com.fasterxml.jackson.annotation.JsonInclude.Include; |
6 | 6 | ||
7 | +import lombok.AllArgsConstructor; | ||
8 | +import lombok.Builder; | ||
9 | +import lombok.Data; | ||
10 | +import lombok.NoArgsConstructor; | ||
11 | + | ||
7 | @JsonInclude(content = Include.NON_NULL) | 12 | @JsonInclude(content = Include.NON_NULL) |
8 | @JsonIgnoreProperties(ignoreUnknown = true) | 13 | @JsonIgnoreProperties(ignoreUnknown = true) |
14 | +@NoArgsConstructor | ||
15 | +@AllArgsConstructor | ||
16 | +@Data | ||
17 | +@Builder | ||
9 | public class Contato{ | 18 | public class Contato{ |
10 | 19 | ||
11 | private Integer id; | 20 | private Integer id; |
@@ -13,36 +22,4 @@ public class Contato{ | @@ -13,36 +22,4 @@ public class Contato{ | ||
13 | private String sigla; | 22 | private String sigla; |
14 | private TipoContato tipo; | 23 | private TipoContato tipo; |
15 | 24 | ||
16 | - public Integer getId() { | ||
17 | - return id; | ||
18 | - } | ||
19 | - | ||
20 | - public void setId(Integer id) { | ||
21 | - this.id = id; | ||
22 | - } | ||
23 | - | ||
24 | - public String getNome() { | ||
25 | - return nome; | ||
26 | - } | ||
27 | - | ||
28 | - public void setNome(String nome) { | ||
29 | - this.nome = nome; | ||
30 | - } | ||
31 | - | ||
32 | - public String getSigla() { | ||
33 | - return sigla; | ||
34 | - } | ||
35 | - | ||
36 | - public void setSigla(String sigla) { | ||
37 | - this.sigla = sigla; | ||
38 | - } | ||
39 | - | ||
40 | - public TipoContato getTipo() { | ||
41 | - return tipo; | ||
42 | - } | ||
43 | - | ||
44 | - public void setTipo(TipoContato tipo) { | ||
45 | - this.tipo = tipo; | ||
46 | - } | ||
47 | - | ||
48 | } | 25 | } |
src/main/java/br/gov/ans/integracao/sei/modelo/DocumentoResumido.java
@@ -6,9 +6,19 @@ import com.fasterxml.jackson.annotation.JsonIgnoreProperties; | @@ -6,9 +6,19 @@ import com.fasterxml.jackson.annotation.JsonIgnoreProperties; | ||
6 | import com.fasterxml.jackson.annotation.JsonInclude; | 6 | import com.fasterxml.jackson.annotation.JsonInclude; |
7 | import com.fasterxml.jackson.annotation.JsonInclude.Include; | 7 | import com.fasterxml.jackson.annotation.JsonInclude.Include; |
8 | 8 | ||
9 | +import lombok.AllArgsConstructor; | ||
10 | +import lombok.Builder; | ||
11 | +import lombok.Data; | ||
12 | +import lombok.NoArgsConstructor; | ||
13 | + | ||
9 | @JsonInclude(content = Include.NON_NULL) | 14 | @JsonInclude(content = Include.NON_NULL) |
10 | @JsonIgnoreProperties(ignoreUnknown = true) | 15 | @JsonIgnoreProperties(ignoreUnknown = true) |
16 | +@NoArgsConstructor | ||
17 | +@AllArgsConstructor | ||
18 | +@Data | ||
19 | +@Builder | ||
11 | public class DocumentoResumido { | 20 | public class DocumentoResumido { |
21 | + | ||
12 | private String numero; | 22 | private String numero; |
13 | private String numeroInformado; | 23 | private String numeroInformado; |
14 | private String nome; | 24 | private String nome; |
@@ -20,84 +30,4 @@ public class DocumentoResumido { | @@ -20,84 +30,4 @@ public class DocumentoResumido { | ||
20 | private String tipoConferencia; | 30 | private String tipoConferencia; |
21 | private boolean assinado; | 31 | private boolean assinado; |
22 | 32 | ||
23 | - public String getNumero() { | ||
24 | - return numero; | ||
25 | - } | ||
26 | - | ||
27 | - public void setNumero(String numero) { | ||
28 | - this.numero = numero; | ||
29 | - } | ||
30 | - | ||
31 | - public String getNome() { | ||
32 | - return nome; | ||
33 | - } | ||
34 | - | ||
35 | - public void setNome(String nome) { | ||
36 | - this.nome = nome; | ||
37 | - } | ||
38 | - | ||
39 | - public Tipo getTipo() { | ||
40 | - return tipo; | ||
41 | - } | ||
42 | - | ||
43 | - public void setTipo(Tipo tipo) { | ||
44 | - this.tipo = tipo; | ||
45 | - } | ||
46 | - | ||
47 | - public String getProcesso() { | ||
48 | - return processo; | ||
49 | - } | ||
50 | - | ||
51 | - public void setProcesso(String processo) { | ||
52 | - this.processo = processo; | ||
53 | - } | ||
54 | - | ||
55 | - public String getUnidade() { | ||
56 | - return unidade; | ||
57 | - } | ||
58 | - | ||
59 | - public void setUnidade(String unidade) { | ||
60 | - this.unidade = unidade; | ||
61 | - } | ||
62 | - | ||
63 | - public String getOrigem() { | ||
64 | - return origem; | ||
65 | - } | ||
66 | - | ||
67 | - public void setOrigem(String origem) { | ||
68 | - this.origem = origem; | ||
69 | - } | ||
70 | - | ||
71 | - public Date getDataGeracao() { | ||
72 | - return dataGeracao; | ||
73 | - } | ||
74 | - | ||
75 | - public void setDataGeracao(Date dataGeracao) { | ||
76 | - this.dataGeracao = dataGeracao; | ||
77 | - } | ||
78 | - | ||
79 | - public String getNumeroInformado() { | ||
80 | - return numeroInformado; | ||
81 | - } | ||
82 | - | ||
83 | - public void setNumeroInformado(String numeroInformado) { | ||
84 | - this.numeroInformado = numeroInformado; | ||
85 | - } | ||
86 | - | ||
87 | - public String getTipoConferencia() { | ||
88 | - return tipoConferencia; | ||
89 | - } | ||
90 | - | ||
91 | - public void setTipoConferencia(String tipoConferencia) { | ||
92 | - this.tipoConferencia = tipoConferencia; | ||
93 | - } | ||
94 | - | ||
95 | - public boolean isAssinado() { | ||
96 | - return assinado; | ||
97 | - } | ||
98 | - | ||
99 | - public void setAssinado(boolean assinado) { | ||
100 | - this.assinado = assinado; | ||
101 | - } | ||
102 | - | ||
103 | } | 33 | } |
src/main/java/br/gov/ans/integracao/sei/modelo/Endereco.java
@@ -4,8 +4,17 @@ import com.fasterxml.jackson.annotation.JsonIgnoreProperties; | @@ -4,8 +4,17 @@ import com.fasterxml.jackson.annotation.JsonIgnoreProperties; | ||
4 | import com.fasterxml.jackson.annotation.JsonInclude; | 4 | import com.fasterxml.jackson.annotation.JsonInclude; |
5 | import com.fasterxml.jackson.annotation.JsonInclude.Include; | 5 | import com.fasterxml.jackson.annotation.JsonInclude.Include; |
6 | 6 | ||
7 | +import lombok.AllArgsConstructor; | ||
8 | +import lombok.Builder; | ||
9 | +import lombok.Data; | ||
10 | +import lombok.NoArgsConstructor; | ||
11 | + | ||
7 | @JsonInclude(content = Include.NON_NULL) | 12 | @JsonInclude(content = Include.NON_NULL) |
8 | @JsonIgnoreProperties(ignoreUnknown = true) | 13 | @JsonIgnoreProperties(ignoreUnknown = true) |
14 | +@NoArgsConstructor | ||
15 | +@AllArgsConstructor | ||
16 | +@Data | ||
17 | +@Builder | ||
9 | public class Endereco { | 18 | public class Endereco { |
10 | 19 | ||
11 | private String logradouro; | 20 | private String logradouro; |
@@ -17,67 +26,4 @@ public class Endereco { | @@ -17,67 +26,4 @@ public class Endereco { | ||
17 | private String cidade; | 26 | private String cidade; |
18 | private String bairro; | 27 | private String bairro; |
19 | 28 | ||
20 | - public String getLogradouro() { | ||
21 | - return logradouro; | ||
22 | - } | ||
23 | - | ||
24 | - public void setLogradouro(String logradouro) { | ||
25 | - this.logradouro = logradouro; | ||
26 | - } | ||
27 | - | ||
28 | - public String getComplemento() { | ||
29 | - return complemento; | ||
30 | - } | ||
31 | - | ||
32 | - public void setComplemento(String complemento) { | ||
33 | - this.complemento = complemento; | ||
34 | - } | ||
35 | - | ||
36 | - public String getNumero() { | ||
37 | - return numero; | ||
38 | - } | ||
39 | - | ||
40 | - public void setNumero(String numero) { | ||
41 | - this.numero = numero; | ||
42 | - } | ||
43 | - | ||
44 | - public String getCEP() { | ||
45 | - return CEP; | ||
46 | - } | ||
47 | - | ||
48 | - public void setCEP(String cEP) { | ||
49 | - CEP = cEP; | ||
50 | - } | ||
51 | - | ||
52 | - public String getUf() { | ||
53 | - return uf; | ||
54 | - } | ||
55 | - | ||
56 | - public void setUf(String uf) { | ||
57 | - this.uf = uf; | ||
58 | - } | ||
59 | - | ||
60 | - public String getPais() { | ||
61 | - return pais; | ||
62 | - } | ||
63 | - | ||
64 | - public void setPais(String pais) { | ||
65 | - this.pais = pais; | ||
66 | - } | ||
67 | - | ||
68 | - public String getCidade() { | ||
69 | - return cidade; | ||
70 | - } | ||
71 | - | ||
72 | - public void setCidade(String cidade) { | ||
73 | - this.cidade = cidade; | ||
74 | - } | ||
75 | - | ||
76 | - public void setBairro(String bairro) { | ||
77 | - this.bairro = bairro; | ||
78 | - } | ||
79 | - | ||
80 | - public String getBairro() { | ||
81 | - return bairro; | ||
82 | - } | ||
83 | } | 29 | } |
src/main/java/br/gov/ans/integracao/sei/modelo/EnvioDeProcesso.java
@@ -6,8 +6,17 @@ import com.fasterxml.jackson.annotation.JsonIgnoreProperties; | @@ -6,8 +6,17 @@ import com.fasterxml.jackson.annotation.JsonIgnoreProperties; | ||
6 | import com.fasterxml.jackson.annotation.JsonInclude; | 6 | import com.fasterxml.jackson.annotation.JsonInclude; |
7 | import com.fasterxml.jackson.annotation.JsonInclude.Include; | 7 | import com.fasterxml.jackson.annotation.JsonInclude.Include; |
8 | 8 | ||
9 | +import lombok.AllArgsConstructor; | ||
10 | +import lombok.Builder; | ||
11 | +import lombok.Data; | ||
12 | +import lombok.NoArgsConstructor; | ||
13 | + | ||
9 | @JsonInclude(content = Include.NON_NULL) | 14 | @JsonInclude(content = Include.NON_NULL) |
10 | @JsonIgnoreProperties(ignoreUnknown = true) | 15 | @JsonIgnoreProperties(ignoreUnknown = true) |
16 | +@NoArgsConstructor | ||
17 | +@AllArgsConstructor | ||
18 | +@Data | ||
19 | +@Builder | ||
11 | public class EnvioDeProcesso { | 20 | public class EnvioDeProcesso { |
12 | 21 | ||
13 | private String numeroDoProcesso; | 22 | private String numeroDoProcesso; |
@@ -19,68 +28,4 @@ public class EnvioDeProcesso { | @@ -19,68 +28,4 @@ public class EnvioDeProcesso { | ||
19 | private Integer qtdDiasAteRetorno; | 28 | private Integer qtdDiasAteRetorno; |
20 | private boolean somenteDiasUteis; | 29 | private boolean somenteDiasUteis; |
21 | 30 | ||
22 | - public String getNumeroDoProcesso() { | ||
23 | - return numeroDoProcesso; | ||
24 | - } | ||
25 | - | ||
26 | - public void setNumeroDoProcesso(String numeroDoProcesso) { | ||
27 | - this.numeroDoProcesso = numeroDoProcesso; | ||
28 | - } | ||
29 | - | ||
30 | - public String[] getUnidadesDestino() { | ||
31 | - return unidadesDestino; | ||
32 | - } | ||
33 | - | ||
34 | - public void setUnidadesDestino(String[] unidadesDestino) { | ||
35 | - this.unidadesDestino = unidadesDestino; | ||
36 | - } | ||
37 | - | ||
38 | - public boolean getManterAbertoOrigem() { | ||
39 | - return manterAbertoOrigem; | ||
40 | - } | ||
41 | - | ||
42 | - public void setManterAbertoOrigem(boolean manterAbertoOrigem) { | ||
43 | - this.manterAbertoOrigem = manterAbertoOrigem; | ||
44 | - } | ||
45 | - | ||
46 | - public boolean getRemoverAnotacoes() { | ||
47 | - return removerAnotacoes; | ||
48 | - } | ||
49 | - | ||
50 | - public void setRemoverAnotacoes(boolean removerAnotacoes) { | ||
51 | - this.removerAnotacoes = removerAnotacoes; | ||
52 | - } | ||
53 | - | ||
54 | - public boolean getEnviarEmailNotificacao() { | ||
55 | - return enviarEmailNotificacao; | ||
56 | - } | ||
57 | - | ||
58 | - public void setEnviarEmailNotificacao(boolean enviarEmailNotificacao) { | ||
59 | - this.enviarEmailNotificacao = enviarEmailNotificacao; | ||
60 | - } | ||
61 | - | ||
62 | - public Date getDataRetornoProgramado() { | ||
63 | - return dataRetornoProgramado; | ||
64 | - } | ||
65 | - | ||
66 | - public void setDataRetornoProgramado(Date dataRetornoProgramado) { | ||
67 | - this.dataRetornoProgramado = dataRetornoProgramado; | ||
68 | - } | ||
69 | - | ||
70 | - public Integer getQtdDiasAteRetorno() { | ||
71 | - return qtdDiasAteRetorno; | ||
72 | - } | ||
73 | - | ||
74 | - public void setQtdDiasAteRetorno(Integer qtdDiasAteRetorno) { | ||
75 | - this.qtdDiasAteRetorno = qtdDiasAteRetorno; | ||
76 | - } | ||
77 | - | ||
78 | - public boolean getSomenteDiasUteis() { | ||
79 | - return somenteDiasUteis; | ||
80 | - } | ||
81 | - | ||
82 | - public void setSomenteDiasUteis(boolean somenteDiasUteis) { | ||
83 | - this.somenteDiasUteis = somenteDiasUteis; | ||
84 | - } | ||
85 | - | ||
86 | } | 31 | } |
src/main/java/br/gov/ans/integracao/sei/modelo/Estado.java
@@ -5,46 +5,24 @@ import com.fasterxml.jackson.annotation.JsonIgnoreProperties; | @@ -5,46 +5,24 @@ import com.fasterxml.jackson.annotation.JsonIgnoreProperties; | ||
5 | import com.fasterxml.jackson.annotation.JsonInclude; | 5 | import com.fasterxml.jackson.annotation.JsonInclude; |
6 | import com.fasterxml.jackson.annotation.JsonInclude.Include; | 6 | import com.fasterxml.jackson.annotation.JsonInclude.Include; |
7 | 7 | ||
8 | +import lombok.AllArgsConstructor; | ||
9 | +import lombok.Builder; | ||
10 | +import lombok.Data; | ||
11 | +import lombok.NoArgsConstructor; | ||
12 | + | ||
8 | @JsonInclude(content = Include.NON_NULL) | 13 | @JsonInclude(content = Include.NON_NULL) |
9 | @JsonIgnoreProperties(ignoreUnknown = true) | 14 | @JsonIgnoreProperties(ignoreUnknown = true) |
15 | +@NoArgsConstructor | ||
16 | +@AllArgsConstructor | ||
17 | +@Data | ||
18 | +@Builder | ||
10 | public class Estado { | 19 | public class Estado { |
11 | 20 | ||
21 | + @JsonIgnore | ||
12 | private Integer id; | 22 | private Integer id; |
13 | private String sigla; | 23 | private String sigla; |
14 | private String nome; | 24 | private String nome; |
25 | + @JsonIgnore | ||
15 | private String idPais; | 26 | private String idPais; |
16 | 27 | ||
17 | - @JsonIgnore | ||
18 | - public Integer getId() { | ||
19 | - return id; | ||
20 | - } | ||
21 | - | ||
22 | - public void setId(Integer id) { | ||
23 | - this.id = id; | ||
24 | - } | ||
25 | - | ||
26 | - public String getSigla() { | ||
27 | - return sigla; | ||
28 | - } | ||
29 | - | ||
30 | - public void setSigla(String sigla) { | ||
31 | - this.sigla = sigla; | ||
32 | - } | ||
33 | - | ||
34 | - public String getNome() { | ||
35 | - return nome; | ||
36 | - } | ||
37 | - | ||
38 | - public void setNome(String nome) { | ||
39 | - this.nome = nome; | ||
40 | - } | ||
41 | - | ||
42 | - @JsonIgnore | ||
43 | - public String getIdPais() { | ||
44 | - return idPais; | ||
45 | - } | ||
46 | - | ||
47 | - public void setIdPais(String idPais) { | ||
48 | - this.idPais = idPais; | ||
49 | - } | ||
50 | } | 28 | } |
src/main/java/br/gov/ans/integracao/sei/modelo/ExclusaoDocumento.java
@@ -7,10 +7,20 @@ import com.fasterxml.jackson.annotation.JsonIgnoreProperties; | @@ -7,10 +7,20 @@ import com.fasterxml.jackson.annotation.JsonIgnoreProperties; | ||
7 | import com.fasterxml.jackson.annotation.JsonInclude; | 7 | import com.fasterxml.jackson.annotation.JsonInclude; |
8 | import com.fasterxml.jackson.annotation.JsonInclude.Include; | 8 | import com.fasterxml.jackson.annotation.JsonInclude.Include; |
9 | 9 | ||
10 | +import lombok.AllArgsConstructor; | ||
11 | +import lombok.Builder; | ||
12 | +import lombok.Data; | ||
13 | +import lombok.NoArgsConstructor; | ||
14 | + | ||
10 | @JsonInclude(content = Include.NON_NULL) | 15 | @JsonInclude(content = Include.NON_NULL) |
11 | @JsonIgnoreProperties(ignoreUnknown = true) | 16 | @JsonIgnoreProperties(ignoreUnknown = true) |
17 | +@NoArgsConstructor | ||
18 | +@AllArgsConstructor | ||
19 | +@Data | ||
20 | +@Builder | ||
12 | public class ExclusaoDocumento { | 21 | public class ExclusaoDocumento { |
13 | 22 | ||
23 | + @JsonIgnore | ||
14 | private long id; | 24 | private long id; |
15 | private Date data; | 25 | private Date data; |
16 | private String numero; | 26 | private String numero; |
@@ -18,9 +28,6 @@ public class ExclusaoDocumento { | @@ -18,9 +28,6 @@ public class ExclusaoDocumento { | ||
18 | private String unidade; | 28 | private String unidade; |
19 | private String motivo; | 29 | private String motivo; |
20 | 30 | ||
21 | - public ExclusaoDocumento(){ | ||
22 | - } | ||
23 | - | ||
24 | public ExclusaoDocumento(String numero, String sistema, String unidade, String motivo){ | 31 | public ExclusaoDocumento(String numero, String sistema, String unidade, String motivo){ |
25 | this.numero = numero; | 32 | this.numero = numero; |
26 | this.sistema = sistema; | 33 | this.sistema = sistema; |
@@ -29,53 +36,4 @@ public class ExclusaoDocumento { | @@ -29,53 +36,4 @@ public class ExclusaoDocumento { | ||
29 | this.data = new Date(); | 36 | this.data = new Date(); |
30 | } | 37 | } |
31 | 38 | ||
32 | - @JsonIgnore | ||
33 | - public long getId() { | ||
34 | - return id; | ||
35 | - } | ||
36 | - | ||
37 | - public void setId(long id) { | ||
38 | - this.id = id; | ||
39 | - } | ||
40 | - | ||
41 | - public Date getData() { | ||
42 | - return data; | ||
43 | - } | ||
44 | - | ||
45 | - public void setData(Date data) { | ||
46 | - this.data = data; | ||
47 | - } | ||
48 | - | ||
49 | - public String getNumero() { | ||
50 | - return numero; | ||
51 | - } | ||
52 | - | ||
53 | - public void setNumero(String numero) { | ||
54 | - this.numero = numero; | ||
55 | - } | ||
56 | - | ||
57 | - public String getSistema() { | ||
58 | - return sistema; | ||
59 | - } | ||
60 | - | ||
61 | - public void setSistema(String sistema) { | ||
62 | - this.sistema = sistema; | ||
63 | - } | ||
64 | - | ||
65 | - public String getUnidade() { | ||
66 | - return unidade; | ||
67 | - } | ||
68 | - | ||
69 | - public void setUnidade(String unidade) { | ||
70 | - this.unidade = unidade; | ||
71 | - } | ||
72 | - | ||
73 | - public String getMotivo() { | ||
74 | - return motivo; | ||
75 | - } | ||
76 | - | ||
77 | - public void setMotivo(String motivo) { | ||
78 | - this.motivo = motivo; | ||
79 | - } | ||
80 | - | ||
81 | } | 39 | } |
src/main/java/br/gov/ans/integracao/sei/modelo/InclusaoDocumento.java
@@ -8,11 +8,20 @@ import com.fasterxml.jackson.annotation.JsonInclude; | @@ -8,11 +8,20 @@ import com.fasterxml.jackson.annotation.JsonInclude; | ||
8 | import com.fasterxml.jackson.annotation.JsonInclude.Include; | 8 | import com.fasterxml.jackson.annotation.JsonInclude.Include; |
9 | 9 | ||
10 | import br.gov.ans.integracao.sei.client.Documento; | 10 | import br.gov.ans.integracao.sei.client.Documento; |
11 | +import lombok.AllArgsConstructor; | ||
12 | +import lombok.Builder; | ||
13 | +import lombok.Data; | ||
14 | +import lombok.NoArgsConstructor; | ||
11 | 15 | ||
12 | @JsonInclude(content = Include.NON_NULL) | 16 | @JsonInclude(content = Include.NON_NULL) |
13 | @JsonIgnoreProperties(ignoreUnknown = true) | 17 | @JsonIgnoreProperties(ignoreUnknown = true) |
18 | +@NoArgsConstructor | ||
19 | +@AllArgsConstructor | ||
20 | +@Data | ||
21 | +@Builder | ||
14 | public class InclusaoDocumento { | 22 | public class InclusaoDocumento { |
15 | 23 | ||
24 | + @JsonIgnore | ||
16 | private long id; | 25 | private long id; |
17 | private Date data; | 26 | private Date data; |
18 | private String nome; | 27 | private String nome; |
@@ -24,10 +33,6 @@ public class InclusaoDocumento { | @@ -24,10 +33,6 @@ public class InclusaoDocumento { | ||
24 | private String numeroInformado; | 33 | private String numeroInformado; |
25 | private String link; | 34 | private String link; |
26 | 35 | ||
27 | - public InclusaoDocumento(){ | ||
28 | - | ||
29 | - } | ||
30 | - | ||
31 | public InclusaoDocumento(Documento documento, String unidade, String sistema, String hash){ | 36 | public InclusaoDocumento(Documento documento, String unidade, String sistema, String hash){ |
32 | this.unidade = unidade; | 37 | this.unidade = unidade; |
33 | this.sistema = sistema; | 38 | this.sistema = sistema; |
@@ -40,86 +45,4 @@ public class InclusaoDocumento { | @@ -40,86 +45,4 @@ public class InclusaoDocumento { | ||
40 | this.data = new Date(); | 45 | this.data = new Date(); |
41 | } | 46 | } |
42 | 47 | ||
43 | - @JsonIgnore | ||
44 | - public long getId() { | ||
45 | - return id; | ||
46 | - } | ||
47 | - | ||
48 | - @JsonIgnore | ||
49 | - public void setId(long id) { | ||
50 | - this.id = id; | ||
51 | - } | ||
52 | - | ||
53 | - public Date getData() { | ||
54 | - return data; | ||
55 | - } | ||
56 | - | ||
57 | - public void setData(Date data) { | ||
58 | - this.data = data; | ||
59 | - } | ||
60 | - | ||
61 | - public String getNome() { | ||
62 | - return nome; | ||
63 | - } | ||
64 | - | ||
65 | - public void setNome(String nome) { | ||
66 | - this.nome = nome; | ||
67 | - } | ||
68 | - | ||
69 | - public String getNumero() { | ||
70 | - return numero; | ||
71 | - } | ||
72 | - | ||
73 | - public void setNumero(String numero) { | ||
74 | - this.numero = numero; | ||
75 | - } | ||
76 | - | ||
77 | - public String getHash() { | ||
78 | - return hash; | ||
79 | - } | ||
80 | - | ||
81 | - public void setHash(String hash) { | ||
82 | - this.hash = hash; | ||
83 | - } | ||
84 | - | ||
85 | - public String getSistema() { | ||
86 | - return sistema; | ||
87 | - } | ||
88 | - | ||
89 | - public void setSistema(String sistema) { | ||
90 | - this.sistema = sistema; | ||
91 | - } | ||
92 | - | ||
93 | - public String getUnidade() { | ||
94 | - return unidade; | ||
95 | - } | ||
96 | - | ||
97 | - public void setUnidade(String unidade) { | ||
98 | - this.unidade = unidade; | ||
99 | - } | ||
100 | - | ||
101 | - public String getProcesso() { | ||
102 | - return processo; | ||
103 | - } | ||
104 | - | ||
105 | - public void setProcesso(String processo) { | ||
106 | - this.processo = processo; | ||
107 | - } | ||
108 | - | ||
109 | - public String getNumeroInformado() { | ||
110 | - return numeroInformado; | ||
111 | - } | ||
112 | - | ||
113 | - public void setNumeroInformado(String numeroInformado) { | ||
114 | - this.numeroInformado = numeroInformado; | ||
115 | - } | ||
116 | - | ||
117 | - public String getLink() { | ||
118 | - return link; | ||
119 | - } | ||
120 | - | ||
121 | - public void setLink(String link) { | ||
122 | - this.link = link; | ||
123 | - } | ||
124 | - | ||
125 | } | 48 | } |
src/main/java/br/gov/ans/integracao/sei/modelo/InclusaoDocumentoBloco.java
@@ -4,36 +4,21 @@ import com.fasterxml.jackson.annotation.JsonIgnoreProperties; | @@ -4,36 +4,21 @@ import com.fasterxml.jackson.annotation.JsonIgnoreProperties; | ||
4 | import com.fasterxml.jackson.annotation.JsonInclude; | 4 | import com.fasterxml.jackson.annotation.JsonInclude; |
5 | import com.fasterxml.jackson.annotation.JsonInclude.Include; | 5 | import com.fasterxml.jackson.annotation.JsonInclude.Include; |
6 | 6 | ||
7 | +import lombok.AllArgsConstructor; | ||
8 | +import lombok.Builder; | ||
9 | +import lombok.Data; | ||
10 | +import lombok.NoArgsConstructor; | ||
11 | + | ||
7 | @JsonInclude(content = Include.NON_NULL) | 12 | @JsonInclude(content = Include.NON_NULL) |
8 | @JsonIgnoreProperties(ignoreUnknown = true) | 13 | @JsonIgnoreProperties(ignoreUnknown = true) |
14 | +@NoArgsConstructor | ||
15 | +@AllArgsConstructor | ||
16 | +@Data | ||
17 | +@Builder | ||
9 | public class InclusaoDocumentoBloco { | 18 | public class InclusaoDocumentoBloco { |
10 | 19 | ||
11 | private String bloco; | 20 | private String bloco; |
12 | private String documento; | 21 | private String documento; |
13 | private String anotacao; | 22 | private String anotacao; |
14 | 23 | ||
15 | - public String getBloco() { | ||
16 | - return bloco; | ||
17 | - } | ||
18 | - | ||
19 | - public void setBloco(String bloco) { | ||
20 | - this.bloco = bloco; | ||
21 | - } | ||
22 | - | ||
23 | - public String getDocumento() { | ||
24 | - return documento; | ||
25 | - } | ||
26 | - | ||
27 | - public void setDocumento(String documento) { | ||
28 | - this.documento = documento; | ||
29 | - } | ||
30 | - | ||
31 | - public String getAnotacao() { | ||
32 | - return anotacao; | ||
33 | - } | ||
34 | - | ||
35 | - public void setAnotacao(String anotacao) { | ||
36 | - this.anotacao = anotacao; | ||
37 | - } | ||
38 | - | ||
39 | } | 24 | } |
src/main/java/br/gov/ans/integracao/sei/modelo/InclusaoProcessoBloco.java
@@ -4,35 +4,21 @@ import com.fasterxml.jackson.annotation.JsonIgnoreProperties; | @@ -4,35 +4,21 @@ import com.fasterxml.jackson.annotation.JsonIgnoreProperties; | ||
4 | import com.fasterxml.jackson.annotation.JsonInclude; | 4 | import com.fasterxml.jackson.annotation.JsonInclude; |
5 | import com.fasterxml.jackson.annotation.JsonInclude.Include; | 5 | import com.fasterxml.jackson.annotation.JsonInclude.Include; |
6 | 6 | ||
7 | +import lombok.AllArgsConstructor; | ||
8 | +import lombok.Builder; | ||
9 | +import lombok.Data; | ||
10 | +import lombok.NoArgsConstructor; | ||
11 | + | ||
7 | @JsonInclude(content = Include.NON_NULL) | 12 | @JsonInclude(content = Include.NON_NULL) |
8 | @JsonIgnoreProperties(ignoreUnknown = true) | 13 | @JsonIgnoreProperties(ignoreUnknown = true) |
14 | +@NoArgsConstructor | ||
15 | +@AllArgsConstructor | ||
16 | +@Data | ||
17 | +@Builder | ||
9 | public class InclusaoProcessoBloco { | 18 | public class InclusaoProcessoBloco { |
10 | 19 | ||
11 | private String bloco; | 20 | private String bloco; |
12 | private String processo; | 21 | private String processo; |
13 | private String anotacao; | 22 | private String anotacao; |
14 | - | ||
15 | - public String getBloco() { | ||
16 | - return bloco; | ||
17 | - } | ||
18 | - | ||
19 | - public void setBloco(String bloco) { | ||
20 | - this.bloco = bloco; | ||
21 | - } | ||
22 | - | ||
23 | - public String getProcesso() { | ||
24 | - return processo; | ||
25 | - } | ||
26 | - | ||
27 | - public void setProcesso(String processo) { | ||
28 | - this.processo = processo; | ||
29 | - } | ||
30 | - | ||
31 | - public String getAnotacao() { | ||
32 | - return anotacao; | ||
33 | - } | ||
34 | - | ||
35 | - public void setAnotacao(String anotacao) { | ||
36 | - this.anotacao = anotacao; | ||
37 | - } | 23 | + |
38 | } | 24 | } |
src/main/java/br/gov/ans/integracao/sei/modelo/MarcacaoProcesso.java
@@ -4,27 +4,20 @@ import com.fasterxml.jackson.annotation.JsonIgnoreProperties; | @@ -4,27 +4,20 @@ import com.fasterxml.jackson.annotation.JsonIgnoreProperties; | ||
4 | import com.fasterxml.jackson.annotation.JsonInclude; | 4 | import com.fasterxml.jackson.annotation.JsonInclude; |
5 | import com.fasterxml.jackson.annotation.JsonInclude.Include; | 5 | import com.fasterxml.jackson.annotation.JsonInclude.Include; |
6 | 6 | ||
7 | +import lombok.AllArgsConstructor; | ||
8 | +import lombok.Builder; | ||
9 | +import lombok.Data; | ||
10 | +import lombok.NoArgsConstructor; | ||
11 | + | ||
7 | @JsonInclude(content = Include.NON_NULL) | 12 | @JsonInclude(content = Include.NON_NULL) |
8 | @JsonIgnoreProperties(ignoreUnknown = true) | 13 | @JsonIgnoreProperties(ignoreUnknown = true) |
14 | +@NoArgsConstructor | ||
15 | +@AllArgsConstructor | ||
16 | +@Data | ||
17 | +@Builder | ||
9 | public class MarcacaoProcesso { | 18 | public class MarcacaoProcesso { |
10 | 19 | ||
11 | private String processo; | 20 | private String processo; |
12 | private String texto; | 21 | private String texto; |
13 | 22 | ||
14 | - public String getProcesso() { | ||
15 | - return processo; | ||
16 | - } | ||
17 | - | ||
18 | - public void setProcesso(String processo) { | ||
19 | - this.processo = processo; | ||
20 | - } | ||
21 | - | ||
22 | - public String getTexto() { | ||
23 | - return texto; | ||
24 | - } | ||
25 | - | ||
26 | - public void setTexto(String texto) { | ||
27 | - this.texto = texto; | ||
28 | - } | ||
29 | - | ||
30 | } | 23 | } |
src/main/java/br/gov/ans/integracao/sei/modelo/Motivo.java
@@ -4,17 +4,19 @@ import com.fasterxml.jackson.annotation.JsonIgnoreProperties; | @@ -4,17 +4,19 @@ import com.fasterxml.jackson.annotation.JsonIgnoreProperties; | ||
4 | import com.fasterxml.jackson.annotation.JsonInclude; | 4 | import com.fasterxml.jackson.annotation.JsonInclude; |
5 | import com.fasterxml.jackson.annotation.JsonInclude.Include; | 5 | import com.fasterxml.jackson.annotation.JsonInclude.Include; |
6 | 6 | ||
7 | +import lombok.AllArgsConstructor; | ||
8 | +import lombok.Builder; | ||
9 | +import lombok.Data; | ||
10 | +import lombok.NoArgsConstructor; | ||
11 | + | ||
7 | @JsonInclude(content = Include.NON_NULL) | 12 | @JsonInclude(content = Include.NON_NULL) |
8 | @JsonIgnoreProperties(ignoreUnknown = true) | 13 | @JsonIgnoreProperties(ignoreUnknown = true) |
14 | +@NoArgsConstructor | ||
15 | +@AllArgsConstructor | ||
16 | +@Data | ||
17 | +@Builder | ||
9 | public class Motivo { | 18 | public class Motivo { |
10 | 19 | ||
11 | String motivo; | 20 | String motivo; |
12 | 21 | ||
13 | - public String getMotivo() { | ||
14 | - return motivo; | ||
15 | - } | ||
16 | - | ||
17 | - public void setMotivo(String motivo) { | ||
18 | - this.motivo = motivo; | ||
19 | - } | ||
20 | } | 22 | } |
src/main/java/br/gov/ans/integracao/sei/modelo/NovoAndamento.java
@@ -6,36 +6,21 @@ import com.fasterxml.jackson.annotation.JsonIgnoreProperties; | @@ -6,36 +6,21 @@ import com.fasterxml.jackson.annotation.JsonIgnoreProperties; | ||
6 | import com.fasterxml.jackson.annotation.JsonInclude; | 6 | import com.fasterxml.jackson.annotation.JsonInclude; |
7 | import com.fasterxml.jackson.annotation.JsonInclude.Include; | 7 | import com.fasterxml.jackson.annotation.JsonInclude.Include; |
8 | 8 | ||
9 | +import lombok.AllArgsConstructor; | ||
10 | +import lombok.Builder; | ||
11 | +import lombok.Data; | ||
12 | +import lombok.NoArgsConstructor; | ||
13 | + | ||
9 | @JsonInclude(content = Include.NON_NULL) | 14 | @JsonInclude(content = Include.NON_NULL) |
10 | @JsonIgnoreProperties(ignoreUnknown = true) | 15 | @JsonIgnoreProperties(ignoreUnknown = true) |
16 | +@NoArgsConstructor | ||
17 | +@AllArgsConstructor | ||
18 | +@Data | ||
19 | +@Builder | ||
11 | public class NovoAndamento { | 20 | public class NovoAndamento { |
12 | 21 | ||
13 | private String tarefa; | 22 | private String tarefa; |
14 | private String tarefaModulo; | 23 | private String tarefaModulo; |
15 | private HashMap<String, String> atributos; | 24 | private HashMap<String, String> atributos; |
16 | 25 | ||
17 | - public String getTarefa() { | ||
18 | - return tarefa; | ||
19 | - } | ||
20 | - | ||
21 | - public void setTarefa(String tarefa) { | ||
22 | - this.tarefa = tarefa; | ||
23 | - } | ||
24 | - | ||
25 | - public String getTarefaModulo() { | ||
26 | - return tarefaModulo; | ||
27 | - } | ||
28 | - | ||
29 | - public void setTarefaModulo(String tarefaModulo) { | ||
30 | - this.tarefaModulo = tarefaModulo; | ||
31 | - } | ||
32 | - | ||
33 | - public HashMap<String, String> getAtributos() { | ||
34 | - return atributos; | ||
35 | - } | ||
36 | - | ||
37 | - public void setAtributos(HashMap<String, String> atributos) { | ||
38 | - this.atributos = atributos; | ||
39 | - } | ||
40 | - | ||
41 | } | 26 | } |
src/main/java/br/gov/ans/integracao/sei/modelo/NovoBloco.java
@@ -6,9 +6,17 @@ import com.fasterxml.jackson.annotation.JsonInclude; | @@ -6,9 +6,17 @@ import com.fasterxml.jackson.annotation.JsonInclude; | ||
6 | import com.fasterxml.jackson.annotation.JsonInclude.Include; | 6 | import com.fasterxml.jackson.annotation.JsonInclude.Include; |
7 | 7 | ||
8 | import br.gov.ans.integracao.sei.modelo.enums.TipoBloco; | 8 | import br.gov.ans.integracao.sei.modelo.enums.TipoBloco; |
9 | +import lombok.AllArgsConstructor; | ||
10 | +import lombok.Builder; | ||
11 | +import lombok.Data; | ||
12 | +import lombok.NoArgsConstructor; | ||
9 | 13 | ||
10 | @JsonInclude(content = Include.NON_NULL) | 14 | @JsonInclude(content = Include.NON_NULL) |
11 | @JsonIgnoreProperties(ignoreUnknown = true) | 15 | @JsonIgnoreProperties(ignoreUnknown = true) |
16 | +@NoArgsConstructor | ||
17 | +@AllArgsConstructor | ||
18 | +@Data | ||
19 | +@Builder | ||
12 | public class NovoBloco { | 20 | public class NovoBloco { |
13 | 21 | ||
14 | private TipoBloco tipo; | 22 | private TipoBloco tipo; |
@@ -17,44 +25,4 @@ public class NovoBloco { | @@ -17,44 +25,4 @@ public class NovoBloco { | ||
17 | private String[] documentos; | 25 | private String[] documentos; |
18 | private boolean disponibilizar; | 26 | private boolean disponibilizar; |
19 | 27 | ||
20 | - public TipoBloco getTipo() { | ||
21 | - return tipo; | ||
22 | - } | ||
23 | - | ||
24 | - public void setTipo(TipoBloco tipo) { | ||
25 | - this.tipo = tipo; | ||
26 | - } | ||
27 | - | ||
28 | - public String getDescricao() { | ||
29 | - return descricao; | ||
30 | - } | ||
31 | - | ||
32 | - public void setDescricao(String descricao) { | ||
33 | - this.descricao = descricao; | ||
34 | - } | ||
35 | - | ||
36 | - public String[] getUnidades() { | ||
37 | - return unidades; | ||
38 | - } | ||
39 | - | ||
40 | - public void setUnidades(String[] unidades) { | ||
41 | - this.unidades = unidades; | ||
42 | - } | ||
43 | - | ||
44 | - public String[] getDocumentos() { | ||
45 | - return documentos; | ||
46 | - } | ||
47 | - | ||
48 | - public void setDocumentos(String[] documentos) { | ||
49 | - this.documentos = documentos; | ||
50 | - } | ||
51 | - | ||
52 | - public boolean isDisponibilizar() { | ||
53 | - return disponibilizar; | ||
54 | - } | ||
55 | - | ||
56 | - public void setDisponibilizar(boolean disponibilizar) { | ||
57 | - this.disponibilizar = disponibilizar; | ||
58 | - } | ||
59 | - | ||
60 | } | 28 | } |
src/main/java/br/gov/ans/integracao/sei/modelo/NovoProcesso.java
@@ -8,9 +8,17 @@ import com.fasterxml.jackson.annotation.JsonInclude.Include; | @@ -8,9 +8,17 @@ import com.fasterxml.jackson.annotation.JsonInclude.Include; | ||
8 | 8 | ||
9 | import br.gov.ans.integracao.sei.client.Documento; | 9 | import br.gov.ans.integracao.sei.client.Documento; |
10 | import br.gov.ans.integracao.sei.client.Procedimento; | 10 | import br.gov.ans.integracao.sei.client.Procedimento; |
11 | +import lombok.AllArgsConstructor; | ||
12 | +import lombok.Builder; | ||
13 | +import lombok.Data; | ||
14 | +import lombok.NoArgsConstructor; | ||
11 | 15 | ||
12 | @JsonInclude(content = Include.NON_NULL) | 16 | @JsonInclude(content = Include.NON_NULL) |
13 | @JsonIgnoreProperties(ignoreUnknown = true) | 17 | @JsonIgnoreProperties(ignoreUnknown = true) |
18 | +@NoArgsConstructor | ||
19 | +@AllArgsConstructor | ||
20 | +@Data | ||
21 | +@Builder | ||
14 | public class NovoProcesso { | 22 | public class NovoProcesso { |
15 | 23 | ||
16 | private Procedimento dadosProcesso; | 24 | private Procedimento dadosProcesso; |
@@ -25,92 +33,4 @@ public class NovoProcesso { | @@ -25,92 +33,4 @@ public class NovoProcesso { | ||
25 | private String idMarcadador; | 33 | private String idMarcadador; |
26 | private String textoMarcador; | 34 | private String textoMarcador; |
27 | 35 | ||
28 | - public Procedimento getDadosProcesso() { | ||
29 | - return dadosProcesso; | ||
30 | - } | ||
31 | - | ||
32 | - public void setDadosProcesso(Procedimento dadosProcesso) { | ||
33 | - this.dadosProcesso = dadosProcesso; | ||
34 | - } | ||
35 | - | ||
36 | - public Documento[] getDocumentos() { | ||
37 | - return documentos; | ||
38 | - } | ||
39 | - | ||
40 | - public void setDocumentos(Documento[] documentos) { | ||
41 | - this.documentos = documentos; | ||
42 | - } | ||
43 | - | ||
44 | - public String[] getProcessosRelacionados() { | ||
45 | - return processosRelacionados; | ||
46 | - } | ||
47 | - | ||
48 | - public void setProcessosRelacionados(String[] processosRelacionados) { | ||
49 | - this.processosRelacionados = processosRelacionados; | ||
50 | - } | ||
51 | - | ||
52 | - public String[] getUnidadesDestino() { | ||
53 | - return unidadesDestino; | ||
54 | - } | ||
55 | - | ||
56 | - public void setUnidadesDestino(String[] unidadesDestino) { | ||
57 | - this.unidadesDestino = unidadesDestino; | ||
58 | - } | ||
59 | - | ||
60 | - public boolean isManterAbertoOrigem() { | ||
61 | - return manterAbertoOrigem; | ||
62 | - } | ||
63 | - | ||
64 | - public void setManterAbertoOrigem(boolean manterAbertoOrigem) { | ||
65 | - this.manterAbertoOrigem = manterAbertoOrigem; | ||
66 | - } | ||
67 | - | ||
68 | - public boolean isEnviarEmailNotificacao() { | ||
69 | - return enviarEmailNotificacao; | ||
70 | - } | ||
71 | - | ||
72 | - public void setEnviarEmailNotificacao(boolean enviarEmailNotificacao) { | ||
73 | - this.enviarEmailNotificacao = enviarEmailNotificacao; | ||
74 | - } | ||
75 | - | ||
76 | - public Date getDataRetornoProgramado() { | ||
77 | - return dataRetornoProgramado; | ||
78 | - } | ||
79 | - | ||
80 | - public void setDataRetornoProgramado(Date dataRetornoProgramado) { | ||
81 | - this.dataRetornoProgramado = dataRetornoProgramado; | ||
82 | - } | ||
83 | - | ||
84 | - public Integer getQtdDiasAteRetorno() { | ||
85 | - return qtdDiasAteRetorno; | ||
86 | - } | ||
87 | - | ||
88 | - public void setQtdDiasAteRetorno(Integer qtdDiasAteRetorno) { | ||
89 | - this.qtdDiasAteRetorno = qtdDiasAteRetorno; | ||
90 | - } | ||
91 | - | ||
92 | - public boolean isSomenteDiasUteis() { | ||
93 | - return somenteDiasUteis; | ||
94 | - } | ||
95 | - | ||
96 | - public void setSomenteDiasUteis(boolean somenteDiasUteis) { | ||
97 | - this.somenteDiasUteis = somenteDiasUteis; | ||
98 | - } | ||
99 | - | ||
100 | - public String getIdMarcadador() { | ||
101 | - return idMarcadador; | ||
102 | - } | ||
103 | - | ||
104 | - public void setIdMarcadador(String idMarcadador) { | ||
105 | - this.idMarcadador = idMarcadador; | ||
106 | - } | ||
107 | - | ||
108 | - public String getTextoMarcador() { | ||
109 | - return textoMarcador; | ||
110 | - } | ||
111 | - | ||
112 | - public void setTextoMarcador(String textoMarcador) { | ||
113 | - this.textoMarcador = textoMarcador; | ||
114 | - } | ||
115 | - | ||
116 | } | 36 | } |
src/main/java/br/gov/ans/integracao/sei/modelo/ParteArquivo.java
@@ -4,27 +4,20 @@ import com.fasterxml.jackson.annotation.JsonIgnoreProperties; | @@ -4,27 +4,20 @@ import com.fasterxml.jackson.annotation.JsonIgnoreProperties; | ||
4 | import com.fasterxml.jackson.annotation.JsonInclude; | 4 | import com.fasterxml.jackson.annotation.JsonInclude; |
5 | import com.fasterxml.jackson.annotation.JsonInclude.Include; | 5 | import com.fasterxml.jackson.annotation.JsonInclude.Include; |
6 | 6 | ||
7 | +import lombok.AllArgsConstructor; | ||
8 | +import lombok.Builder; | ||
9 | +import lombok.Data; | ||
10 | +import lombok.NoArgsConstructor; | ||
11 | + | ||
7 | @JsonInclude(content = Include.NON_NULL) | 12 | @JsonInclude(content = Include.NON_NULL) |
8 | @JsonIgnoreProperties(ignoreUnknown = true) | 13 | @JsonIgnoreProperties(ignoreUnknown = true) |
14 | +@NoArgsConstructor | ||
15 | +@AllArgsConstructor | ||
16 | +@Data | ||
17 | +@Builder | ||
9 | public class ParteArquivo { | 18 | public class ParteArquivo { |
10 | 19 | ||
11 | private String arquivo; | 20 | private String arquivo; |
12 | private String conteudo; | 21 | private String conteudo; |
13 | 22 | ||
14 | - public String getArquivo() { | ||
15 | - return arquivo; | ||
16 | - } | ||
17 | - | ||
18 | - public void setArquivo(String arquivo) { | ||
19 | - this.arquivo = arquivo; | ||
20 | - } | ||
21 | - | ||
22 | - public String getConteudo() { | ||
23 | - return conteudo; | ||
24 | - } | ||
25 | - | ||
26 | - public void setConteudo(String conteudo) { | ||
27 | - this.conteudo = conteudo; | ||
28 | - } | ||
29 | - | ||
30 | } | 23 | } |
src/main/java/br/gov/ans/integracao/sei/modelo/Pessoa.java
@@ -6,6 +6,9 @@ import com.fasterxml.jackson.annotation.JsonInclude.Include; | @@ -6,6 +6,9 @@ import com.fasterxml.jackson.annotation.JsonInclude.Include; | ||
6 | import com.fasterxml.jackson.annotation.JsonSubTypes; | 6 | import com.fasterxml.jackson.annotation.JsonSubTypes; |
7 | import com.fasterxml.jackson.annotation.JsonTypeInfo; | 7 | import com.fasterxml.jackson.annotation.JsonTypeInfo; |
8 | 8 | ||
9 | +import lombok.Getter; | ||
10 | +import lombok.Setter; | ||
11 | + | ||
9 | @JsonInclude(content = Include.NON_NULL) | 12 | @JsonInclude(content = Include.NON_NULL) |
10 | @JsonIgnoreProperties(ignoreUnknown = true) | 13 | @JsonIgnoreProperties(ignoreUnknown = true) |
11 | @JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY) | 14 | @JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY) |
@@ -13,6 +16,8 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; | @@ -13,6 +16,8 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; | ||
13 | @JsonSubTypes.Type(value = PessoaFisica.class, name = "Fisica"), | 16 | @JsonSubTypes.Type(value = PessoaFisica.class, name = "Fisica"), |
14 | @JsonSubTypes.Type(value = PessoaJuridica.class, name = "Juridica") } | 17 | @JsonSubTypes.Type(value = PessoaJuridica.class, name = "Juridica") } |
15 | ) | 18 | ) |
19 | +@Getter | ||
20 | +@Setter | ||
16 | public abstract class Pessoa { | 21 | public abstract class Pessoa { |
17 | 22 | ||
18 | private String nome; | 23 | private String nome; |
@@ -23,78 +28,6 @@ public abstract class Pessoa { | @@ -23,78 +28,6 @@ public abstract class Pessoa { | ||
23 | private String telefone; | 28 | private String telefone; |
24 | private String observacao; | 29 | private String observacao; |
25 | private boolean ativo; | 30 | private boolean ativo; |
26 | - | ||
27 | private PessoaJuridica associado; | 31 | private PessoaJuridica associado; |
28 | 32 | ||
29 | - public String getNome() { | ||
30 | - return nome; | ||
31 | - } | ||
32 | - | ||
33 | - public void setNome(String nome) { | ||
34 | - this.nome = nome; | ||
35 | - } | ||
36 | - | ||
37 | - public String getSigla() { | ||
38 | - return sigla; | ||
39 | - } | ||
40 | - | ||
41 | - public void setSigla(String sigla) { | ||
42 | - this.sigla = sigla; | ||
43 | - } | ||
44 | - | ||
45 | - public Endereco getEndereco() { | ||
46 | - return endereco; | ||
47 | - } | ||
48 | - | ||
49 | - public void setEndereco(Endereco endereco) { | ||
50 | - this.endereco = endereco; | ||
51 | - } | ||
52 | - | ||
53 | - public String getEmail() { | ||
54 | - return email; | ||
55 | - } | ||
56 | - | ||
57 | - public void setEmail(String email) { | ||
58 | - this.email = email; | ||
59 | - } | ||
60 | - | ||
61 | - public String getCelular() { | ||
62 | - return celular; | ||
63 | - } | ||
64 | - | ||
65 | - public void setCelular(String celular) { | ||
66 | - this.celular = celular; | ||
67 | - } | ||
68 | - | ||
69 | - public String getTelefone() { | ||
70 | - return telefone; | ||
71 | - } | ||
72 | - | ||
73 | - public void setTelefone(String telefone) { | ||
74 | - this.telefone = telefone; | ||
75 | - } | ||
76 | - | ||
77 | - public String getObservacao() { | ||
78 | - return observacao; | ||
79 | - } | ||
80 | - | ||
81 | - public void setObservacao(String observacao) { | ||
82 | - this.observacao = observacao; | ||
83 | - } | ||
84 | - | ||
85 | - public PessoaJuridica getAssociado() { | ||
86 | - return associado; | ||
87 | - } | ||
88 | - | ||
89 | - public void setAssociado(PessoaJuridica representado) { | ||
90 | - this.associado = representado; | ||
91 | - } | ||
92 | - | ||
93 | - public boolean isAtivo() { | ||
94 | - return ativo; | ||
95 | - } | ||
96 | - | ||
97 | - public void setAtivo(boolean ativo) { | ||
98 | - this.ativo = ativo; | ||
99 | - } | ||
100 | } | 33 | } |
src/main/java/br/gov/ans/integracao/sei/modelo/PessoaFisica.java
@@ -7,9 +7,19 @@ import com.fasterxml.jackson.annotation.JsonInclude; | @@ -7,9 +7,19 @@ import com.fasterxml.jackson.annotation.JsonInclude; | ||
7 | import com.fasterxml.jackson.annotation.JsonInclude.Include; | 7 | import com.fasterxml.jackson.annotation.JsonInclude.Include; |
8 | 8 | ||
9 | import br.gov.ans.integracao.sei.modelo.enums.Sexo; | 9 | import br.gov.ans.integracao.sei.modelo.enums.Sexo; |
10 | +import lombok.AllArgsConstructor; | ||
11 | +import lombok.Builder; | ||
12 | +import lombok.Data; | ||
13 | +import lombok.EqualsAndHashCode; | ||
14 | +import lombok.NoArgsConstructor; | ||
10 | 15 | ||
11 | @JsonInclude(content = Include.NON_NULL) | 16 | @JsonInclude(content = Include.NON_NULL) |
12 | @JsonIgnoreProperties(ignoreUnknown = true) | 17 | @JsonIgnoreProperties(ignoreUnknown = true) |
18 | +@NoArgsConstructor | ||
19 | +@AllArgsConstructor | ||
20 | +@EqualsAndHashCode(callSuper=true) | ||
21 | +@Data | ||
22 | +@Builder | ||
13 | public class PessoaFisica extends Pessoa { | 23 | public class PessoaFisica extends Pessoa { |
14 | 24 | ||
15 | private Sexo sexo; | 25 | private Sexo sexo; |
@@ -19,60 +29,5 @@ public class PessoaFisica extends Pessoa { | @@ -19,60 +29,5 @@ public class PessoaFisica extends Pessoa { | ||
19 | private Date dataNascimento; | 29 | private Date dataNascimento; |
20 | private String matricula; | 30 | private String matricula; |
21 | private String matriculaOab; | 31 | private String matriculaOab; |
22 | - | ||
23 | - public Sexo getSexo() { | ||
24 | - return sexo; | ||
25 | - } | ||
26 | - | ||
27 | - public void setSexo(Sexo sexo) { | ||
28 | - this.sexo = sexo; | ||
29 | - } | ||
30 | - | ||
31 | - public String getCpf() { | ||
32 | - return cpf; | ||
33 | - } | ||
34 | - | ||
35 | - public void setCpf(String cpf) { | ||
36 | - this.cpf = cpf; | ||
37 | - } | ||
38 | - | ||
39 | - public String getRg() { | ||
40 | - return rg; | ||
41 | - } | ||
42 | - | ||
43 | - public void setRg(String rg) { | ||
44 | - this.rg = rg; | ||
45 | - } | ||
46 | - | ||
47 | - public String getOrgaoEmissor() { | ||
48 | - return orgaoEmissor; | ||
49 | - } | ||
50 | - | ||
51 | - public void setOrgaoEmissor(String orgaoEmissor) { | ||
52 | - this.orgaoEmissor = orgaoEmissor; | ||
53 | - } | ||
54 | - | ||
55 | - public Date getDataNascimento() { | ||
56 | - return dataNascimento; | ||
57 | - } | ||
58 | - | ||
59 | - public void setDataNascimento(Date dataNascimento) { | ||
60 | - this.dataNascimento = dataNascimento; | ||
61 | - } | ||
62 | - | ||
63 | - public String getMatricula() { | ||
64 | - return matricula; | ||
65 | - } | ||
66 | - | ||
67 | - public void setMatricula(String matricula) { | ||
68 | - this.matricula = matricula; | ||
69 | - } | ||
70 | 32 | ||
71 | - public String getMatriculaOab() { | ||
72 | - return matriculaOab; | ||
73 | - } | ||
74 | - | ||
75 | - public void setMatriculaOab(String oab) { | ||
76 | - this.matriculaOab = oab; | ||
77 | - } | ||
78 | } | 33 | } |
src/main/java/br/gov/ans/integracao/sei/modelo/PessoaJuridica.java
@@ -4,26 +4,22 @@ import com.fasterxml.jackson.annotation.JsonIgnoreProperties; | @@ -4,26 +4,22 @@ import com.fasterxml.jackson.annotation.JsonIgnoreProperties; | ||
4 | import com.fasterxml.jackson.annotation.JsonInclude; | 4 | import com.fasterxml.jackson.annotation.JsonInclude; |
5 | import com.fasterxml.jackson.annotation.JsonInclude.Include; | 5 | import com.fasterxml.jackson.annotation.JsonInclude.Include; |
6 | 6 | ||
7 | +import lombok.AllArgsConstructor; | ||
8 | +import lombok.Builder; | ||
9 | +import lombok.Data; | ||
10 | +import lombok.EqualsAndHashCode; | ||
11 | +import lombok.NoArgsConstructor; | ||
12 | + | ||
7 | @JsonInclude(content = Include.NON_NULL) | 13 | @JsonInclude(content = Include.NON_NULL) |
8 | @JsonIgnoreProperties(ignoreUnknown = true) | 14 | @JsonIgnoreProperties(ignoreUnknown = true) |
15 | +@NoArgsConstructor | ||
16 | +@AllArgsConstructor | ||
17 | +@EqualsAndHashCode(callSuper=true) | ||
18 | +@Data | ||
19 | +@Builder | ||
9 | public class PessoaJuridica extends Pessoa { | 20 | public class PessoaJuridica extends Pessoa { |
10 | 21 | ||
11 | private String cnpj; | 22 | private String cnpj; |
12 | private String website; | 23 | private String website; |
13 | 24 | ||
14 | - public String getCnpj() { | ||
15 | - return cnpj; | ||
16 | - } | ||
17 | - | ||
18 | - public void setCnpj(String cnpj) { | ||
19 | - this.cnpj = cnpj; | ||
20 | - } | ||
21 | - | ||
22 | - public String getWebsite() { | ||
23 | - return website; | ||
24 | - } | ||
25 | - | ||
26 | - public void setWebsite(String website) { | ||
27 | - this.website = website; | ||
28 | - } | ||
29 | } | 25 | } |
src/main/java/br/gov/ans/integracao/sei/modelo/ProcessoAnexado.java
@@ -4,17 +4,19 @@ import com.fasterxml.jackson.annotation.JsonIgnoreProperties; | @@ -4,17 +4,19 @@ import com.fasterxml.jackson.annotation.JsonIgnoreProperties; | ||
4 | import com.fasterxml.jackson.annotation.JsonInclude; | 4 | import com.fasterxml.jackson.annotation.JsonInclude; |
5 | import com.fasterxml.jackson.annotation.JsonInclude.Include; | 5 | import com.fasterxml.jackson.annotation.JsonInclude.Include; |
6 | 6 | ||
7 | +import lombok.AllArgsConstructor; | ||
8 | +import lombok.Builder; | ||
9 | +import lombok.Data; | ||
10 | +import lombok.NoArgsConstructor; | ||
11 | + | ||
7 | @JsonInclude(content = Include.NON_NULL) | 12 | @JsonInclude(content = Include.NON_NULL) |
8 | @JsonIgnoreProperties(ignoreUnknown = true) | 13 | @JsonIgnoreProperties(ignoreUnknown = true) |
14 | +@NoArgsConstructor | ||
15 | +@AllArgsConstructor | ||
16 | +@Data | ||
17 | +@Builder | ||
9 | public class ProcessoAnexado { | 18 | public class ProcessoAnexado { |
10 | 19 | ||
11 | private String numero; | 20 | private String numero; |
12 | 21 | ||
13 | - public String getNumero() { | ||
14 | - return numero; | ||
15 | - } | ||
16 | - | ||
17 | - public void setNumero(String numero) { | ||
18 | - this.numero = numero; | ||
19 | - } | ||
20 | } | 22 | } |
src/main/java/br/gov/ans/integracao/sei/modelo/ProcessoBloqueado.java
@@ -4,17 +4,19 @@ import com.fasterxml.jackson.annotation.JsonIgnoreProperties; | @@ -4,17 +4,19 @@ import com.fasterxml.jackson.annotation.JsonIgnoreProperties; | ||
4 | import com.fasterxml.jackson.annotation.JsonInclude; | 4 | import com.fasterxml.jackson.annotation.JsonInclude; |
5 | import com.fasterxml.jackson.annotation.JsonInclude.Include; | 5 | import com.fasterxml.jackson.annotation.JsonInclude.Include; |
6 | 6 | ||
7 | +import lombok.AllArgsConstructor; | ||
8 | +import lombok.Builder; | ||
9 | +import lombok.Data; | ||
10 | +import lombok.NoArgsConstructor; | ||
11 | + | ||
7 | @JsonInclude(content = Include.NON_NULL) | 12 | @JsonInclude(content = Include.NON_NULL) |
8 | @JsonIgnoreProperties(ignoreUnknown = true) | 13 | @JsonIgnoreProperties(ignoreUnknown = true) |
14 | +@NoArgsConstructor | ||
15 | +@AllArgsConstructor | ||
16 | +@Data | ||
17 | +@Builder | ||
9 | public class ProcessoBloqueado { | 18 | public class ProcessoBloqueado { |
10 | 19 | ||
11 | private String numero; | 20 | private String numero; |
12 | 21 | ||
13 | - public String getNumero() { | ||
14 | - return numero; | ||
15 | - } | ||
16 | - | ||
17 | - public void setNumero(String numero) { | ||
18 | - this.numero = numero; | ||
19 | - } | ||
20 | } | 22 | } |
src/main/java/br/gov/ans/integracao/sei/modelo/ProcessoRelacionado.java
@@ -4,18 +4,19 @@ import com.fasterxml.jackson.annotation.JsonIgnoreProperties; | @@ -4,18 +4,19 @@ import com.fasterxml.jackson.annotation.JsonIgnoreProperties; | ||
4 | import com.fasterxml.jackson.annotation.JsonInclude; | 4 | import com.fasterxml.jackson.annotation.JsonInclude; |
5 | import com.fasterxml.jackson.annotation.JsonInclude.Include; | 5 | import com.fasterxml.jackson.annotation.JsonInclude.Include; |
6 | 6 | ||
7 | +import lombok.AllArgsConstructor; | ||
8 | +import lombok.Builder; | ||
9 | +import lombok.Data; | ||
10 | +import lombok.NoArgsConstructor; | ||
11 | + | ||
7 | @JsonInclude(content = Include.NON_NULL) | 12 | @JsonInclude(content = Include.NON_NULL) |
8 | @JsonIgnoreProperties(ignoreUnknown = true) | 13 | @JsonIgnoreProperties(ignoreUnknown = true) |
14 | +@NoArgsConstructor | ||
15 | +@AllArgsConstructor | ||
16 | +@Data | ||
17 | +@Builder | ||
9 | public class ProcessoRelacionado { | 18 | public class ProcessoRelacionado { |
10 | 19 | ||
11 | private String numero; | 20 | private String numero; |
12 | - | ||
13 | - public String getNumero() { | ||
14 | - return numero; | ||
15 | - } | ||
16 | - | ||
17 | - public void setNumero(String numero) { | ||
18 | - this.numero = numero; | ||
19 | - } | ||
20 | 21 | ||
21 | } | 22 | } |
src/main/java/br/gov/ans/integracao/sei/modelo/ProcessoResumido.java
@@ -6,8 +6,17 @@ import com.fasterxml.jackson.annotation.JsonIgnoreProperties; | @@ -6,8 +6,17 @@ import com.fasterxml.jackson.annotation.JsonIgnoreProperties; | ||
6 | import com.fasterxml.jackson.annotation.JsonInclude; | 6 | import com.fasterxml.jackson.annotation.JsonInclude; |
7 | import com.fasterxml.jackson.annotation.JsonInclude.Include; | 7 | import com.fasterxml.jackson.annotation.JsonInclude.Include; |
8 | 8 | ||
9 | +import lombok.AllArgsConstructor; | ||
10 | +import lombok.Builder; | ||
11 | +import lombok.Data; | ||
12 | +import lombok.NoArgsConstructor; | ||
13 | + | ||
9 | @JsonInclude(content = Include.NON_NULL) | 14 | @JsonInclude(content = Include.NON_NULL) |
10 | @JsonIgnoreProperties(ignoreUnknown = true) | 15 | @JsonIgnoreProperties(ignoreUnknown = true) |
16 | +@NoArgsConstructor | ||
17 | +@AllArgsConstructor | ||
18 | +@Data | ||
19 | +@Builder | ||
11 | public class ProcessoResumido { | 20 | public class ProcessoResumido { |
12 | 21 | ||
13 | private String numero; | 22 | private String numero; |
@@ -16,52 +25,5 @@ public class ProcessoResumido { | @@ -16,52 +25,5 @@ public class ProcessoResumido { | ||
16 | private String unidade; | 25 | private String unidade; |
17 | private Date dataGeracao; | 26 | private Date dataGeracao; |
18 | private Tipo tipo; | 27 | private Tipo tipo; |
19 | - | ||
20 | - public String getNumero() { | ||
21 | - return numero; | ||
22 | - } | ||
23 | - | ||
24 | - public void setNumero(String numero) { | ||
25 | - this.numero = numero; | ||
26 | - } | ||
27 | - | ||
28 | - public String getNumeroFormatado() { | ||
29 | - return numeroFormatado; | ||
30 | - } | ||
31 | - | ||
32 | - public void setNumeroFormatado(String numeroFormatado) { | ||
33 | - this.numeroFormatado = numeroFormatado; | ||
34 | - } | ||
35 | - | ||
36 | - public String getDescricao() { | ||
37 | - return descricao; | ||
38 | - } | ||
39 | - | ||
40 | - public void setDescricao(String descricao) { | ||
41 | - this.descricao = descricao; | ||
42 | - } | ||
43 | - | ||
44 | - public String getUnidade() { | ||
45 | - return unidade; | ||
46 | - } | ||
47 | - | ||
48 | - public void setUnidade(String unidade) { | ||
49 | - this.unidade = unidade; | ||
50 | - } | ||
51 | - | ||
52 | - public Date getDataGeracao() { | ||
53 | - return dataGeracao; | ||
54 | - } | ||
55 | - | ||
56 | - public void setDataGeracao(Date dataGeracao) { | ||
57 | - this.dataGeracao = dataGeracao; | ||
58 | - } | ||
59 | - | ||
60 | - public Tipo getTipo() { | ||
61 | - return tipo; | ||
62 | - } | ||
63 | - | ||
64 | - public void setTipo(Tipo tipo) { | ||
65 | - this.tipo = tipo; | ||
66 | - } | 28 | + |
67 | } | 29 | } |
src/main/java/br/gov/ans/integracao/sei/modelo/ResultadoConsultaDocumento.java
@@ -6,28 +6,20 @@ import com.fasterxml.jackson.annotation.JsonInclude.Include; | @@ -6,28 +6,20 @@ import com.fasterxml.jackson.annotation.JsonInclude.Include; | ||
6 | 6 | ||
7 | import br.gov.ans.integracao.sei.client.RetornoConsultaDocumento; | 7 | import br.gov.ans.integracao.sei.client.RetornoConsultaDocumento; |
8 | import br.gov.ans.integracao.sipar.modelo.DocumentoSipar; | 8 | import br.gov.ans.integracao.sipar.modelo.DocumentoSipar; |
9 | +import lombok.AllArgsConstructor; | ||
10 | +import lombok.Builder; | ||
11 | +import lombok.Data; | ||
12 | +import lombok.NoArgsConstructor; | ||
9 | 13 | ||
10 | @JsonInclude(content = Include.NON_NULL) | 14 | @JsonInclude(content = Include.NON_NULL) |
11 | @JsonIgnoreProperties(ignoreUnknown = true) | 15 | @JsonIgnoreProperties(ignoreUnknown = true) |
16 | +@NoArgsConstructor | ||
17 | +@AllArgsConstructor | ||
18 | +@Data | ||
19 | +@Builder | ||
12 | public class ResultadoConsultaDocumento { | 20 | public class ResultadoConsultaDocumento { |
13 | 21 | ||
14 | private DocumentoSipar documentoSIPAR; | 22 | private DocumentoSipar documentoSIPAR; |
15 | private RetornoConsultaDocumento documentoSEI; | 23 | private RetornoConsultaDocumento documentoSEI; |
16 | - | ||
17 | - public DocumentoSipar getDocumentoSIPAR() { | ||
18 | - return documentoSIPAR; | ||
19 | - } | ||
20 | - | ||
21 | - public void setDocumentoSIPAR(DocumentoSipar documentoSIPAR) { | ||
22 | - this.documentoSIPAR = documentoSIPAR; | ||
23 | - } | ||
24 | - | ||
25 | - public RetornoConsultaDocumento getDocumentoSEI() { | ||
26 | - return documentoSEI; | ||
27 | - } | ||
28 | - | ||
29 | - public void setDocumentoSEI(RetornoConsultaDocumento documentoSEI) { | ||
30 | - this.documentoSEI = documentoSEI; | ||
31 | - } | ||
32 | 24 | ||
33 | } | 25 | } |
src/main/java/br/gov/ans/integracao/sei/modelo/ResultadoConsultaProcesso.java
@@ -6,28 +6,20 @@ import com.fasterxml.jackson.annotation.JsonInclude.Include; | @@ -6,28 +6,20 @@ import com.fasterxml.jackson.annotation.JsonInclude.Include; | ||
6 | 6 | ||
7 | import br.gov.ans.integracao.sei.client.RetornoConsultaProcedimento; | 7 | import br.gov.ans.integracao.sei.client.RetornoConsultaProcedimento; |
8 | import br.gov.ans.integracao.sipar.modelo.DocumentoSipar; | 8 | import br.gov.ans.integracao.sipar.modelo.DocumentoSipar; |
9 | +import lombok.AllArgsConstructor; | ||
10 | +import lombok.Builder; | ||
11 | +import lombok.Data; | ||
12 | +import lombok.NoArgsConstructor; | ||
9 | 13 | ||
10 | @JsonInclude(content = Include.NON_NULL) | 14 | @JsonInclude(content = Include.NON_NULL) |
11 | @JsonIgnoreProperties(ignoreUnknown = true) | 15 | @JsonIgnoreProperties(ignoreUnknown = true) |
16 | +@NoArgsConstructor | ||
17 | +@AllArgsConstructor | ||
18 | +@Data | ||
19 | +@Builder | ||
12 | public class ResultadoConsultaProcesso { | 20 | public class ResultadoConsultaProcesso { |
13 | 21 | ||
14 | private DocumentoSipar sipar; | 22 | private DocumentoSipar sipar; |
15 | private RetornoConsultaProcedimento sei; | 23 | private RetornoConsultaProcedimento sei; |
16 | 24 | ||
17 | - public DocumentoSipar getSipar() { | ||
18 | - return sipar; | ||
19 | - } | ||
20 | - | ||
21 | - public void setSipar(DocumentoSipar sipar) { | ||
22 | - this.sipar = sipar; | ||
23 | - } | ||
24 | - | ||
25 | - public RetornoConsultaProcedimento getSei() { | ||
26 | - return sei; | ||
27 | - } | ||
28 | - | ||
29 | - public void setSei(RetornoConsultaProcedimento sei) { | ||
30 | - this.sei = sei; | ||
31 | - } | ||
32 | - | ||
33 | } | 25 | } |
src/main/java/br/gov/ans/integracao/sei/modelo/ResultadoInclusaoDocumento.java
@@ -5,24 +5,20 @@ import com.fasterxml.jackson.annotation.JsonInclude; | @@ -5,24 +5,20 @@ import com.fasterxml.jackson.annotation.JsonInclude; | ||
5 | import com.fasterxml.jackson.annotation.JsonInclude.Include; | 5 | import com.fasterxml.jackson.annotation.JsonInclude.Include; |
6 | 6 | ||
7 | import br.gov.ans.integracao.sei.client.RetornoInclusaoDocumento; | 7 | import br.gov.ans.integracao.sei.client.RetornoInclusaoDocumento; |
8 | +import lombok.AllArgsConstructor; | ||
9 | +import lombok.Builder; | ||
10 | +import lombok.Data; | ||
11 | +import lombok.NoArgsConstructor; | ||
8 | 12 | ||
9 | @JsonInclude(content = Include.NON_NULL) | 13 | @JsonInclude(content = Include.NON_NULL) |
10 | @JsonIgnoreProperties(ignoreUnknown = true) | 14 | @JsonIgnoreProperties(ignoreUnknown = true) |
15 | +@NoArgsConstructor | ||
16 | +@AllArgsConstructor | ||
17 | +@Data | ||
18 | +@Builder | ||
11 | public class ResultadoInclusaoDocumento { | 19 | public class ResultadoInclusaoDocumento { |
12 | 20 | ||
13 | private RetornoInclusaoDocumento retorno; | 21 | private RetornoInclusaoDocumento retorno; |
14 | private String mensagem; | 22 | private String mensagem; |
15 | - | ||
16 | - public RetornoInclusaoDocumento getRetorno() { | ||
17 | - return retorno; | ||
18 | - } | ||
19 | - public void setRetorno(RetornoInclusaoDocumento retorno) { | ||
20 | - this.retorno = retorno; | ||
21 | - } | ||
22 | - public String getMensagem() { | ||
23 | - return mensagem; | ||
24 | - } | ||
25 | - public void setMensagem(String mensagem) { | ||
26 | - this.mensagem = mensagem; | ||
27 | - } | 23 | + |
28 | } | 24 | } |
src/main/java/br/gov/ans/integracao/sei/modelo/SobrestamentoProcesso.java
@@ -4,36 +4,21 @@ import com.fasterxml.jackson.annotation.JsonIgnoreProperties; | @@ -4,36 +4,21 @@ import com.fasterxml.jackson.annotation.JsonIgnoreProperties; | ||
4 | import com.fasterxml.jackson.annotation.JsonInclude; | 4 | import com.fasterxml.jackson.annotation.JsonInclude; |
5 | import com.fasterxml.jackson.annotation.JsonInclude.Include; | 5 | import com.fasterxml.jackson.annotation.JsonInclude.Include; |
6 | 6 | ||
7 | +import lombok.AllArgsConstructor; | ||
8 | +import lombok.Builder; | ||
9 | +import lombok.Data; | ||
10 | +import lombok.NoArgsConstructor; | ||
11 | + | ||
7 | @JsonInclude(content = Include.NON_NULL) | 12 | @JsonInclude(content = Include.NON_NULL) |
8 | @JsonIgnoreProperties(ignoreUnknown = true) | 13 | @JsonIgnoreProperties(ignoreUnknown = true) |
14 | +@NoArgsConstructor | ||
15 | +@AllArgsConstructor | ||
16 | +@Data | ||
17 | +@Builder | ||
9 | public class SobrestamentoProcesso { | 18 | public class SobrestamentoProcesso { |
10 | 19 | ||
11 | private String processo; | 20 | private String processo; |
12 | private String motivo; | 21 | private String motivo; |
13 | private String processoVinculado; | 22 | private String processoVinculado; |
14 | 23 | ||
15 | - public String getMotivo() { | ||
16 | - return motivo; | ||
17 | - } | ||
18 | - | ||
19 | - public void setMotivo(String motivo) { | ||
20 | - this.motivo = motivo; | ||
21 | - } | ||
22 | - | ||
23 | - public String getProcessoVinculado() { | ||
24 | - return processoVinculado; | ||
25 | - } | ||
26 | - | ||
27 | - public void setProcessoVinculado(String processoVinculado) { | ||
28 | - this.processoVinculado = processoVinculado; | ||
29 | - } | ||
30 | - | ||
31 | - public String getProcesso() { | ||
32 | - return processo; | ||
33 | - } | ||
34 | - | ||
35 | - public void setProcesso(String processo) { | ||
36 | - this.processo = processo; | ||
37 | - } | ||
38 | - | ||
39 | } | 24 | } |
src/main/java/br/gov/ans/integracao/sei/modelo/Tarefa.java
@@ -4,8 +4,17 @@ import com.fasterxml.jackson.annotation.JsonIgnoreProperties; | @@ -4,8 +4,17 @@ import com.fasterxml.jackson.annotation.JsonIgnoreProperties; | ||
4 | import com.fasterxml.jackson.annotation.JsonInclude; | 4 | import com.fasterxml.jackson.annotation.JsonInclude; |
5 | import com.fasterxml.jackson.annotation.JsonInclude.Include; | 5 | import com.fasterxml.jackson.annotation.JsonInclude.Include; |
6 | 6 | ||
7 | +import lombok.AllArgsConstructor; | ||
8 | +import lombok.Builder; | ||
9 | +import lombok.Data; | ||
10 | +import lombok.NoArgsConstructor; | ||
11 | + | ||
7 | @JsonInclude(content = Include.NON_NULL) | 12 | @JsonInclude(content = Include.NON_NULL) |
8 | @JsonIgnoreProperties(ignoreUnknown = true) | 13 | @JsonIgnoreProperties(ignoreUnknown = true) |
14 | +@NoArgsConstructor | ||
15 | +@AllArgsConstructor | ||
16 | +@Data | ||
17 | +@Builder | ||
9 | public class Tarefa { | 18 | public class Tarefa { |
10 | 19 | ||
11 | private Long identificador; | 20 | private Long identificador; |
@@ -17,68 +26,4 @@ public class Tarefa { | @@ -17,68 +26,4 @@ public class Tarefa { | ||
17 | private String lancarAndamentoFechado; | 26 | private String lancarAndamentoFechado; |
18 | private String permiteProcessoFechado; | 27 | private String permiteProcessoFechado; |
19 | 28 | ||
20 | - public Long getIdentificador() { | ||
21 | - return identificador; | ||
22 | - } | ||
23 | - | ||
24 | - public void setIdentificador(Long identificador) { | ||
25 | - this.identificador = identificador; | ||
26 | - } | ||
27 | - | ||
28 | - public String getNome() { | ||
29 | - return nome; | ||
30 | - } | ||
31 | - | ||
32 | - public void setNome(String nome) { | ||
33 | - this.nome = nome; | ||
34 | - } | ||
35 | - | ||
36 | - public Long getIdenticadorTarefaModulo() { | ||
37 | - return identicadorTarefaModulo; | ||
38 | - } | ||
39 | - | ||
40 | - public void setIdenticadorTarefaModulo(Long identicadorTarefaModulo) { | ||
41 | - this.identicadorTarefaModulo = identicadorTarefaModulo; | ||
42 | - } | ||
43 | - | ||
44 | - public String getHistoricoResumido() { | ||
45 | - return historicoResumido; | ||
46 | - } | ||
47 | - | ||
48 | - public void setHistoricoResumido(String historicoResumido) { | ||
49 | - this.historicoResumido = historicoResumido; | ||
50 | - } | ||
51 | - | ||
52 | - public String getHistoricoCompleto() { | ||
53 | - return historicoCompleto; | ||
54 | - } | ||
55 | - | ||
56 | - public void setHistoricoCompleto(String historicoCompleto) { | ||
57 | - this.historicoCompleto = historicoCompleto; | ||
58 | - } | ||
59 | - | ||
60 | - public String getFecharAndamentosAbertos() { | ||
61 | - return fecharAndamentosAbertos; | ||
62 | - } | ||
63 | - | ||
64 | - public void setFecharAndamentosAbertos(String fecharAndamentosAbertos) { | ||
65 | - this.fecharAndamentosAbertos = fecharAndamentosAbertos; | ||
66 | - } | ||
67 | - | ||
68 | - public String getLancarAndamentoFechado() { | ||
69 | - return lancarAndamentoFechado; | ||
70 | - } | ||
71 | - | ||
72 | - public void setLancarAndamentoFechado(String lancarAndamentoFechado) { | ||
73 | - this.lancarAndamentoFechado = lancarAndamentoFechado; | ||
74 | - } | ||
75 | - | ||
76 | - public String getPermiteProcessoFechado() { | ||
77 | - return permiteProcessoFechado; | ||
78 | - } | ||
79 | - | ||
80 | - public void setPermiteProcessoFechado(String permiteProcessoFechado) { | ||
81 | - this.permiteProcessoFechado = permiteProcessoFechado; | ||
82 | - } | ||
83 | - | ||
84 | } | 29 | } |
src/main/java/br/gov/ans/integracao/sei/modelo/Template.java
@@ -6,36 +6,21 @@ import com.fasterxml.jackson.annotation.JsonIgnoreProperties; | @@ -6,36 +6,21 @@ import com.fasterxml.jackson.annotation.JsonIgnoreProperties; | ||
6 | import com.fasterxml.jackson.annotation.JsonInclude; | 6 | import com.fasterxml.jackson.annotation.JsonInclude; |
7 | import com.fasterxml.jackson.annotation.JsonInclude.Include; | 7 | import com.fasterxml.jackson.annotation.JsonInclude.Include; |
8 | 8 | ||
9 | +import lombok.AllArgsConstructor; | ||
10 | +import lombok.Builder; | ||
11 | +import lombok.Data; | ||
12 | +import lombok.NoArgsConstructor; | ||
13 | + | ||
9 | @JsonInclude(content = Include.NON_NULL) | 14 | @JsonInclude(content = Include.NON_NULL) |
10 | @JsonIgnoreProperties(ignoreUnknown = true) | 15 | @JsonIgnoreProperties(ignoreUnknown = true) |
16 | +@NoArgsConstructor | ||
17 | +@AllArgsConstructor | ||
18 | +@Data | ||
19 | +@Builder | ||
11 | public class Template { | 20 | public class Template { |
12 | 21 | ||
13 | private String nome; | 22 | private String nome; |
14 | private Date dataModificacao; | 23 | private Date dataModificacao; |
15 | private String conteudo; | 24 | private String conteudo; |
16 | 25 | ||
17 | - public String getNome() { | ||
18 | - return nome; | ||
19 | - } | ||
20 | - | ||
21 | - public void setNome(String nome) { | ||
22 | - this.nome = nome; | ||
23 | - } | ||
24 | - | ||
25 | - public Date getDataModificacao() { | ||
26 | - return dataModificacao; | ||
27 | - } | ||
28 | - | ||
29 | - public void setDataModificacao(Date dataModificacao) { | ||
30 | - this.dataModificacao = dataModificacao; | ||
31 | - } | ||
32 | - | ||
33 | - public String getConteudo() { | ||
34 | - return conteudo; | ||
35 | - } | ||
36 | - | ||
37 | - public void setConteudo(String conteudo) { | ||
38 | - this.conteudo = conteudo; | ||
39 | - } | ||
40 | - | ||
41 | } | 26 | } |
src/main/java/br/gov/ans/integracao/sei/modelo/Tipo.java
@@ -4,26 +4,20 @@ import com.fasterxml.jackson.annotation.JsonIgnoreProperties; | @@ -4,26 +4,20 @@ import com.fasterxml.jackson.annotation.JsonIgnoreProperties; | ||
4 | import com.fasterxml.jackson.annotation.JsonInclude; | 4 | import com.fasterxml.jackson.annotation.JsonInclude; |
5 | import com.fasterxml.jackson.annotation.JsonInclude.Include; | 5 | import com.fasterxml.jackson.annotation.JsonInclude.Include; |
6 | 6 | ||
7 | +import lombok.AllArgsConstructor; | ||
8 | +import lombok.Builder; | ||
9 | +import lombok.Data; | ||
10 | +import lombok.NoArgsConstructor; | ||
11 | + | ||
7 | @JsonInclude(content = Include.NON_NULL) | 12 | @JsonInclude(content = Include.NON_NULL) |
8 | @JsonIgnoreProperties(ignoreUnknown = true) | 13 | @JsonIgnoreProperties(ignoreUnknown = true) |
14 | +@NoArgsConstructor | ||
15 | +@AllArgsConstructor | ||
16 | +@Data | ||
17 | +@Builder | ||
9 | public class Tipo { | 18 | public class Tipo { |
10 | 19 | ||
11 | private String codigo; | 20 | private String codigo; |
12 | private String nome; | 21 | private String nome; |
13 | 22 | ||
14 | - public String getCodigo() { | ||
15 | - return codigo; | ||
16 | - } | ||
17 | - | ||
18 | - public void setCodigo(String codigo) { | ||
19 | - this.codigo = codigo; | ||
20 | - } | ||
21 | - | ||
22 | - public String getNome() { | ||
23 | - return nome; | ||
24 | - } | ||
25 | - | ||
26 | - public void setNome(String nome) { | ||
27 | - this.nome = nome; | ||
28 | - } | ||
29 | } | 23 | } |
src/main/java/br/gov/ans/integracao/sei/modelo/TipoContato.java
@@ -4,36 +4,21 @@ import com.fasterxml.jackson.annotation.JsonIgnoreProperties; | @@ -4,36 +4,21 @@ import com.fasterxml.jackson.annotation.JsonIgnoreProperties; | ||
4 | import com.fasterxml.jackson.annotation.JsonInclude; | 4 | import com.fasterxml.jackson.annotation.JsonInclude; |
5 | import com.fasterxml.jackson.annotation.JsonInclude.Include; | 5 | import com.fasterxml.jackson.annotation.JsonInclude.Include; |
6 | 6 | ||
7 | +import lombok.AllArgsConstructor; | ||
8 | +import lombok.Builder; | ||
9 | +import lombok.Data; | ||
10 | +import lombok.NoArgsConstructor; | ||
11 | + | ||
7 | @JsonInclude(content = Include.NON_NULL) | 12 | @JsonInclude(content = Include.NON_NULL) |
8 | @JsonIgnoreProperties(ignoreUnknown = true) | 13 | @JsonIgnoreProperties(ignoreUnknown = true) |
14 | +@NoArgsConstructor | ||
15 | +@AllArgsConstructor | ||
16 | +@Data | ||
17 | +@Builder | ||
9 | public class TipoContato { | 18 | public class TipoContato { |
10 | 19 | ||
11 | private Long id; | 20 | private Long id; |
12 | private String nome; | 21 | private String nome; |
13 | private String descricao; | 22 | private String descricao; |
14 | 23 | ||
15 | - public Long getId() { | ||
16 | - return id; | ||
17 | - } | ||
18 | - | ||
19 | - public void setId(Long id) { | ||
20 | - this.id = id; | ||
21 | - } | ||
22 | - | ||
23 | - public String getNome() { | ||
24 | - return nome; | ||
25 | - } | ||
26 | - | ||
27 | - public void setNome(String nome) { | ||
28 | - this.nome = nome; | ||
29 | - } | ||
30 | - | ||
31 | - public String getDescricao() { | ||
32 | - return descricao; | ||
33 | - } | ||
34 | - | ||
35 | - public void setDescricao(String descricao) { | ||
36 | - this.descricao = descricao; | ||
37 | - } | ||
38 | - | ||
39 | } | 24 | } |
src/main/java/br/gov/ans/integracao/sei/modelo/TipoDocumento.java
@@ -4,40 +4,21 @@ import com.fasterxml.jackson.annotation.JsonIgnoreProperties; | @@ -4,40 +4,21 @@ import com.fasterxml.jackson.annotation.JsonIgnoreProperties; | ||
4 | import com.fasterxml.jackson.annotation.JsonInclude; | 4 | import com.fasterxml.jackson.annotation.JsonInclude; |
5 | import com.fasterxml.jackson.annotation.JsonInclude.Include; | 5 | import com.fasterxml.jackson.annotation.JsonInclude.Include; |
6 | 6 | ||
7 | +import lombok.AllArgsConstructor; | ||
8 | +import lombok.Builder; | ||
9 | +import lombok.Data; | ||
10 | +import lombok.NoArgsConstructor; | ||
11 | + | ||
7 | @JsonInclude(content = Include.NON_NULL) | 12 | @JsonInclude(content = Include.NON_NULL) |
8 | @JsonIgnoreProperties(ignoreUnknown = true) | 13 | @JsonIgnoreProperties(ignoreUnknown = true) |
14 | +@NoArgsConstructor | ||
15 | +@AllArgsConstructor | ||
16 | +@Data | ||
17 | +@Builder | ||
9 | public class TipoDocumento { | 18 | public class TipoDocumento { |
10 | 19 | ||
11 | private String identificador; | 20 | private String identificador; |
12 | private String nome; | 21 | private String nome; |
13 | private String aplicabilidade; | 22 | private String aplicabilidade; |
14 | 23 | ||
15 | - public TipoDocumento(){} | ||
16 | - | ||
17 | - public TipoDocumento(String identificador, String nome, String aplicabilidade){ | ||
18 | - this.identificador = identificador; | ||
19 | - this.nome = nome; | ||
20 | - this.aplicabilidade = aplicabilidade; | ||
21 | - } | ||
22 | - | ||
23 | - public String getIdentificador() { | ||
24 | - return identificador; | ||
25 | - } | ||
26 | - public void setIdentificador(String identificador) { | ||
27 | - this.identificador = identificador; | ||
28 | - } | ||
29 | - public String getNome() { | ||
30 | - return nome; | ||
31 | - } | ||
32 | - public void setNome(String nome) { | ||
33 | - this.nome = nome; | ||
34 | - } | ||
35 | - | ||
36 | - public String getAplicabilidade() { | ||
37 | - return aplicabilidade; | ||
38 | - } | ||
39 | - | ||
40 | - public void setAplicabilidade(String aplicabilidade) { | ||
41 | - this.aplicabilidade = aplicabilidade; | ||
42 | - } | ||
43 | } | 24 | } |
src/main/java/br/gov/ans/integracao/sei/modelo/UnidadeTarefa.java
@@ -8,33 +8,24 @@ import com.fasterxml.jackson.annotation.JsonInclude; | @@ -8,33 +8,24 @@ import com.fasterxml.jackson.annotation.JsonInclude; | ||
8 | import com.fasterxml.jackson.annotation.JsonInclude.Include; | 8 | import com.fasterxml.jackson.annotation.JsonInclude.Include; |
9 | 9 | ||
10 | import br.gov.ans.integracao.sei.client.Unidade; | 10 | import br.gov.ans.integracao.sei.client.Unidade; |
11 | +import lombok.AllArgsConstructor; | ||
12 | +import lombok.Data; | ||
13 | +import lombok.EqualsAndHashCode; | ||
14 | +import lombok.NoArgsConstructor; | ||
11 | 15 | ||
12 | @JsonInclude(content = Include.NON_NULL) | 16 | @JsonInclude(content = Include.NON_NULL) |
13 | @JsonIgnoreProperties(ignoreUnknown = true) | 17 | @JsonIgnoreProperties(ignoreUnknown = true) |
18 | +@NoArgsConstructor | ||
19 | +@AllArgsConstructor | ||
20 | +@EqualsAndHashCode(callSuper=true) | ||
21 | +@Data | ||
14 | public class UnidadeTarefa extends Unidade{ | 22 | public class UnidadeTarefa extends Unidade{ |
15 | 23 | ||
16 | private static final long serialVersionUID = 1L; | 24 | private static final long serialVersionUID = 1L; |
17 | 25 | ||
18 | - private int tarefa; | ||
19 | - private Date data; | ||
20 | - | ||
21 | @JsonIgnore | 26 | @JsonIgnore |
22 | - public int getTarefa() { | ||
23 | - return tarefa; | ||
24 | - } | ||
25 | - | ||
26 | - @JsonIgnore | ||
27 | - public void setTarefa(int tarefa) { | ||
28 | - this.tarefa = tarefa; | ||
29 | - } | ||
30 | - | ||
31 | - @JsonIgnore | ||
32 | - public Date getData() { | ||
33 | - return data; | ||
34 | - } | ||
35 | - | 27 | + private int tarefa; |
36 | @JsonIgnore | 28 | @JsonIgnore |
37 | - public void setData(Date data) { | ||
38 | - this.data = data; | ||
39 | - } | 29 | + private Date data; |
30 | + | ||
40 | } | 31 | } |
41 | \ No newline at end of file | 32 | \ No newline at end of file |
src/main/java/br/gov/ans/integracao/sei/modelo/Usuario.java
@@ -4,31 +4,21 @@ import com.fasterxml.jackson.annotation.JsonIgnoreProperties; | @@ -4,31 +4,21 @@ import com.fasterxml.jackson.annotation.JsonIgnoreProperties; | ||
4 | import com.fasterxml.jackson.annotation.JsonInclude; | 4 | import com.fasterxml.jackson.annotation.JsonInclude; |
5 | import com.fasterxml.jackson.annotation.JsonInclude.Include; | 5 | import com.fasterxml.jackson.annotation.JsonInclude.Include; |
6 | 6 | ||
7 | +import lombok.AllArgsConstructor; | ||
8 | +import lombok.Builder; | ||
9 | +import lombok.Data; | ||
10 | +import lombok.NoArgsConstructor; | ||
11 | + | ||
7 | @JsonInclude(content = Include.NON_NULL) | 12 | @JsonInclude(content = Include.NON_NULL) |
8 | @JsonIgnoreProperties(ignoreUnknown = true) | 13 | @JsonIgnoreProperties(ignoreUnknown = true) |
14 | +@NoArgsConstructor | ||
15 | +@AllArgsConstructor | ||
16 | +@Data | ||
17 | +@Builder | ||
9 | public class Usuario { | 18 | public class Usuario { |
10 | 19 | ||
11 | private String codigo; | 20 | private String codigo; |
12 | private String nome; | 21 | private String nome; |
13 | private String login; | 22 | private String login; |
14 | 23 | ||
15 | - public String getCodigo() { | ||
16 | - return codigo; | ||
17 | - } | ||
18 | - public void setCodigo(String codigo) { | ||
19 | - this.codigo = codigo; | ||
20 | - } | ||
21 | - public String getNome() { | ||
22 | - return nome; | ||
23 | - } | ||
24 | - public void setNome(String nome) { | ||
25 | - this.nome = nome; | ||
26 | - } | ||
27 | - public String getLogin() { | ||
28 | - return login; | ||
29 | - } | ||
30 | - public void setLogin(String login) { | ||
31 | - this.login = login; | ||
32 | - } | ||
33 | - | ||
34 | } | 24 | } |
src/main/java/br/gov/ans/integracao/sipar/modelo/DocumentoSipar.java
@@ -7,8 +7,17 @@ import com.fasterxml.jackson.annotation.JsonIgnoreProperties; | @@ -7,8 +7,17 @@ import com.fasterxml.jackson.annotation.JsonIgnoreProperties; | ||
7 | import com.fasterxml.jackson.annotation.JsonInclude; | 7 | import com.fasterxml.jackson.annotation.JsonInclude; |
8 | import com.fasterxml.jackson.annotation.JsonInclude.Include; | 8 | import com.fasterxml.jackson.annotation.JsonInclude.Include; |
9 | 9 | ||
10 | +import lombok.AllArgsConstructor; | ||
11 | +import lombok.Builder; | ||
12 | +import lombok.Data; | ||
13 | +import lombok.NoArgsConstructor; | ||
14 | + | ||
10 | @JsonInclude(content = Include.NON_NULL) | 15 | @JsonInclude(content = Include.NON_NULL) |
11 | @JsonIgnoreProperties(ignoreUnknown = true) | 16 | @JsonIgnoreProperties(ignoreUnknown = true) |
17 | +@NoArgsConstructor | ||
18 | +@AllArgsConstructor | ||
19 | +@Data | ||
20 | +@Builder | ||
12 | public class DocumentoSipar implements Serializable{ | 21 | public class DocumentoSipar implements Serializable{ |
13 | 22 | ||
14 | private static final long serialVersionUID = 1L; | 23 | private static final long serialVersionUID = 1L; |
@@ -23,85 +32,5 @@ public class DocumentoSipar implements Serializable{ | @@ -23,85 +32,5 @@ public class DocumentoSipar implements Serializable{ | ||
23 | private Long orgaoOrigem; | 32 | private Long orgaoOrigem; |
24 | private Long orgaoRegistro; | 33 | private Long orgaoRegistro; |
25 | private Long assunto; | 34 | private Long assunto; |
26 | - | ||
27 | - public String getDigito() { | ||
28 | - return digito; | ||
29 | - } | ||
30 | - | ||
31 | - public void setDigito(String digito) { | ||
32 | - this.digito = digito; | ||
33 | - } | ||
34 | - | ||
35 | - public Long getAssunto() { | ||
36 | - return assunto; | ||
37 | - } | ||
38 | - | ||
39 | - public void setAssunto(Long assunto) { | ||
40 | - this.assunto = assunto; | ||
41 | - } | ||
42 | - | ||
43 | - public String getOperadora() { | ||
44 | - return operadora; | ||
45 | - } | ||
46 | - | ||
47 | - public void setOperadora(String operadora) { | ||
48 | - this.operadora = operadora; | ||
49 | - } | ||
50 | - | ||
51 | - public Date getEmissao() { | ||
52 | - return emissao; | ||
53 | - } | ||
54 | - | ||
55 | - public void setEmissao(Date emissao) { | ||
56 | - this.emissao = emissao; | ||
57 | - } | ||
58 | - | ||
59 | - public String getTipo() { | ||
60 | - return tipo; | ||
61 | - } | ||
62 | - | ||
63 | - public void setTipo(String tipo) { | ||
64 | - this.tipo = tipo; | ||
65 | - } | ||
66 | - | ||
67 | - public String getResumo() { | ||
68 | - return resumo; | ||
69 | - } | ||
70 | - | ||
71 | - public void setResumo(String resumo) { | ||
72 | - this.resumo = resumo; | ||
73 | - } | ||
74 | - | ||
75 | - public Long getOrgaoPosse() { | ||
76 | - return orgaoPosse; | ||
77 | - } | ||
78 | - | ||
79 | - public void setOrgaoPosse(Long orgaoPosse) { | ||
80 | - this.orgaoPosse = orgaoPosse; | ||
81 | - } | ||
82 | - | ||
83 | - public Long getOrgaoOrigem() { | ||
84 | - return orgaoOrigem; | ||
85 | - } | ||
86 | - | ||
87 | - public void setOrgaoOrigem(Long orgaoOrigem) { | ||
88 | - this.orgaoOrigem = orgaoOrigem; | ||
89 | - } | ||
90 | - | ||
91 | - public Long getOrgaoRegistro() { | ||
92 | - return orgaoRegistro; | ||
93 | - } | ||
94 | - | ||
95 | - public void setOrgaoRegistro(Long orgaoRegistro) { | ||
96 | - this.orgaoRegistro = orgaoRegistro; | ||
97 | - } | ||
98 | - | ||
99 | - public Date getRegistro() { | ||
100 | - return registro; | ||
101 | - } | ||
102 | - | ||
103 | - public void setRegistro(Date registro) { | ||
104 | - this.registro = registro; | ||
105 | - } | ||
106 | 35 | ||
107 | } | 36 | } |