org.eobjects.metamodel.data
Class SubSelectionDataSet

java.lang.Object
  extended by org.eobjects.metamodel.util.BaseObject
      extended by org.eobjects.metamodel.data.AbstractDataSet
          extended by org.eobjects.metamodel.data.SubSelectionDataSet
All Implemented Interfaces:
Closeable, Iterable<Row>, DataSet

public final class SubSelectionDataSet
extends AbstractDataSet

DataSet wrapper for doing subselection.

Author:
Kasper Sørensen

Constructor Summary
SubSelectionDataSet(SelectItem[] selectItemsArray, DataSet dataSet)
           
 
Method Summary
 void close()
          Closes the DataSet and any resources it may be holding.
 Row getRow()
           
 DataSet getWrappedDataSet()
           
 boolean next()
          Moves forward to the next row.
 
Methods inherited from class org.eobjects.metamodel.data.AbstractDataSet
decorateIdentity, getHeader, getSelectItems, indexOf, iterator, toObjectArrays, toRows, toString, toTableModel
 
Methods inherited from class org.eobjects.metamodel.util.BaseObject
classEquals, equals, hashCode
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SubSelectionDataSet

public SubSelectionDataSet(SelectItem[] selectItemsArray,
                           DataSet dataSet)
Method Detail

getWrappedDataSet

public DataSet getWrappedDataSet()

next

public boolean next()
Description copied from interface: DataSet
Moves forward to the next row.

Returns:
true if there is a next row or false if not.

getRow

public Row getRow()
Returns:
the current row.

close

public void close()
Description copied from class: AbstractDataSet
Closes the DataSet and any resources it may be holding.

Specified by:
close in interface Closeable
Specified by:
close in interface DataSet
Overrides:
close in class AbstractDataSet


Copyright © 2007-2013. All Rights Reserved.