1 package ecar.bean;
2
3 /**
4 * Bean contendo as informações das fontes de recursos para RelatorioPPA.<br>
5 *
6 * @author aleixo
7 */
8
9 public class FonteRecursosPPA {
10
11 private Long id;
12 private String label;
13 private double valor;
14
15 /**
16 * Retorna Long id.<br>
17 *
18 * @author N/C
19 * @since N/C
20 * @version N/C
21 * @return Long
22 */
23 public Long getId() {
24 return id;
25 }
26
27 /**
28 * Atribui valor especificado para Long id.<br>
29 *
30 * @author N/C
31 * @since N/C
32 * @version N/C
33 * @param Long id
34 */
35 public void setId(Long id) {
36 this.id = id;
37 }
38
39 /**
40 * Retorna String label.<br>
41 *
42 * @author N/C
43 * @since N/C
44 * @version N/C
45 * @return String getLabel
46 */
47 public String getLabel() {
48 return label;
49 }
50
51 /**
52 * Atribui valor espcecificado para String label.<br>
53 *
54 * @author N/C
55 * @since N/C
56 * @version N/C
57 * @param String label
58 */
59 public void setLabel(String label) {
60 this.label = label;
61 }
62
63 /**
64 * Retorna double valor.<br>
65 *
66 * @author N/C
67 * @since N/C
68 * @version N/C
69 * @return double
70 */
71 public double getValor() {
72 return valor;
73 }
74
75 /**
76 * Atribui valor especificado para double valor.<br>
77 *
78 * @author N/C
79 * @since N/C
80 * @version N/C
81 * @param double valor
82 */
83 public void setValor(double valor) {
84 this.valor = valor;
85 }
86
87 /**
88 * Soma valor especificado para o double valor.<br>
89 *
90 * @author N/C
91 * @since N/C
92 * @version N/C
93 * @param double valor
94 */
95 public void somaValor(double valor){
96 this.valor += valor;
97 }
98 }