Rev 1568 | Go to most recent revision | Details | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
1567 | jmachado | 1 | package pt.estgp.estgweb.services.questionarios.utils; |
2 | |||
3 | import java.io.Serializable; |
||
4 | import java.util.ArrayList; |
||
5 | |||
6 | /** |
||
7 | * Created by jorgemachado on 07/12/16. |
||
8 | */ |
||
9 | public class UnidadeStats implements 1.5.0/docs/api/java/io/Serializable.html">Serializable |
||
10 | { |
||
11 | 1.5.0/docs/api/java/lang/String.html">String nomeUnidade; |
||
12 | 1.5.0/docs/api/java/lang/String.html">String codigoUnidade; |
||
13 | 1.5.0/docs/api/java/lang/String.html">String codigoCurso; |
||
14 | 1.5.0/docs/api/java/lang/String.html">String nomeCurso; |
||
15 | 1.5.0/docs/api/java/lang/String.html">String codigoEscola; |
||
16 | 1.5.0/docs/api/java/lang/String.html">String nomeEscola; |
||
17 | 1.5.0/docs/api/java/lang/String.html">String semestre; |
||
18 | int inscritos; |
||
19 | int respostas; |
||
20 | |||
21 | UnidadeStatsGrupo unidadeStatsGrupoDocente; |
||
22 | UnidadeStatsGrupo unidadeStatsGrupoUnidade; |
||
23 | |||
24 | public int getInscritos() { |
||
25 | return inscritos; |
||
26 | } |
||
27 | |||
28 | public void setInscritos(int inscritos) { |
||
29 | this.inscritos = inscritos; |
||
30 | } |
||
31 | |||
32 | public int getRespostas() { |
||
33 | return respostas; |
||
34 | } |
||
35 | |||
36 | public void setRespostas(int respostas) { |
||
37 | this.respostas = respostas; |
||
38 | } |
||
39 | |||
40 | public UnidadeStatsGrupo getUnidadeStatsGrupoDocente() { |
||
41 | return unidadeStatsGrupoDocente; |
||
42 | } |
||
43 | |||
44 | public void setUnidadeStatsGrupoDocente(UnidadeStatsGrupo unidadeStatsGrupoDocente) { |
||
45 | this.unidadeStatsGrupoDocente = unidadeStatsGrupoDocente; |
||
46 | } |
||
47 | |||
48 | public UnidadeStatsGrupo getUnidadeStatsGrupoUnidade() { |
||
49 | return unidadeStatsGrupoUnidade; |
||
50 | } |
||
51 | |||
52 | public void setUnidadeStatsGrupoUnidade(UnidadeStatsGrupo unidadeStatsGrupoUnidade) { |
||
53 | this.unidadeStatsGrupoUnidade = unidadeStatsGrupoUnidade; |
||
54 | } |
||
55 | |||
56 | public 1.5.0/docs/api/java/lang/String.html">String getNomeUnidade() { |
||
57 | return nomeUnidade; |
||
58 | } |
||
59 | |||
60 | public void setNomeUnidade(1.5.0/docs/api/java/lang/String.html">String nomeUnidade) { |
||
61 | this.nomeUnidade = nomeUnidade; |
||
62 | } |
||
63 | |||
64 | public 1.5.0/docs/api/java/lang/String.html">String getCodigoUnidade() { |
||
65 | return codigoUnidade; |
||
66 | } |
||
67 | |||
68 | public void setCodigoUnidade(1.5.0/docs/api/java/lang/String.html">String codigoUnidade) { |
||
69 | this.codigoUnidade = codigoUnidade; |
||
70 | } |
||
71 | |||
72 | public 1.5.0/docs/api/java/lang/String.html">String getCodigoCurso() { |
||
73 | return codigoCurso; |
||
74 | } |
||
75 | |||
76 | public void setCodigoCurso(1.5.0/docs/api/java/lang/String.html">String codigoCurso) { |
||
77 | this.codigoCurso = codigoCurso; |
||
78 | } |
||
79 | |||
80 | public 1.5.0/docs/api/java/lang/String.html">String getNomeCurso() { |
||
81 | return nomeCurso; |
||
82 | } |
||
83 | |||
84 | public void setNomeCurso(1.5.0/docs/api/java/lang/String.html">String nomeCurso) { |
||
85 | this.nomeCurso = nomeCurso; |
||
86 | } |
||
87 | |||
88 | public 1.5.0/docs/api/java/lang/String.html">String getSemestre() { |
||
89 | return semestre; |
||
90 | } |
||
91 | |||
92 | public void setSemestre(1.5.0/docs/api/java/lang/String.html">String semestre) { |
||
93 | this.semestre = semestre; |
||
94 | } |
||
95 | |||
96 | public 1.5.0/docs/api/java/lang/String.html">String getCodigoEscola() { |
||
97 | return codigoEscola; |
||
98 | } |
||
99 | |||
100 | public void setCodigoEscola(1.5.0/docs/api/java/lang/String.html">String codigoEscola) { |
||
101 | this.codigoEscola = codigoEscola; |
||
102 | } |
||
103 | |||
104 | public 1.5.0/docs/api/java/lang/String.html">String getNomeEscola() { |
||
105 | return nomeEscola; |
||
106 | } |
||
107 | |||
108 | public void setNomeEscola(1.5.0/docs/api/java/lang/String.html">String nomeEscola) { |
||
109 | this.nomeEscola = nomeEscola; |
||
110 | } |
||
111 | |||
112 | public static class UnidadeStatsGrupo implements 1.5.0/docs/api/java/io/Serializable.html">Serializable |
||
113 | { |
||
114 | public 1.5.0/docs/api/java/lang/String.html">String grupo; |
||
115 | public DataTable respostasTable; |
||
116 | public MediasGrupo mediasGrupo; |
||
117 | public int unidadesNoCurso; |
||
118 | public int unidadesNaEscola; |
||
119 | |||
120 | //criadas no metodo DocenteReportGenerator call UnidadesQueryDao.criarTabelasCadeiras |
||
121 | // >>>UnidadeQueryDao.criarTabelasRespostasCadeira |
||
122 | private ArrayList<PerguntaStats> perguntasStats = new ArrayList<PerguntaStats>(); |
||
123 | |||
124 | |||
125 | public int getUnidadesNoCurso() { |
||
126 | return unidadesNoCurso; |
||
127 | } |
||
128 | |||
129 | public void setUnidadesNoCurso(int unidadesNoCurso) { |
||
130 | this.unidadesNoCurso = unidadesNoCurso; |
||
131 | } |
||
132 | |||
133 | public int getUnidadesNaEscola() { |
||
134 | return unidadesNaEscola; |
||
135 | } |
||
136 | |||
137 | public void setUnidadesNaEscola(int unidadesNaEscola) { |
||
138 | this.unidadesNaEscola = unidadesNaEscola; |
||
139 | } |
||
140 | |||
141 | public UnidadeStatsGrupo(1.5.0/docs/api/java/lang/String.html">String grupo) { |
||
142 | this.grupo = grupo; |
||
143 | mediasGrupo = new MediasGrupo(grupo); |
||
144 | } |
||
145 | |||
146 | public 1.5.0/docs/api/java/lang/String.html">String getGrupo() { |
||
147 | return grupo; |
||
148 | } |
||
149 | |||
150 | public void setGrupo(1.5.0/docs/api/java/lang/String.html">String grupo) { |
||
151 | this.grupo = grupo; |
||
152 | } |
||
153 | |||
154 | public ArrayList<PerguntaStats> getPerguntasStats() { |
||
155 | return perguntasStats; |
||
156 | } |
||
157 | |||
158 | public void setPerguntasStats(ArrayList<PerguntaStats> perguntasStats) { |
||
159 | this.perguntasStats = perguntasStats; |
||
160 | } |
||
161 | |||
162 | public DataTable getRespostasTable() { |
||
163 | return respostasTable; |
||
164 | } |
||
165 | |||
166 | public void setRespostasTable(DataTable respostasTable) { |
||
167 | this.respostasTable = respostasTable; |
||
168 | } |
||
169 | |||
170 | public MediasGrupo getMediasGrupo() { |
||
171 | return mediasGrupo; |
||
172 | } |
||
173 | |||
174 | public void setMediasGrupo(MediasGrupo mediasGrupo) { |
||
175 | this.mediasGrupo = mediasGrupo; |
||
176 | } |
||
177 | } |
||
178 | } |