edu.udo.cs.yale.operator
Class SimpleResultObject

java.lang.Object
  extended by edu.udo.cs.yale.operator.AbstractIOObject
      extended by edu.udo.cs.yale.operator.ResultObjectAdapter
          extended by edu.udo.cs.yale.operator.SimpleResultObject
All Implemented Interfaces:
IOObject, ResultObject

public class SimpleResultObject
extends ResultObjectAdapter

A SimpleResulObject is only a helper class for very simple results with only a name and descriptive text. May be usefull for intermediate results which should only be displayed but actually not used by other operators.

Version:
$Id: SimpleResultObject.java,v 2.8 2006/03/21 15:35:42 ingomierswa Exp $
Author:
Ingo Mierswa, Simon Fischer

Field Summary
private  java.lang.String name
           
private  java.lang.String text
           
 
Constructor Summary
SimpleResultObject(java.lang.String name, java.lang.String text)
           
 
Method Summary
 java.lang.String getName()
          The default implementation returns the classname without package.
 java.lang.String toString()
           
 
Methods inherited from class edu.udo.cs.yale.operator.ResultObjectAdapter
addAction, getActions, getVisualisationComponent, toHTML, toResultString
 
Methods inherited from class edu.udo.cs.yale.operator.AbstractIOObject
copy, read, read, read, write, write
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface edu.udo.cs.yale.operator.IOObject
copy, write, write
 

Field Detail

name

private java.lang.String name

text

private java.lang.String text
Constructor Detail

SimpleResultObject

public SimpleResultObject(java.lang.String name,
                          java.lang.String text)
Method Detail

getName

public java.lang.String getName()
Description copied from class: ResultObjectAdapter
The default implementation returns the classname without package.

Specified by:
getName in interface ResultObject
Overrides:
getName in class ResultObjectAdapter


toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright © 2001-2006