com.rubecula.util
Class AuditableObject
java.lang.Object
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
|
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()
|
AuditableObject
public AuditableObject()
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