KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > inversoft > verge > repository > test > SimpleItem2


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.repository.test;
8
9
10 /**
11  * This is another simple item used for testing the Repository
12  *
13  * @author Brian Pontarelli
14  * @since 2.0
15  * @version 2.0
16  */

17 public class SimpleItem2 {
18
19     private String JavaDoc city;
20     private String JavaDoc state;
21
22     /**
23      * Gets the city
24      *
25      * @return Returns the city
26      */

27     public String JavaDoc getCity() {
28         return city;
29     }
30     
31     /**
32      * Sets the city
33      *
34      * @param city The city
35      */

36     public void setCity(String JavaDoc city) {
37         this.city = city;
38     }
39
40     /**
41      * Gets the state
42      *
43      * @return Returns the state
44      */

45     public String JavaDoc getState() {
46         return state;
47     }
48     
49     /**
50      * Sets the state
51      *
52      * @param state The state
53      */

54     public void setState(String JavaDoc state) {
55         this.state = state;
56     }
57 }
58
Popular Tags