org.apache.ddlutils.platform
Class CreationParameters

java.lang.Object
  extended by org.apache.ddlutils.platform.CreationParameters

public class CreationParameters
extends Object

Contains parameters used in the table creation. Note that the definition order is retained (per table), so if a parameter should be applied before some other parameter, then add it before the other one.

Version:
$Revision: 331006 $

Constructor Summary
CreationParameters()
           
 
Method Summary
 void addParameter(Table table, String paramName, String paramValue)
          Adds a parameter.
 Map getParametersFor(Table table)
          Returns the parameters for the given table.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CreationParameters

public CreationParameters()
Method Detail

getParametersFor

public Map getParametersFor(Table table)
Returns the parameters for the given table.

Parameters:
table - The table
Returns:
The parameters

addParameter

public void addParameter(Table table,
                         String paramName,
                         String paramValue)
Adds a parameter.

Parameters:
table - The table; if null then the parameter is for all tables
paramName - The name of the parameter
paramValue - The value of the parameter


Copyright © 2005-2007 Apache Software Foundation. All Rights Reserved.