1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16 package org.apache.commons.betwixt.derived;
17
18 import java.util.ArrayList;
19 import java.util.List;
20
21 /*** <p>Bean to test lists of people</p>
22 *
23 * @author Robert Burrell Donkin
24 * @version $Revision: 1.4 $
25 */
26 public class PersonListBean {
27
28 private PersonBean owner;
29 private ArrayList people = new ArrayList();
30
31 public PersonListBean() {}
32
33 public List getPersonList() {
34 return people;
35 }
36
37 public void addPerson(PersonBean person) {
38 people.add(person);
39 }
40
41 /***
42 * @return PersonBean
43 */
44 public PersonBean getOwner() {
45 return owner;
46 }
47
48 /***
49 * Sets the owner.
50 * @param owner The owner to set
51 */
52 public void setOwner(PersonBean owner) {
53 this.owner = owner;
54 }
55
56 }