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