/*
 * JBoss, Home of Professional Open Source
 *
 * Distributable under LGPL license.
 * See terms of license at gnu.org.
 */

package org.jboss.cache.aop.test;

import java.io.Serializable;

/**
 * Test class for PojoCache. Note that this pojo is both PojoCacheable and Serializable. So
 * user can choose whether to treat this as a Pojo or just a serializable object.
 *
 * @version $Revision: 1.1 $
 */
@org.jboss.cache.aop.annotation.PojoCacheable
public class SpecialAddress implements Serializable
{
   String addr = null;

   public String getAddr()
   {
      return addr;
   }

   public void setAddr(String address)
   {
      this.addr = address;
   }

   public String toString()
   {
      return "address=" + getAddr();
   }

//    public Object writeReplace() {
//	return this;
//    }
}
