1 package org.wamblee.support.persistence;
3 import java.util.ArrayList;
6 import org.dbunit.dataset.DataSetException;
7 import org.dbunit.dataset.filter.ITableFilterSimple;
9 public class CompositeJpaTables implements ITableFilterSimple {
11 private List<ITableFilterSimple> _tables;
13 public CompositeJpaTables() {
14 _tables = new ArrayList<ITableFilterSimple>();
17 public void add(ITableFilterSimple aFilter) {
22 public boolean accept(String aTableName) throws DataSetException {
23 for (ITableFilterSimple filter: _tables) {
24 if (filter.accept(aTableName)) {