Class DefaultDatabaseTableFilter
- java.lang.Object
-
- de.akquinet.jbosscc.guttenbase.defaults.impl.DefaultDatabaseTableFilter
-
- All Implemented Interfaces:
DatabaseTableFilter
public class DefaultDatabaseTableFilter extends Object implements DatabaseTableFilter
-
-
Constructor Summary
Constructors Constructor Description DefaultDatabaseTableFilter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
accept(TableMetaData table)
Additionally you may add checks to the resulting meta data objectString
getCatalog(DatabaseMetaData databaseMetaData)
String
getSchema(DatabaseMetaData databaseMetaData)
String
getSchemaPattern(DatabaseMetaData databaseMetaData)
String
getTableNamePattern(DatabaseMetaData databaseMetaData)
String[]
getTableTypes(DatabaseMetaData databaseMetaData)
-
-
-
Method Detail
-
getCatalog
public String getCatalog(DatabaseMetaData databaseMetaData)
- Specified by:
getCatalog
in interfaceDatabaseTableFilter
-
getSchema
public String getSchema(DatabaseMetaData databaseMetaData)
- Specified by:
getSchema
in interfaceDatabaseTableFilter
-
getSchemaPattern
public String getSchemaPattern(DatabaseMetaData databaseMetaData)
- Specified by:
getSchemaPattern
in interfaceDatabaseTableFilter
-
getTableNamePattern
public String getTableNamePattern(DatabaseMetaData databaseMetaData)
- Specified by:
getTableNamePattern
in interfaceDatabaseTableFilter
-
getTableTypes
public String[] getTableTypes(DatabaseMetaData databaseMetaData)
- Specified by:
getTableTypes
in interfaceDatabaseTableFilter
-
accept
public boolean accept(TableMetaData table)
Description copied from interface:DatabaseTableFilter
Additionally you may add checks to the resulting meta data object- Specified by:
accept
in interfaceDatabaseTableFilter
- Returns:
- true if the table should be added the database meta data
-
-