org.apache.ddlutils.task
Class TableSpecificParameter

java.lang.Object
  extended byorg.apache.ddlutils.task.Parameter
      extended byorg.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

Constructor Summary
TableSpecificParameter()
           
 
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 org.apache.ddlutils.task.Parameter
getName, getValue, isForPlatform, setName, setPlatforms, setValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TableSpecificParameter

public TableSpecificParameter()
Method Detail

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 table
caseSensitive - 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.