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