org.moyoman.debug
Class Debug

java.lang.Object
  |
  +--org.moyoman.debug.Debug
Direct Known Subclasses:
Aggregate, Continuous, Discrete, Forest, GroupRating, Legend, SOI

public abstract class Debug
extends Object

This is the base class which all debug type classes must extend.


Field Summary
private  String header
          The information which the debug object represents.
 
Constructor Summary
protected Debug(String h)
          Create the debug object.
 
Method Summary
 String getHeaderType()
          Get the explanatory string for the debug object.
abstract  DebugType getType()
          Get the debug type of this object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

header

private String header
The information which the debug object represents.

Constructor Detail

Debug

protected Debug(String h)
Create the debug object.

Parameters:
h - - A symbolic string which explains what the debug object represents. The Message.getMessage() method should be used to get the displayable String in the appropriate language.
Method Detail

getHeaderType

public String getHeaderType()
Get the explanatory string for the debug object.

Returns:
A String.

getType

public abstract DebugType getType()
Get the debug type of this object.

Returns:
A DebugType object.