org.axiondb.constraints
public class ForeignKeyConstraint extends BaseConstraint
Version: $Revision: 1.11 $ $Date: 2007/11/13 19:04:02 $
| Field Summary | |
|---|---|
| static int | CASCADE |
| static int | RESTRICT |
| static int | SETDEFAULT |
| static int | SETNULL |
| Constructor Summary | |
|---|---|
| ForeignKeyConstraint(String name) | |
| ForeignKeyConstraint(String name, String type) | |
| Method Summary | |
|---|---|
| void | addColumns(List list) |
| void | addForeignColumns(List list) |
| boolean | evaluate(RowEvent event) |
| boolean | evaluate(RowEvent event, RowDecorator dec) |
| boolean | evaluate(RowIterator oldRows, RowIterator newRows, Table table) |
| List | getChildTableColumns() |
| String | getChildTableName() |
| int | getOnDeleteActionType() |
| int | getOnUpdateActionType() |
| List | getParentTableColumns() |
| String | getParentTableName() |
| void | resolve(Database db, TableIdentifier table) |
| void | setChildTable(Table table) |
| void | setChildTableName(String tableName) |
| void | setOnDeleteActionType(int actionType) |
| void | setOnUpdateActionType(int actionType) |
| void | setParentTable(Table table) |
| void | setParentTableName(String tableName) |