public class AddTableChange extends Object implements ModelChange
| Constructor and Description |
|---|
AddTableChange(Table newTable)
Creates a new change object.
|
| Modifier and Type | Method and Description |
|---|---|
void |
apply(Database database,
boolean caseSensitive)
Applies this change to the given database.
|
Table |
getNewTable()
Returns the new table.
|
public AddTableChange(Table newTable)
newTable - The new table; note that the change object will keep a reference to this table
which means that the table should not be changed after creating this change objectpublic Table getNewTable()
public void apply(Database database, boolean caseSensitive)
apply in interface ModelChangedatabase - The databasecaseSensitive - Whether the case of names mattersCopyright © 2010-2015 Pivotal Software, Inc. All rights reserved.