Rev 1576 | Go to most recent revision | Details | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
1574 | jmachado | 1 | package pt.estgp.estgweb.services.questionarios.pedagogico.reportprocessors.reportsdomain; |
2 | |||
3 | import pt.estgp.estgweb.services.questionarios.pedagogico.reportprocessors.queries.PerguntasGrupoQueryDao; |
||
4 | import pt.estgp.estgweb.services.questionarios.pedagogico.reportprocessors.utils.DataTable; |
||
5 | import pt.estgp.estgweb.services.questionarios.pedagogico.reportprocessors.utils.TabelaPerguntaComparativosUnidades; |
||
6 | |||
7 | import java.io.Serializable; |
||
8 | import java.util.ArrayList; |
||
9 | import java.util.HashMap; |
||
10 | |||
11 | /** |
||
12 | * Created by jorgemachado on 07/12/16. |
||
13 | */ |
||
14 | public class QuestionariosAlunosReport extends QuestionariosReport implements 1.5.0/docs/api/java/io/Serializable.html">Serializable |
||
15 | { |
||
16 | |||
17 | ArrayList<String> semestres; |
||
18 | ArrayList<String> degrees; |
||
19 | 1.5.0/docs/api/java/lang/String.html">String anoLectivo; |
||
20 | |||
21 | //Tipos de Alunos |
||
22 | public int tipoAlunosNormalComResposta; |
||
23 | public int tipoAlunosTrabalhadorEstudanteComResposta; |
||
24 | public int tipoAlunosErasmusComResposta; |
||
25 | public int tipoAlunosOutros; |
||
26 | |||
27 | public int tipoAlunosNormalComRespostaPercent; |
||
28 | public int tipoAlunosTrabalhadorEstudanteComRespostaPercent; |
||
29 | public int tipoAlunosErasmusComRespostaPercent; |
||
30 | public int tipoAlunosOutrosPercent; |
||
31 | |||
32 | //GRAFICOS |
||
33 | public 1.5.0/docs/api/java/lang/String.html">String pathGraficoTaxaRespostaAlunos; |
||
34 | public 1.5.0/docs/api/java/lang/String.html">String pathGraficoTiposAlunosComResposta; |
||
35 | public 1.5.0/docs/api/java/lang/String.html">String pathGraficoContribuicaoUnidades; |
||
36 | |||
37 | //TABELAS |
||
38 | public DataTable tabelaTaxaRespostaUnidade; |
||
39 | public DataTable tabelaTaxaRespostaUnidadeOrderTaxa; |
||
40 | |||
41 | public ArrayList<ParticipacaoUnidade> participacoesUnidades = new ArrayList<ParticipacaoUnidade>(); |
||
42 | |||
43 | public ArrayList<TabelaPerguntaComparativosUnidades> listaUnidadesComprativasPergunta = new ArrayList<TabelaPerguntaComparativosUnidades>(); |
||
44 | public ArrayList<TabelaPerguntaComparativosUnidades> listaUnidadesComprativasPerguntaSalas = new ArrayList<TabelaPerguntaComparativosUnidades>(); |
||
45 | |||
46 | public ArrayList<TabelaPerguntaComparativosUnidades> getListaUnidadesComprativasPerguntaSalas() { |
||
47 | return listaUnidadesComprativasPerguntaSalas; |
||
48 | } |
||
49 | |||
50 | public void setListaUnidadesComprativasPerguntaSalas(ArrayList<TabelaPerguntaComparativosUnidades> listaUnidadesComprativasPerguntaSalas) { |
||
51 | this.listaUnidadesComprativasPerguntaSalas = listaUnidadesComprativasPerguntaSalas; |
||
52 | } |
||
53 | |||
54 | public ArrayList<TabelaPerguntaComparativosUnidades> getListaUnidadesComprativasPergunta() { |
||
55 | return listaUnidadesComprativasPergunta; |
||
56 | } |
||
57 | |||
58 | public void setListaUnidadesComprativasPergunta(ArrayList<TabelaPerguntaComparativosUnidades> listaUnidadesComprativasPergunta) { |
||
59 | this.listaUnidadesComprativasPergunta = listaUnidadesComprativasPergunta; |
||
60 | } |
||
61 | |||
62 | //MEDIAS GLOBAIS |
||
63 | //Preenchidas no UnidadeQueryDao durante o preenchimento das unidadesCurriculares porque sao necessarias as |
||
64 | //medias dos grupos e das perguntas nas escolas e nos cursos das perguntas |
||
65 | //Obtem-se o valor no PerguntaGrupoQueryDao pode-se invocar os metodos por aqui com este proxy |
||
66 | private HashMap<String,PerguntasGrupoQueryDao.MediaGlobalCursoPergunta> mediasPerguntaNoCurso = new HashMap<String, PerguntasGrupoQueryDao.MediaGlobalCursoPergunta>(); |
||
67 | private HashMap<String,PerguntasGrupoQueryDao.MediaGlobalEscolaPergunta> mediasPerguntaNaEscola = new HashMap<String, PerguntasGrupoQueryDao.MediaGlobalEscolaPergunta>(); |
||
68 | private HashMap<String,PerguntasGrupoQueryDao.MediaGlobalCursoGrupo> mediasGrupoNoCurso = new HashMap<String, PerguntasGrupoQueryDao.MediaGlobalCursoGrupo>(); |
||
69 | private HashMap<String,PerguntasGrupoQueryDao.MediaGlobalEscolaGrupo> mediasGrupoNaEscola = new HashMap<String, PerguntasGrupoQueryDao.MediaGlobalEscolaGrupo>(); |
||
70 | |||
71 | public PerguntasGrupoQueryDao.MediaGlobalCursoPergunta mediaPerguntaNoCurso(1.5.0/docs/api/java/lang/String.html">String codigoCurso, 1.5.0/docs/api/java/lang/String.html">String anoLectivo, 1.5.0/docs/api/java/lang/String.html">String numeroPergunta,1.5.0/docs/api/java/lang/String.html">String[] periodos,1.5.0/docs/api/java/lang/String.html">String[]degrees) |
||
72 | { |
||
73 | return PerguntasGrupoQueryDao.getMediaCursoPergunta(this,codigoCurso,anoLectivo,numeroPergunta,periodos); |
||
74 | } |
||
75 | public PerguntasGrupoQueryDao.MediaGlobalCursoGrupo mediaGrupoNoCurso(1.5.0/docs/api/java/lang/String.html">String codigoCurso, 1.5.0/docs/api/java/lang/String.html">String anoLectivo, 1.5.0/docs/api/java/lang/String.html">String grupo,1.5.0/docs/api/java/lang/String.html">String subGrupo,1.5.0/docs/api/java/lang/String.html">String[] periodos,1.5.0/docs/api/java/lang/String.html">String[]degrees) |
||
76 | { |
||
77 | return PerguntasGrupoQueryDao.getMediaCursoGrupo(this, codigoCurso,anoLectivo,grupo,subGrupo,periodos); |
||
78 | } |
||
79 | public PerguntasGrupoQueryDao.MediaGlobalEscolaPergunta mediaPerguntaNaEscola(1.5.0/docs/api/java/lang/String.html">String codigoEscola, 1.5.0/docs/api/java/lang/String.html">String anoLectivo, 1.5.0/docs/api/java/lang/String.html">String numeroPergunta,1.5.0/docs/api/java/lang/String.html">String[] periodos,1.5.0/docs/api/java/lang/String.html">String[]degrees) |
||
80 | { |
||
81 | return PerguntasGrupoQueryDao.getMediaEscolaPergunta(this, codigoEscola, anoLectivo, numeroPergunta,periodos,degrees); |
||
82 | } |
||
83 | public PerguntasGrupoQueryDao.MediaGlobalEscolaGrupo mediaGrupoNaEscola(1.5.0/docs/api/java/lang/String.html">String codigoEscola, 1.5.0/docs/api/java/lang/String.html">String anoLectivo, 1.5.0/docs/api/java/lang/String.html">String grupo,1.5.0/docs/api/java/lang/String.html">String subGrupo,1.5.0/docs/api/java/lang/String.html">String[] periodos,1.5.0/docs/api/java/lang/String.html">String[]degrees) |
||
84 | { |
||
85 | return PerguntasGrupoQueryDao.getMediaEscolaGrupo(this, codigoEscola, anoLectivo, grupo,subGrupo, periodos,degrees); |
||
86 | } |
||
87 | |||
88 | public HashMap<String, PerguntasGrupoQueryDao.MediaGlobalCursoPergunta> getMediasPerguntaNoCurso() { |
||
89 | return mediasPerguntaNoCurso; |
||
90 | } |
||
91 | |||
92 | public void setMediasPerguntaNoCurso(HashMap<String, PerguntasGrupoQueryDao.MediaGlobalCursoPergunta> mediasPerguntaNoCurso) { |
||
93 | this.mediasPerguntaNoCurso = mediasPerguntaNoCurso; |
||
94 | } |
||
95 | |||
96 | public HashMap<String, PerguntasGrupoQueryDao.MediaGlobalEscolaPergunta> getMediasPerguntaNaEscola() { |
||
97 | return mediasPerguntaNaEscola; |
||
98 | } |
||
99 | |||
100 | public void setMediasPerguntaNaEscola(HashMap<String, PerguntasGrupoQueryDao.MediaGlobalEscolaPergunta> mediasPerguntaNaEscola) { |
||
101 | this.mediasPerguntaNaEscola = mediasPerguntaNaEscola; |
||
102 | } |
||
103 | |||
104 | public HashMap<String, PerguntasGrupoQueryDao.MediaGlobalCursoGrupo> getMediasGrupoNoCurso() { |
||
105 | return mediasGrupoNoCurso; |
||
106 | } |
||
107 | |||
108 | public void setMediasGrupoNoCurso(HashMap<String, PerguntasGrupoQueryDao.MediaGlobalCursoGrupo> mediasGrupoNoCurso) { |
||
109 | this.mediasGrupoNoCurso = mediasGrupoNoCurso; |
||
110 | } |
||
111 | |||
112 | public HashMap<String, PerguntasGrupoQueryDao.MediaGlobalEscolaGrupo> getMediasGrupoNaEscola() { |
||
113 | return mediasGrupoNaEscola; |
||
114 | } |
||
115 | |||
116 | public void setMediasGrupoNaEscola(HashMap<String, PerguntasGrupoQueryDao.MediaGlobalEscolaGrupo> mediasGrupoNaEscola) { |
||
117 | this.mediasGrupoNaEscola = mediasGrupoNaEscola; |
||
118 | } |
||
119 | |||
120 | |||
121 | |||
122 | |||
123 | |||
124 | |||
125 | |||
126 | |||
127 | public DataTable getTabelaTaxaRespostaUnidadeOrderTaxa() { |
||
128 | return tabelaTaxaRespostaUnidadeOrderTaxa; |
||
129 | } |
||
130 | |||
131 | public void setTabelaTaxaRespostaUnidadeOrderTaxa(DataTable tabelaTaxaRespostaUnidadeOrderTaxa) { |
||
132 | this.tabelaTaxaRespostaUnidadeOrderTaxa = tabelaTaxaRespostaUnidadeOrderTaxa; |
||
133 | } |
||
134 | |||
135 | public 1.5.0/docs/api/java/lang/String.html">String getAnoLectivo() { |
||
136 | return anoLectivo; |
||
137 | } |
||
138 | |||
139 | public void setAnoLectivo(1.5.0/docs/api/java/lang/String.html">String anoLectivo) { |
||
140 | this.anoLectivo = anoLectivo; |
||
141 | } |
||
142 | |||
143 | public ArrayList<String> getSemestres() { |
||
144 | return semestres; |
||
145 | } |
||
146 | |||
147 | public void setSemestres(ArrayList<String> semestres) { |
||
148 | this.semestres = semestres; |
||
149 | } |
||
150 | |||
151 | public ArrayList<String> getDegrees() { |
||
152 | return degrees; |
||
153 | } |
||
154 | |||
155 | public void setDegrees(ArrayList<String> degrees) { |
||
156 | this.degrees = degrees; |
||
157 | } |
||
158 | |||
159 | public ArrayList<ParticipacaoUnidade> getParticipacoesUnidades() { |
||
160 | return participacoesUnidades; |
||
161 | } |
||
162 | |||
163 | public void setParticipacoesUnidades(ArrayList<ParticipacaoUnidade> participacoesUnidades) { |
||
164 | this.participacoesUnidades = participacoesUnidades; |
||
165 | } |
||
166 | |||
167 | public 1.5.0/docs/api/java/lang/String.html">String getPathGraficoContribuicaoUnidades() { |
||
168 | return pathGraficoContribuicaoUnidades; |
||
169 | } |
||
170 | |||
171 | public void setPathGraficoContribuicaoUnidades(1.5.0/docs/api/java/lang/String.html">String pathGraficoContribuicaoUnidades) { |
||
172 | this.pathGraficoContribuicaoUnidades = pathGraficoContribuicaoUnidades; |
||
173 | } |
||
174 | |||
175 | public DataTable getTabelaTaxaRespostaUnidade() { |
||
176 | return tabelaTaxaRespostaUnidade; |
||
177 | } |
||
178 | |||
179 | public void setTabelaTaxaRespostaUnidade(DataTable tabelaTaxaRespostaUnidade) { |
||
180 | this.tabelaTaxaRespostaUnidade = tabelaTaxaRespostaUnidade; |
||
181 | } |
||
182 | |||
183 | |||
184 | public int getAlunosTotal() { |
||
185 | return inquiridosTotal; |
||
186 | } |
||
187 | |||
188 | public void setAlunosTotal(int alunosTotal) { |
||
189 | this.inquiridosTotal = alunosTotal; |
||
190 | } |
||
191 | |||
192 | public 1.5.0/docs/api/java/lang/String.html">String getPathGraficoTaxaRespostaAlunos() { |
||
193 | return pathGraficoTaxaRespostaAlunos; |
||
194 | } |
||
195 | |||
196 | public void setPathGraficoTaxaRespostaAlunos(1.5.0/docs/api/java/lang/String.html">String pathGraficoTaxaRespostaAlunos) { |
||
197 | this.pathGraficoTaxaRespostaAlunos = pathGraficoTaxaRespostaAlunos; |
||
198 | } |
||
199 | |||
200 | public 1.5.0/docs/api/java/lang/String.html">String getPathGraficoTiposAlunosComResposta() { |
||
201 | return pathGraficoTiposAlunosComResposta; |
||
202 | } |
||
203 | |||
204 | public void setPathGraficoTiposAlunosComResposta(1.5.0/docs/api/java/lang/String.html">String pathGraficoTiposAlunosComResposta) { |
||
205 | this.pathGraficoTiposAlunosComResposta = pathGraficoTiposAlunosComResposta; |
||
206 | } |
||
207 | |||
208 | public int getAlunosComResposta() { |
||
209 | return inquiridosComResposta; |
||
210 | } |
||
211 | |||
212 | public void setAlunosComResposta(int alunosComResposta) { |
||
213 | this.inquiridosComResposta = alunosComResposta; |
||
214 | } |
||
215 | |||
216 | |||
217 | public int getAlunosNaoResponderam() { |
||
218 | return inquiridosNaoResponderam; |
||
219 | } |
||
220 | |||
221 | public void setAlunosNaoResponderam(int alunosNaoResponderam) { |
||
222 | this.inquiridosNaoResponderam = alunosNaoResponderam; |
||
223 | } |
||
224 | |||
225 | public int getTipoAlunosNormalComResposta() { |
||
226 | return tipoAlunosNormalComResposta; |
||
227 | } |
||
228 | |||
229 | public void setTipoAlunosNormalComResposta(int tipoAlunosNormalComResposta) { |
||
230 | this.tipoAlunosNormalComResposta = tipoAlunosNormalComResposta; |
||
231 | } |
||
232 | |||
233 | public int getTipoAlunosTrabalhadorEstudanteComResposta() { |
||
234 | return tipoAlunosTrabalhadorEstudanteComResposta; |
||
235 | } |
||
236 | |||
237 | public void setTipoAlunosTrabalhadorEstudanteComResposta(int tipoAlunosTrabalhadorEstudanteComResposta) { |
||
238 | this.tipoAlunosTrabalhadorEstudanteComResposta = tipoAlunosTrabalhadorEstudanteComResposta; |
||
239 | } |
||
240 | |||
241 | public int getTipoAlunosErasmusComResposta() { |
||
242 | return tipoAlunosErasmusComResposta; |
||
243 | } |
||
244 | |||
245 | public void setTipoAlunosErasmusComResposta(int tipoAlunosErasmusComResposta) { |
||
246 | this.tipoAlunosErasmusComResposta = tipoAlunosErasmusComResposta; |
||
247 | } |
||
248 | |||
249 | public int getTipoAlunosOutros() { |
||
250 | return tipoAlunosOutros; |
||
251 | } |
||
252 | |||
253 | public void setTipoAlunosOutros(int tipoAlunosOutros) { |
||
254 | this.tipoAlunosOutros = tipoAlunosOutros; |
||
255 | } |
||
256 | |||
257 | public int getTipoAlunosNormalComRespostaPercent() { |
||
258 | return tipoAlunosNormalComRespostaPercent; |
||
259 | } |
||
260 | |||
261 | public void setTipoAlunosNormalComRespostaPercent(int tipoAlunosNormalComRespostaPercent) { |
||
262 | this.tipoAlunosNormalComRespostaPercent = tipoAlunosNormalComRespostaPercent; |
||
263 | } |
||
264 | |||
265 | public int getTipoAlunosTrabalhadorEstudanteComRespostaPercent() { |
||
266 | return tipoAlunosTrabalhadorEstudanteComRespostaPercent; |
||
267 | } |
||
268 | |||
269 | public void setTipoAlunosTrabalhadorEstudanteComRespostaPercent(int tipoAlunosTrabalhadorEstudanteComRespostaPercent) { |
||
270 | this.tipoAlunosTrabalhadorEstudanteComRespostaPercent = tipoAlunosTrabalhadorEstudanteComRespostaPercent; |
||
271 | } |
||
272 | |||
273 | public int getTipoAlunosErasmusComRespostaPercent() { |
||
274 | return tipoAlunosErasmusComRespostaPercent; |
||
275 | } |
||
276 | |||
277 | public void setTipoAlunosErasmusComRespostaPercent(int tipoAlunosErasmusComRespostaPercent) { |
||
278 | this.tipoAlunosErasmusComRespostaPercent = tipoAlunosErasmusComRespostaPercent; |
||
279 | } |
||
280 | |||
281 | public int getTipoAlunosOutrosPercent() { |
||
282 | return tipoAlunosOutrosPercent; |
||
283 | } |
||
284 | |||
285 | public void setTipoAlunosOutrosPercent(int tipoAlunosOutrosPercent) { |
||
286 | this.tipoAlunosOutrosPercent = tipoAlunosOutrosPercent; |
||
287 | } |
||
288 | |||
289 | |||
290 | |||
291 | public static class ParticipacaoUnidade |
||
292 | { |
||
293 | int participaram; |
||
294 | int inscritos; |
||
295 | int participaramPercentagem; |
||
296 | 1.5.0/docs/api/java/lang/String.html">String nomeUnidade; |
||
297 | 1.5.0/docs/api/java/lang/String.html">String codigoUnidade; |
||
298 | double percentagemContribuicaoDaUnidadeNoUniversoUnidades; |
||
299 | 1.5.0/docs/api/java/lang/String.html">String percentagemContribuicaoDaUnidadeNoUniversoUnidadesPrint; |
||
300 | |||
301 | public int getParticiparam() { |
||
302 | return participaram; |
||
303 | } |
||
304 | |||
305 | public void setParticiparam(int participaram) { |
||
306 | this.participaram = participaram; |
||
307 | } |
||
308 | |||
309 | public int getInscritos() { |
||
310 | return inscritos; |
||
311 | } |
||
312 | |||
313 | public void setInscritos(int inscritos) { |
||
314 | this.inscritos = inscritos; |
||
315 | } |
||
316 | |||
317 | public int getParticiparamPercentagem() { |
||
318 | return participaramPercentagem; |
||
319 | } |
||
320 | |||
321 | public void setParticiparamPercentagem(int participaramPercentagem) { |
||
322 | this.participaramPercentagem = participaramPercentagem; |
||
323 | } |
||
324 | |||
325 | public 1.5.0/docs/api/java/lang/String.html">String getNomeUnidade() { |
||
326 | return nomeUnidade; |
||
327 | } |
||
328 | |||
329 | public void setNomeUnidade(1.5.0/docs/api/java/lang/String.html">String nomeUnidade) { |
||
330 | this.nomeUnidade = nomeUnidade; |
||
331 | } |
||
332 | |||
333 | public 1.5.0/docs/api/java/lang/String.html">String getCodigoUnidade() { |
||
334 | return codigoUnidade; |
||
335 | } |
||
336 | |||
337 | public void setCodigoUnidade(1.5.0/docs/api/java/lang/String.html">String codigoUnidade) { |
||
338 | this.codigoUnidade = codigoUnidade; |
||
339 | } |
||
340 | |||
341 | public double getPercentagemContribuicaoDaUnidadeNoUniversoUnidades() { |
||
342 | return percentagemContribuicaoDaUnidadeNoUniversoUnidades; |
||
343 | } |
||
344 | |||
345 | public void setPercentagemContribuicaoDaUnidadeNoUniversoUnidades(double percentagemContribuicaoDaUnidadeNoUniversoUnidades) { |
||
346 | this.percentagemContribuicaoDaUnidadeNoUniversoUnidades = percentagemContribuicaoDaUnidadeNoUniversoUnidades; |
||
347 | } |
||
348 | |||
349 | public 1.5.0/docs/api/java/lang/String.html">String getPercentagemContribuicaoDaUnidadeNoUniversoUnidadesPrint() { |
||
350 | return percentagemContribuicaoDaUnidadeNoUniversoUnidadesPrint; |
||
351 | } |
||
352 | |||
353 | public void setPercentagemContribuicaoDaUnidadeNoUniversoUnidadesPrint(1.5.0/docs/api/java/lang/String.html">String percentagemContribuicaoDaUnidadeNoUniversoUnidadesPrint) { |
||
354 | this.percentagemContribuicaoDaUnidadeNoUniversoUnidadesPrint = percentagemContribuicaoDaUnidadeNoUniversoUnidadesPrint; |
||
355 | } |
||
356 | } |
||
357 | } |