pulse - the web application framework Get pulse at SourceForge.net. Fast, secure and Free Open Source software downloads Ohloh project report for pulse-java

org.torweg.pulse.bundle
Class ResultSet

java.lang.Object
  extended by org.torweg.pulse.bundle.ResultSet
All Implemented Interfaces:
JDOMable

public final class ResultSet
extends java.lang.Object
implements JDOMable

A collection entity for Results.

Version:
$Revision: 1809 $
Author:
Thomas Weber

Constructor Summary
ResultSet(MetaData md)
           
 
Method Summary
 void addResult(java.lang.Object r)
          adds a result to the result set.
 org.jdom.Element deserializeToJDOM()
          serialises the results to a JDOM.
 MetaData getMetaData()
          returns a reference to the result sets meta data.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ResultSet

public ResultSet(MetaData md)
Parameters:
md - the meta-data to set
Method Detail

addResult

public void addResult(java.lang.Object r)
adds a result to the result set.

Parameters:
r - the result of the bundle

deserializeToJDOM

public org.jdom.Element deserializeToJDOM()
serialises the results to a JDOM.

Specified by:
deserializeToJDOM in interface JDOMable
Returns:
the results as a JDOM

getMetaData

public MetaData getMetaData()
returns a reference to the result sets meta data.

Returns:
the meta data