KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > samples > jaxrpc > address > AddressBean


1 package samples.jaxrpc.address;
2
3 public class AddressBean implements java.io.Serializable JavaDoc {
4     private java.lang.String JavaDoc street;
5     private int postcode;
6
7     public AddressBean() {
8     }
9
10     public java.lang.String JavaDoc getStreet() {
11         return street;
12     }
13
14     public void setStreet(java.lang.String JavaDoc street) {
15         this.street = street;
16     }
17
18     public int getPostcode() {
19         return postcode;
20     }
21
22     public void setPostcode(int postcode) {
23         this.postcode = postcode;
24     }
25 }
Popular Tags