KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > objectweb > jonas > jtests > beans > ejbql > AddressDO


1 package org.objectweb.jonas.jtests.beans.ejbql;
2
3 public class AddressDO implements java.io.Serializable JavaDoc {
4
5     private String JavaDoc street;
6     private String JavaDoc city;
7     private String JavaDoc state;
8     private String JavaDoc zip;
9     
10     public AddressDO(String JavaDoc street, String JavaDoc city,
11              String JavaDoc state, String JavaDoc zip ) {
12         this.street = street;
13         this.city = city;
14         this.state = state;
15         this.zip = zip;
16     }
17     public String JavaDoc getStreet(){
18         return street;
19     }
20     public String JavaDoc getCity(){
21         return city;
22     }
23     public String JavaDoc getState(){
24         return state;
25     }
26     public String JavaDoc getZip(){
27         return zip;
28     }
29 }
30
Popular Tags