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