KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > hibernate > test > hql > Address


1 // $Id: Address.java,v 1.1 2005/03/30 15:41:06 steveebersole Exp $
2
package org.hibernate.test.hql;
3
4 /**
5  * Implementation of Address.
6  *
7  * @author Steve Ebersole
8  */

9 public class Address {
10     private String JavaDoc street;
11     private String JavaDoc city;
12     private String JavaDoc postalCode;
13     private String JavaDoc country;
14
15     public String JavaDoc getStreet() {
16         return street;
17     }
18
19     public void setStreet(String JavaDoc street) {
20         this.street = street;
21     }
22
23     public String JavaDoc getCity() {
24         return city;
25     }
26
27     public void setCity(String JavaDoc city) {
28         this.city = city;
29     }
30
31     public String JavaDoc getPostalCode() {
32         return postalCode;
33     }
34
35     public void setPostalCode(String JavaDoc postalCode) {
36         this.postalCode = postalCode;
37     }
38
39     public String JavaDoc getCountry() {
40         return country;
41     }
42
43     public void setCountry(String JavaDoc country) {
44         this.country = country;
45     }
46 }
47
Popular Tags