Rev 1568 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
1574 | jmachado | 1 | package pt.estgp.estgweb.services.questionarios.pedagogico.reportprocessors.utils; |
1567 | jmachado | 2 | |
3 | import java.util.ArrayList; |
||
4 | |||
5 | /** |
||
6 | * Created by jorgemachado on 07/12/16. |
||
7 | */ |
||
8 | public class RespostasAgregadasGrupoStats |
||
9 | { |
||
10 | |||
11 | 1.5.0/docs/api/java/lang/String.html">String grupo; |
||
1568 | jmachado | 12 | 1.5.0/docs/api/java/lang/String.html">String subGrupo; |
1567 | jmachado | 13 | |
14 | public RespostasAgregadasChartTable respostasAgregadasChartTable = new RespostasAgregadasChartTable(); |
||
15 | public RespostasAgregadasChartTable respostasAgregadasChartTable2Secs = new RespostasAgregadasChartTable(); |
||
16 | |||
17 | //Apenas para as perguntas de tempoMinimo = 0 |
||
18 | //criadas no metodo DocenteReportGenerator.criarGraficosRespostasAgregadas |
||
19 | private ArrayList<PerguntaStats> perguntasStats = new ArrayList<PerguntaStats>(); |
||
20 | |||
21 | public MediasGrupo mediasGrupo; |
||
22 | |||
1568 | jmachado | 23 | public RespostasAgregadasGrupoStats(1.5.0/docs/api/java/lang/String.html">String grupo,1.5.0/docs/api/java/lang/String.html">String subGrupo) { |
1567 | jmachado | 24 | this.grupo = grupo; |
1568 | jmachado | 25 | this.subGrupo = subGrupo; |
26 | mediasGrupo = new MediasGrupo(grupo,subGrupo); |
||
1567 | jmachado | 27 | } |
28 | |||
1568 | jmachado | 29 | public 1.5.0/docs/api/java/lang/String.html">String getSubGrupo() { |
30 | return subGrupo; |
||
31 | } |
||
32 | |||
33 | public void setSubGrupo(1.5.0/docs/api/java/lang/String.html">String subGrupo) { |
||
34 | this.subGrupo = subGrupo; |
||
35 | } |
||
36 | |||
1567 | jmachado | 37 | public 1.5.0/docs/api/java/lang/String.html">String getGrupo() { |
38 | return grupo; |
||
39 | } |
||
40 | |||
41 | public void setGrupo(1.5.0/docs/api/java/lang/String.html">String grupo) { |
||
42 | this.grupo = grupo; |
||
43 | } |
||
44 | |||
45 | public ArrayList<PerguntaStats> getPerguntasStats() { |
||
46 | return perguntasStats; |
||
47 | } |
||
48 | |||
49 | public void setPerguntasStats(ArrayList<PerguntaStats> perguntasStats) { |
||
50 | this.perguntasStats = perguntasStats; |
||
51 | } |
||
52 | |||
53 | public RespostasAgregadasChartTable getRespostasAgregadasChartTable() { |
||
54 | return respostasAgregadasChartTable; |
||
55 | } |
||
56 | |||
57 | public void setRespostasAgregadasChartTable(RespostasAgregadasChartTable respostasAgregadasChartTable) { |
||
58 | this.respostasAgregadasChartTable = respostasAgregadasChartTable; |
||
59 | } |
||
60 | |||
61 | public RespostasAgregadasChartTable getRespostasAgregadasChartTable2Secs() { |
||
62 | return respostasAgregadasChartTable2Secs; |
||
63 | } |
||
64 | |||
65 | public void setRespostasAgregadasChartTable2Secs(RespostasAgregadasChartTable respostasAgregadasChartTable2Secs) { |
||
66 | this.respostasAgregadasChartTable2Secs = respostasAgregadasChartTable2Secs; |
||
67 | } |
||
68 | |||
69 | public MediasGrupo getMediasGrupo() { |
||
70 | return mediasGrupo; |
||
71 | } |
||
72 | |||
73 | public void setMediasGrupo(MediasGrupo mediasGrupo) { |
||
74 | this.mediasGrupo = mediasGrupo; |
||
75 | } |
||
76 | |||
77 | |||
78 | /* |
||
79 | public void addRespostasAgregadasChart(RespostasChart chart) |
||
80 | { |
||
81 | respostasAgregadasCharts.addChart(chart); |
||
82 | numeroPerguntaRespostasChart.put(chart.getNumero(),chart); |
||
83 | } |
||
84 | |||
85 | public void addRespostasAgregadasChartGt2Secs(RespostasChart chart) |
||
86 | { |
||
87 | respostasAgregadasChartsGt2Secs.addChart(chart); |
||
88 | } |
||
89 | |||
90 | public void addRespostasAgregadasUnidadesChartGt2Secs(RespostasChart chart) |
||
91 | { |
||
92 | respostasAgregadasUnidadesChartsGt2Secs.addChart(chart); |
||
93 | } |
||
94 | |||
95 | public void addRespostasAgregadasUnidadesChart(RespostasChart chart) |
||
96 | { |
||
97 | respostasAgregadasUnidadesCharts.addChart(chart); |
||
98 | } |
||
99 | |||
100 | */ |
||
101 | public static class RespostasAgregadasChartTable |
||
102 | { |
||
103 | public ChartTable respostasAgregadasCharts = new ChartTable(); |
||
104 | |||
105 | public DataTable respostasTable; |
||
106 | |||
107 | /*public List<PerguntaStats> generateCompleteListPerguntas() |
||
108 | { |
||
109 | return respostasAgregadasCharts.generateCompleteListPerguntas(); |
||
110 | }*/ |
||
111 | |||
112 | public ChartTable getRespostasAgregadasCharts() { |
||
113 | return respostasAgregadasCharts; |
||
114 | } |
||
115 | |||
116 | public void setRespostasAgregadasCharts(ChartTable respostasAgregadasCharts) { |
||
117 | this.respostasAgregadasCharts = respostasAgregadasCharts; |
||
118 | } |
||
119 | |||
120 | public DataTable getRespostasTable() { |
||
121 | return respostasTable; |
||
122 | } |
||
123 | |||
124 | public void setRespostasTable(DataTable respostasTable) { |
||
125 | this.respostasTable = respostasTable; |
||
126 | } |
||
127 | } |
||
128 | |||
129 | } |