KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > sape > carbon > core > util > reflection > test > ComplicatedTestBean


1 /*
2  * The contents of this file are subject to the Sapient Public License
3  * Version 1.0 (the "License"); you may not use this file except in compliance
4  * with the License. You may obtain a copy of the License at
5  * http://carbon.sf.net/License.html.
6  *
7  * Software distributed under the License is distributed on an "AS IS" basis,
8  * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for
9  * the specific language governing rights and limitations under the License.
10  *
11  * The Original Code is The Carbon Component Framework.
12  *
13  * The Initial Developer of the Original Code is Sapient Corporation
14  *
15  * Copyright (C) 2003 Sapient Corporation. All Rights Reserved.
16  */

17
18 package org.sape.carbon.core.util.reflection.test;
19
20 /**
21  * Complicated bean object used in the <code>BeanUtilTest</code>
22  * jUnit test cases.
23  *
24  * Copyright 2002 Sapient
25  * @since carbon 1.0
26  * @author Jordan Reed, August 2002
27  * @version $Revision: 1.3 $($Author: dvoet $ / $Date: 2003/05/05 21:21:24 $)
28  */

29 public class ComplicatedTestBean {
30     /** Holds a reference to another complicated bean. */
31     private ComplicatedTestBean complicatedTestBean;
32
33     /** Holds a reference to a simple bean. */
34     private SimpleTestBean simpleTestBean;
35
36     /**
37      * Setter for the complicated bean property.
38      *
39      * @param complicatedTestBean the value of the complicated
40      * test bean property
41      */

42     public void setComplicatedTestBean(
43             ComplicatedTestBean complicatedTestBean) {
44
45         this.complicatedTestBean = complicatedTestBean;
46     }
47
48     /**
49      * Getter for the complicated bean property.
50      *
51      * @return the value of the complicated bean property.
52      */

53     public ComplicatedTestBean getComplicatedTestBean() {
54         return this.complicatedTestBean;
55     }
56
57     /**
58      * Setter for the simple bean property.
59      *
60      * @param simpleTestBean the value of the simple test bean property.
61      */

62     public void setSimpleTestBean(SimpleTestBean simpleTestBean) {
63         this.simpleTestBean = simpleTestBean;
64     }
65
66     /**
67      * Getter for the simple test bean property.
68      *
69      * @return the value of the simple test bean property.
70      */

71     public SimpleTestBean getSimpleTestBean() {
72         return this.simpleTestBean;
73     }
74
75
76 }
Popular Tags