org.apache.ddlutils.task
Class TableSpecificParameter
java.lang.Object
org.apache.ddlutils.task.Parameter
org.apache.ddlutils.task.TableSpecificParameter
- public class TableSpecificParameter
- extends Parameter
A Parameter
intended for specific tables.
TODO: Some wildcard/regular expression mechanism would be useful
- Version:
- $Revision: 231306 $
- Author:
- Thomas Dudziak
Method Summary |
boolean |
isForTable(Table table,
boolean caseSensitive)
Determines whether this parameter is applicable to the given table. |
void |
setTable(String tableName)
Sets the single table. |
void |
setTables(String tableList)
Sets the tables as a comma-separated list. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TableSpecificParameter
public TableSpecificParameter()
setTables
public void setTables(String tableList)
- Sets the tables as a comma-separated list.
- Parameters:
tableList
- The tables
setTable
public void setTable(String tableName)
- Sets the single table.
- Parameters:
tableName
- The table
isForTable
public boolean isForTable(Table table,
boolean caseSensitive)
- Determines whether this parameter is applicable to the given table.
- Parameters:
table
- The tablecaseSensitive
- Whether the case of the table name is relevant
- Returns:
true
if this parameter is applicable to the table
Copyright © 2005 Apache Software Foundation. All Rights Reserved.