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