1 /*
2 * Created on 17/04/2006
3 */
4 package ecar.bean;
5
6
7 /**
8 * Bean contendo as informações de totalização de cada estrutura para imprimir no relatório.<br>
9 *
10 * @author aleixo
11 */
12
13 public class TotalizadorRelatorios {
14
15 private Long id;
16 private String estrutura;
17 private int total;
18
19 /**
20 * Retorna String estrutura.<br>
21 *
22 * @author N/C
23 * @since N/C
24 * @version N/C
25 * @return String
26 */
27 public String getEstrutura() {
28 return estrutura;
29 }
30
31 /**
32 * Atribui valor especificado para String estrutura.<br>
33 *
34 * @author N/C
35 * @since N/C
36 * @version N/C
37 * @param String estrutura
38 */
39 public void setEstrutura(String estrutura) {
40 this.estrutura = estrutura;
41 }
42
43 /**
44 * Retorna Long id.<br>
45 *
46 * @author N/C
47 * @since N/C
48 * @version N/C
49 * @return Long
50 */
51 public Long getId() {
52 return id;
53 }
54
55 /**
56 * Atribui valor especificado para Long id.<br>
57 *
58 * @author N/C
59 * @since N/C
60 * @version N/C
61 * @param Long id
62 */
63 public void setId(Long id) {
64 this.id = id;
65 }
66
67 /**
68 * Retorna int total.<br>
69 *
70 * @author N/C
71 * @since N/C
72 * @version N/C
73 * @return int
74 */
75 public int getTotal() {
76 return total;
77 }
78
79 /**
80 * Atribui valor especificado para int total.<br>
81 *
82 * @author N/C
83 * @since N/C
84 * @version N/C
85 * @param int total
86 */
87 public void setTotal(int total) {
88 this.total = total;
89 }
90
91 /**
92 * Construtor.<br>
93 *
94 * @author N/C
95 * @since N/C
96 * @version N/C
97 */
98 public TotalizadorRelatorios(){
99
100 }
101
102 /**
103 * Incrementa total.<br>
104 *
105 * @author N/C
106 * @since N/C
107 * @version N/C
108 */
109 public void incrementeTotal(){
110 this.total++;
111 }
112 }