KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > inversoft > verge > util > test > Bean2


1 /*
2  * Copyright (c) 2003, Inversoft
3  *
4  * This software is distribuable under the GNU Lesser General Public License.
5  * For more information visit gnu.org.
6  */

7 package com.inversoft.verge.util.test;
8
9
10 /**
11  * This class is a simple JavaBean that is used in testing.
12  *
13  * @author Brian Pontarelli
14  */

15 public class Bean2 {
16
17     private Bean3 property2;
18     private Bean3 [] indexed2 = new Bean3[1];
19     private String JavaDoc name;
20
21     /** Gets the property2 property */
22     public Bean3 getProperty2() {
23         return property2;
24     }
25
26     /** Sets the property2 property */
27     public void setProperty2(Bean3 value) {
28         this.property2 = value;
29     }
30
31     /** Gets the Name property */
32     public String JavaDoc getName() {
33         return name;
34     }
35
36     /** Sets the Name property */
37     public void setName(String JavaDoc value) {
38         name = value;
39     }
40
41     /** Gets the Indexed2 property */
42     public Bean3 getIndexed2(int index) {
43         return indexed2[index];
44     }
45
46     /** Sets the Indexed2 property */
47     public void setIndexed2(int index, Bean3 value) {
48         indexed2[index] = value;
49     }
50 }
51
Popular Tags