1 /*2 * JBoss, the OpenSource J2EE webOS3 *4 * Distributable under LGPL license.5 * See terms of license at gnu.org.6 */7 package hero.interfaces;8 9 import java.io.Serializable ;10 11 /**12 * Base Data Container for all other Value Objects13 *14 * @author Andreas Schaefer15 * @version $Revision: 1.1 $16 **/17 public abstract class AbstractData18 implements Cloneable , Serializable 19 {20 21 /**22 * Returns a copy of itself. Is necessary because this23 * method is protected within java.lang.Object.24 *25 * @return Copy of this instance26 **/27 public Object clone()28 {29 try30 {31 return super.clone();32 }33 catch( CloneNotSupportedException cnse )34 {35 // This never happens36 return null;37 }38 }39 40 }41