KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > picocontainer > testmodel > CoupleBean


1 package org.picocontainer.testmodel;
2
3 /**
4  *
5  * @author greg
6  * @author $Author: $ (last edit)
7  * @version $Revision: $
8  */

9 public class CoupleBean {
10     private PersonBean personA;
11     private PersonBean personB;
12
13     public CoupleBean(PersonBean a, PersonBean b) {
14         this.personA = a;
15         this.personB = b;
16     }
17
18     public PersonBean getPersonA() {
19         return personA;
20     }
21
22     public PersonBean getPersonB() {
23         return personB;
24     }
25 }
26
Popular Tags