java.lang.Object
edu.internet2.middleware.grouper.ext.org.apache.ddlutils.task.Parameter
edu.internet2.middleware.grouper.ext.org.apache.ddlutils.task.TableSpecificParameter

public class TableSpecificParameter extends Parameter
Specifies a parameter for the creation of the tables. These are usually platform specific. Note that parameters are only applied when creating new tables, not when altering existing ones. Note also that if no table name is specified, the parameter is used for all created tables.
Version:
$Revision: 231306 $
  • Constructor Details

    • TableSpecificParameter

      public TableSpecificParameter()
  • Method Details

    • setTables

      public void setTables(String tableList)
      Specifies the comma-separated list of table names in whose creation this parameter shall be used. For every table not in this list, the parameter is ignored.
      Parameters:
      tableList - The tables
    • setTable

      public void setTable(String tableName)
      Specifies the name of the table in whose creation this parameter shall be applied.
      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