org.rhq.helpers.perftest.support.dbunit
Class EntityRelationshipTableIterator

java.lang.Object
  extended by org.rhq.helpers.perftest.support.dbunit.EntityRelationshipTableIterator
All Implemented Interfaces:
org.dbunit.dataset.ITableIterator

public class EntityRelationshipTableIterator
extends Object
implements org.dbunit.dataset.ITableIterator

This is a table iterator able to filter out rows with disallowed primary key values.

Author:
Lukas Krejci

Constructor Summary
EntityRelationshipTableIterator(org.dbunit.dataset.ITableIterator wrappedIterator, ColumnValuesTableMap allowedPks)
           
 
Method Summary
 org.dbunit.dataset.ITable getTable()
           
 org.dbunit.dataset.ITableMetaData getTableMetaData()
           
 boolean next()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EntityRelationshipTableIterator

public EntityRelationshipTableIterator(org.dbunit.dataset.ITableIterator wrappedIterator,
                                       ColumnValuesTableMap allowedPks)
Method Detail

next

public boolean next()
             throws org.dbunit.dataset.DataSetException
Specified by:
next in interface org.dbunit.dataset.ITableIterator
Throws:
org.dbunit.dataset.DataSetException

getTableMetaData

public org.dbunit.dataset.ITableMetaData getTableMetaData()
                                                   throws org.dbunit.dataset.DataSetException
Specified by:
getTableMetaData in interface org.dbunit.dataset.ITableIterator
Throws:
org.dbunit.dataset.DataSetException

getTable

public org.dbunit.dataset.ITable getTable()
                                   throws org.dbunit.dataset.DataSetException
Specified by:
getTable in interface org.dbunit.dataset.ITableIterator
Throws:
org.dbunit.dataset.DataSetException


Copyright © 2008-2012 Red Hat, Inc.. All Rights Reserved.