1   /*
2    * $Id: OrphanBean.java 10489 2008-01-23 17:53:38Z dfeist $
3    * --------------------------------------------------------------------------------------
4    * Copyright (c) MuleSource, Inc.  All rights reserved.  http://www.mulesource.com
5    *
6    * The software in this package is published under the terms of the CPAL v1.0
7    * license, a copy of which has been included with this distribution in the
8    * LICENSE.txt file.
9    */
10  
11  package org.mule.config.spring.parsers.beans;
12  
13  import java.util.Collection;
14  
15  /**
16   * A standalone bean used in testing
17   */
18  public class OrphanBean extends AbstractBean
19  {
20  
21      // test implicit naming of collection
22      private Collection kids;
23      // test explicit naming of collection
24      private Collection offspring;
25  
26      // test simple setter/getter
27      private ChildBean child;
28  
29      private Object object;
30  
31      public ChildBean getChild()
32      {
33          return child;
34      }
35  
36      public void setChild(ChildBean child)
37      {
38          this.child = child;
39      }
40  
41      public Collection getKids()
42      {
43          return kids;
44      }
45  
46      public void setKids(Collection kids)
47      {
48          this.kids = kids;
49      }
50  
51      public Collection getOffspring()
52      {
53          return offspring;
54      }
55  
56      public void setOffspring(Collection offspring)
57      {
58          this.offspring = offspring;
59      }
60  
61      public Object getObject()
62      {
63          return object;
64      }
65  
66      public void setObject(Object object)
67      {
68          this.object = object;
69      }
70      
71  }