View Javadoc

1   /*
2    * $Id: AbstractBean.java 19191 2010-08-25 21:05:23Z tcarlson $
3    * --------------------------------------------------------------------------------------
4    * Copyright (c) MuleSoft, Inc.  All rights reserved.  http://www.mulesoft.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.List;
14  import java.util.Map;
15  
16  public class AbstractBean
17  {
18  
19      // test explicit list
20      private List list;
21      // test explicit map
22      private Map map;
23      // needed for spring
24      private String name;
25      // test direct attribute
26      private String string;
27      // test aliased attribute (alias as bar)
28      private int foo;
29      // test ignore
30      private boolean ignored = true;
31  
32      public List getList()
33      {
34          return list;
35      }
36  
37      public void setList(List list)
38      {
39          this.list = list;
40      }
41  
42      public Map getMap()
43      {
44          return map;
45      }
46  
47      public void setMap(Map map)
48      {
49          this.map = map;
50      }
51  
52      public String getName()
53      {
54          return name;
55      }
56  
57      public void setName(String name)
58      {
59          this.name = name;
60      }
61  
62      public String getString()
63      {
64          return string;
65      }
66  
67      public void setString(String string)
68      {
69          this.string = string;
70      }
71  
72      public int getFoo()
73      {
74          return foo;
75      }
76  
77      public void setFoo(int foo)
78      {
79          this.foo = foo;
80      }
81  
82      public boolean isIgnored()
83      {
84          return ignored;
85      }
86  
87      public void setIgnored(boolean ignored)
88      {
89          this.ignored = ignored;
90      }
91      
92  }