org.wamblee.test.persistence
Class CompositeJpaTables

java.lang.Object
  extended by org.wamblee.test.persistence.CompositeJpaTables
All Implemented Interfaces:
org.dbunit.dataset.filter.ITableFilterSimple

public class CompositeJpaTables
extends java.lang.Object
implements org.dbunit.dataset.filter.ITableFilterSimple

Composite JPA tables. Implements the logical or of several table filters.

Author:
Erik Brakkee

Constructor Summary
CompositeJpaTables()
          Construcst the tables.
 
Method Summary
 boolean accept(java.lang.String aTableName)
           
 void add(org.dbunit.dataset.filter.ITableFilterSimple aFilter)
          Adds a table filter.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CompositeJpaTables

public CompositeJpaTables()
Construcst the tables.

Method Detail

add

public void add(org.dbunit.dataset.filter.ITableFilterSimple aFilter)
Adds a table filter.

Parameters:
aFilter - filter.

accept

public boolean accept(java.lang.String aTableName)
               throws org.dbunit.dataset.DataSetException
Specified by:
accept in interface org.dbunit.dataset.filter.ITableFilterSimple
Throws:
org.dbunit.dataset.DataSetException


Copyright © 2010. All Rights Reserved.