com.armatiek.infofuze.result
Interface DataResultIf

All Known Implementing Classes:
AbstractSAXResult, AbstractStreamResult, FileResult, JDBCResult, NullResult, SolrjResult

public interface DataResultIf

Interface that must be implemented by all Infofuze result classes.

Author:
Maarten Kroon

Method Summary
 void close()
          Closes the result.
 java.lang.String getName()
          Returns the name of this result.
 java.lang.String getTransformId()
          Returns the transformation identifier of the transformation this result is currently part of.
 Definitions.TransformMode getTransformMode()
          Returns the transformation mode of the transformation this result is currently part of.
 boolean isOpen()
          Tests whether this result is open or not.
 void open()
          Opens this result.
 void reset()
          Resets this result (i.e. resets the transformation mode and identifier).
 void setParameters(java.util.List<Parameter> params)
          Sets the parameters.
 void setTransformId(java.lang.String id)
          Sets the transformation identifier.
 void setTransformMode(Definitions.TransformMode transformMode)
          Sets the transformation mode.
 

Method Detail

close

void close()
Closes the result.


getName

java.lang.String getName()
Returns the name of this result.

Returns:
A String specifying the name of this result

getTransformId

java.lang.String getTransformId()
Returns the transformation identifier of the transformation this result is currently part of.

Returns:
A String specifying the transformation identifier

getTransformMode

Definitions.TransformMode getTransformMode()
Returns the transformation mode of the transformation this result is currently part of.

Returns:
The transformation mode

isOpen

boolean isOpen()
Tests whether this result is open or not.


open

void open()
Opens this result.


reset

void reset()
Resets this result (i.e. resets the transformation mode and identifier).


setTransformId

void setTransformId(java.lang.String id)
Sets the transformation identifier.

Parameters:
id - A String specifying the transformation identifier

setTransformMode

void setTransformMode(Definitions.TransformMode transformMode)
Sets the transformation mode.

Parameters:
transformMode - The transformation mode

setParameters

void setParameters(java.util.List<Parameter> params)
Sets the parameters.

Parameters:
params - A list containing the parameters