KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > inversoft > verge > mvc > model > form > test > Bean1


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.mvc.model.form.test;
8
9
10 /**
11  * This class is a simple JavaBean that is used in testing
12  * @author Brian Pontarelli
13  */

14 public class Bean1 {
15
16     private String JavaDoc string1;
17     private Integer JavaDoc integer;
18
19
20     /** Gets the String1 property */
21     public String JavaDoc getString1() {
22         return string1;
23     }
24
25     /** Sets the String1 property */
26     public void setString1(String JavaDoc value) {
27         string1 = value;
28     }
29
30     /**
31      * Retrieves the integer property value
32      *
33      * @return Returns the integer property value
34      */

35     public Integer JavaDoc getInteger() {
36         return integer;
37     }
38
39     /**
40      * Populates the integer property value
41      *
42      * @param integer The value of the integer property value
43      */

44     public void setInteger(Integer JavaDoc integer) {
45         this.integer = integer;
46     }
47 }
48
Popular Tags