1 7 package org.jboss.test.cache.test.standAloneAop; 8 9 import java.io.Serializable ; 10 11 12 17 public class SerializedAddress implements Serializable 18 { 19 static final long serialVersionUID = 3662001176634113834L; 20 String street = null; 21 String city = null; 22 int zip = 0; 23 24 public String getStreet() 25 { 26 return street; 27 } 28 29 public void setStreet(String street) 30 { 31 this.street = street; 32 } 33 34 public String getCity() 35 { 36 return city; 37 } 38 39 public void setCity(String city) 40 { 41 this.city = city; 42 } 43 44 public int getZip() 45 { 46 return zip; 47 } 48 49 public void setZip(int zip) 50 { 51 this.zip = zip; 52 } 53 54 public String toString() 55 { 56 return "street=" + getStreet() + ", city=" + getCity() + ", zip=" + getZip(); 57 } 58 59 } 63 | Popular Tags |