Storeable.java

Go to the documentation of this file.
00001 package cedar.hepdata.model;
00002 
00003 import org.apache.log4j.*;
00004 import java.io.Serializable;
00005 import javax.persistence.*;
00006 
00012 public abstract class Storeable implements Serializable {
00014     Logger log() {
00015         return Logger.getLogger(this.getClass());
00016     }
00017 
00019     public String toString() {
00020         StringBuffer s = new StringBuffer();
00021         s.append(this.getClass().getName() + ".toString() is not overloaded.");
00022         return s.toString();
00023     }
00024 }

Generated on Tue Apr 21 15:54:38 2009 for HepData object model by  doxygen 1.5.5