KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > inversoft > verge > mvc > model > actionflow > 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.actionflow.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     /** Gets the String1 property */
20     public String JavaDoc getString1() {
21         return string1;
22     }
23
24     /** Sets the String1 property */
25     public void setString1(String JavaDoc value) {
26         string1 = value;
27     }
28     
29     /**
30      * Retrieves the integer
31      *
32      * @return Returns the integer
33      */

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

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