com.rubecula.util
Class AuditableObject

java.lang.Object
  extended by com.rubecula.util.AuditableObject
All Implemented Interfaces:
Auditable, Identifiable, Cloneable
Direct Known Subclasses:
Attribute_Abstract, Gene_Abstract, Organism_Abstract

public abstract class AuditableObject
extends Object
implements Auditable, Cloneable

Abstract class to model auditable objects.

Version:
$Revision: 1.4 $
Author:
Robin Hillyard

Constructor Summary
AuditableObject()
           
 
Method Summary
 String audit()
          Method to return a detailed (unlabeled) string from an object for debugging purposes.
 void audit(PrintStream out, String label)
          Method to output detailed string from an object for debugging purposes.
 void audit(PrintWriter out, String label)
          Method to output detailed string from an object for debugging purposes.
 Object clone()
           
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.rubecula.util.Auditable
audit
 
Methods inherited from interface com.rubecula.util.Identifiable
getIdentifier
 

Constructor Detail

AuditableObject

public AuditableObject()
Method Detail

audit

public String audit()
Method to return a detailed (unlabeled) string from an object for debugging purposes.

Specified by:
audit in interface Auditable
Returns:
the detailed string.

audit

public void audit(PrintStream out,
                  String label)
Method to output detailed string from an object for debugging purposes.

Parameters:
out - the output stream.
label - the label to attach to the output (may be null).

audit

public void audit(PrintWriter out,
                  String label)
Method to output detailed string from an object for debugging purposes.

Specified by:
audit in interface Auditable
Parameters:
out - the output stream.
label - the label to attach to the output (may be null).

clone

public Object clone()
             throws CloneNotSupportedException
Overrides:
clone in class Object
Throws:
CloneNotSupportedException