KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > inversoft > beans > test > Bean4


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.beans.test;
8
9
10 /**
11  * This class is a simple JavaBean that is used in testing. This
12  * Java bean does not have a default constructor
13  * @author Brian Pontarelli
14  */

15 public class Bean4 {
16
17     private String JavaDoc string1;
18
19     /** No default constructor */
20     public Bean4(String JavaDoc name) {
21         super();
22     }
23
24     /** Gets the String1 property */
25     public String JavaDoc getString1() {
26         return string1;
27     }
28     
29     /** Sets the String1 property */
30     public void setString1(String JavaDoc value) {
31         string1 = value;
32     }
33 }
34
Popular Tags