com.rapidminer.operator
Class SimpleResultObject

java.lang.Object
  extended by com.rapidminer.operator.AbstractIOObject
      extended by com.rapidminer.operator.ResultObjectAdapter
          extended by com.rapidminer.operator.SimpleResultObject
All Implemented Interfaces:
IOObject, ResultObject, Saveable, LoggingHandler, java.io.Serializable

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.

Author:
Ingo Mierswa, Simon Fischer Exp $
See Also:
Serialized Form

Constructor Summary
SimpleResultObject(java.lang.String name, java.lang.String text)
           
 
Method Summary
 java.lang.String getExtension()
          Returns the default extension in file choosers.
 java.lang.String getFileDescription()
          Returns the file description used in file choosers.
 java.lang.String getName()
          The default implementation returns the classname without package.
 java.lang.String toString()
           
 
Methods inherited from class com.rapidminer.operator.ResultObjectAdapter
addAction, getActions, getResultIcon, getVisualizationComponent, isSavable, log, logError, logNote, logWarning, save, toHTML, toResultString
 
Methods inherited from class com.rapidminer.operator.AbstractIOObject
copy, getLog, getSource, initWriting, read, setLoggingHandler, setSource, write
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.rapidminer.operator.IOObject
copy, getLog, getSource, setLoggingHandler, setSource, write
 

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

getExtension

public java.lang.String getExtension()
Description copied from interface: Saveable
Returns the default extension in file choosers.


getFileDescription

public java.lang.String getFileDescription()
Description copied from interface: Saveable
Returns the file description used in file choosers.



Copyright © 2001-2009 by Rapid-I