| Address.java |
/*
* JBoss, the OpenSource J2EE webOS
*
* Distributable under LGPL license.
* See terms of license at gnu.org.
*/
package org.jboss.test.cluster.web.aop;
/**
* Test class for TreeCacheAOP.
* Person is a POJO that will be instrumented with CacheInterceptor
*
* @version $Revision: 1.2 $
* annotation marker that is needed for fine-grained replication.
* @@org.jboss.web.tomcat.tc5.session.AopMarker
*/
public class Address
{
String street = null;
String city = null;
int zip = 0;
public String getStreet()
{
return street;
}
public void setStreet(String street)
{
this.street = street;
}
public String getCity()
{
return city;
}
public void setCity(String city)
{
this.city = city;
}
public int getZip()
{
return zip;
}
public void setZip(int zip)
{
this.zip = zip;
}
public String toString()
{
return "street=" + getStreet() + ", city=" + getCity() + ", zip=" + getZip();
}
// public Object writeReplace() {
// return this;
// }
}
| Address.java |