* @param driver the driver for which to enable or disable the relation
*/
public String getEnableDisableStmt(boolean enable, DBDatabaseDriver driver)
{
if (driver==null)
throw new InvalidArgumentException("driver", driver);
// get Statement
DBSQLScript script = new DBSQLScript();
driver.addEnableRelationStmt(this, enable, script);
if (script.getCount()!=1)
throw new UnexpectedReturnValueException(script.getCount(), "driver.addEnableRelationStatement");