1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19 package org.apache.shiro.config;
20
21 import java.util.Collection;
22 import java.util.List;
23 import java.util.Map;
24 import java.util.Set;
25
26
27
28
29 @SuppressWarnings({"UnusedDeclaration"})
30 public class CompositeBean {
31
32 private String name;
33
34 private String stringProp;
35 private boolean booleanProp;
36 private int intProp;
37 private SimpleBean simpleBean;
38
39 private Set<SimpleBean> simpleBeanSet;
40 private List<SimpleBean> simpleBeanList;
41 private Collection<SimpleBean> simpleBeanCollection;
42 private Map<String, SimpleBean> simpleBeanMap;
43 private Map<String, CompositeBean> compositeBeanMap;
44 private CompositeBean[] compositeBeanArray;
45
46 public CompositeBean() {
47 }
48
49 public CompositeBean(String name) {
50 this.name = name;
51 }
52
53 public String getName() {
54 return name;
55 }
56
57 public void setName(String name) {
58 this.name = name;
59 }
60
61 public String getStringProp() {
62 return stringProp;
63 }
64
65 public void setStringProp(String stringProp) {
66 this.stringProp = stringProp;
67 }
68
69 public boolean isBooleanProp() {
70 return booleanProp;
71 }
72
73 public void setBooleanProp(boolean booleanProp) {
74 this.booleanProp = booleanProp;
75 }
76
77 public int getIntProp() {
78 return intProp;
79 }
80
81 public void setIntProp(int intProp) {
82 this.intProp = intProp;
83 }
84
85 public SimpleBean getSimpleBean() {
86 return simpleBean;
87 }
88
89 public void setSimpleBean(SimpleBean simpleBean) {
90 this.simpleBean = simpleBean;
91 }
92
93 public Set<SimpleBean> getSimpleBeanSet() {
94 return simpleBeanSet;
95 }
96
97 public void setSimpleBeanSet(Set<SimpleBean> simpleBeanSet) {
98 this.simpleBeanSet = simpleBeanSet;
99 }
100
101 public List<SimpleBean> getSimpleBeanList() {
102 return simpleBeanList;
103 }
104
105 public void setSimpleBeanList(List<SimpleBean> simpleBeanList) {
106 this.simpleBeanList = simpleBeanList;
107 }
108
109 public Collection<SimpleBean> getSimpleBeanCollection() {
110 return simpleBeanCollection;
111 }
112
113 public void setSimpleBeanCollection(Collection<SimpleBean> simpleBeanCollection) {
114 this.simpleBeanCollection = simpleBeanCollection;
115 }
116
117 public Map<String, SimpleBean> getSimpleBeanMap() {
118 return simpleBeanMap;
119 }
120
121 public void setSimpleBeanMap(Map<String, SimpleBean> simpleBeanMap) {
122 this.simpleBeanMap = simpleBeanMap;
123 }
124
125 public Map<String, CompositeBean> getCompositeBeanMap() {
126 return compositeBeanMap;
127 }
128
129 public void setCompositeBeanMap(Map<String, CompositeBean> compositeBeanMap) {
130 this.compositeBeanMap = compositeBeanMap;
131 }
132
133 public CompositeBean[] getCompositeBeanArray() {
134 return compositeBeanArray;
135 }
136
137 public void setCompositeBeanArray(CompositeBean[] compositeBeanArray) {
138 this.compositeBeanArray = compositeBeanArray;
139 }
140 }