1 /*
2 * Copyright 2005 The Apache Software Foundation.
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 * http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
16 package org.apache.commons.betwixt.strategy;
17
18 import java.util.*;
19
20
21 public class AlphaBean {
22
23 private Collection children = new ArrayList();
24 private Map mapped = new HashMap();
25 private BetaBean betaBean;
26 private String name;
27
28 public BetaBean getBetaBean() {
29 return betaBean;
30 }
31
32 public void setBetaBean(BetaBean betaBean) {
33 this.betaBean = betaBean;
34 }
35
36 public Collection getChildren() {
37 return children;
38 }
39
40 public void addChild(BetaBean bean) {
41 this.children.add(bean);
42 }
43
44 public Map getMapped() {
45 return mapped;
46 }
47
48 public void put(String key, BetaBean value) {
49 this.mapped.put(key, value);
50 }
51
52 public String getName() {
53 return name;
54 }
55
56 public void setName(String name) {
57 this.name = name;
58 }
59 }