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