KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > hibernate > test > legacy > S


1 //$Id: S.java,v 1.1 2004/09/26 05:18:25 oneovthafew Exp $
2

3 package org.hibernate.test.legacy;
4
5 public class S {
6     private String JavaDoc address;
7     private int count;
8
9     public S(int countArg, String JavaDoc addressArg) {
10         count = countArg;
11         address = addressArg;
12     }
13     
14     /**
15      * Gets the address
16      * @return Returns a String
17      */

18     public String JavaDoc getAddress() {
19         return address;
20     }
21     /**
22      * Sets the address
23      * @param address The address to set
24      */

25     public void setAddress(String JavaDoc address) {
26         this.address = address;
27     }
28     /**
29      * Gets the count
30      * @return Returns a int
31      */

32     public int getCount() {
33         return count;
34     }
35     /**
36      * Sets the count
37      * @param count The count to set
38      */

39     public void setCount(int count) {
40         this.count = count;
41     }
42 }
43
Popular Tags