1 22 package org.jboss.test.cache.test.standAloneAop; 23 24 25 26 31 public class Address 32 { 33 String street = null; 34 String city = null; 35 int zip = 0; 36 37 public String getStreet() 38 { 39 return street; 40 } 41 42 public void setStreet(String street) 43 { 44 this.street = street; 45 } 46 47 public String getCity() 48 { 49 return city; 50 } 51 52 public void setCity(String city) 53 { 54 this.city = city; 55 } 56 57 public int getZip() 58 { 59 return zip; 60 } 61 62 public void setZip(int zip) 63 { 64 this.zip = zip; 65 } 66 67 public String toString() 68 { 69 return "street=" + getStreet() + ", city=" + getCity() + ", zip=" + getZip(); 70 } 71 72 } 76 | Popular Tags |