1
2
3
4
5 package ecar.portal.bean;
6
7 import java.util.ArrayList;
8 import java.util.List;
9
10
11
12
13
14
15
16
17 public class PortalBean {
18
19 private List secaoBean;
20 private List menuTopoBean;
21
22
23
24
25 public PortalBean() {
26
27 }
28
29
30
31
32
33
34
35
36
37 public List getSecaoBean() {
38 return secaoBean;
39 }
40
41
42
43
44
45
46
47
48
49 public void setSecaoBean(List sessaoBean) {
50 this.secaoBean = sessaoBean;
51 }
52
53
54
55
56
57
58
59
60
61 public List getMenuTopoBean() {
62 return menuTopoBean;
63 }
64
65
66
67
68
69
70
71
72
73 public void setMenuTopoBean(List menuTopoBean) {
74 this.menuTopoBean = menuTopoBean;
75 }
76
77
78
79
80
81
82
83
84
85 public void adicionarElementoNoSecaoBean(SecaoBean bean) {
86 if(this.secaoBean == null) {
87 this.secaoBean = new ArrayList();
88 }
89 this.secaoBean.add(bean);
90 }
91 }