KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > springframework > beans > factory > access > TestBean


1 /*
2  * Copyright 2002-2005 the original author or authors.
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  * http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */

16
17 package org.springframework.beans.factory.access;
18
19 import java.util.List JavaDoc;
20
21 /**
22  * Scrap bean for use in tests.
23  *
24  * @author Colin Sampaleanu
25  */

26 public class TestBean {
27
28   private String JavaDoc name;
29
30   private List JavaDoc list;
31
32   private Object JavaDoc objRef;
33
34   /**
35    * @return Returns the name.
36    */

37   public String JavaDoc getName() {
38     return name;
39   }
40
41   /**
42    * @param name The name to set.
43    */

44   public void setName(String JavaDoc name) {
45     this.name = name;
46   }
47
48   /**
49    * @return Returns the list.
50    */

51   public List JavaDoc getList() {
52     return list;
53   }
54
55   /**
56    * @param list The list to set.
57    */

58   public void setList(List JavaDoc list) {
59     this.list = list;
60   }
61
62   /**
63    * @return Returns the object.
64    */

65   public Object JavaDoc getObjRef() {
66     return objRef;
67   }
68
69   /**
70    * @param object The object to set.
71    */

72   public void setObjRef(Object JavaDoc object) {
73     this.objRef = object;
74   }
75 }
76
Popular Tags