|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectplanetj.database.ForeignKey
Represents a foreign key relationship between two tables
Constructor Summary | |
ForeignKey()
|
Method Summary | |
java.util.List |
getDependentTables()
Gets a List containing all of the tables in this ITableDependency which depend on the primary table |
java.util.List |
getForeignKeyColumnNames()
Gets a List containing the names of columns in the foreign key table which reference columns in the primary key table. |
Table |
getForeignKeyTable()
Gets the foreign key table whose columns have a foreign key reference to columns in another table |
java.util.List |
getPrimaryColumnNames()
Gets a List containing the names of columns in the primary table which are referenced by columns in the foreign key table. |
Table |
getPrimaryTable()
Gets the primary table whose columns are referenced as foreign keys by another table |
protected void |
setForeignKeyColumnNames(java.util.List colNames)
Sets a List containing the names of columns in the foreign key table which reference columns in the primary key table. |
protected void |
setForeignKeyTable(Table t)
Sets the foreign key table whose columns have a foreign key reference to columns in another table |
protected void |
setPrimaryColumnNames(java.util.List colNames)
Sets a List containing the names of columns in the primary table which are referenced by columns in the foreign key table. |
protected void |
setPrimaryTable(Table t)
Sets the primary table whose columns are referenced as foreign keys by another table |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ForeignKey()
Method Detail |
public java.util.List getDependentTables()
getDependentTables
in interface ITableDependency
public java.util.List getForeignKeyColumnNames()
public Table getForeignKeyTable()
public java.util.List getPrimaryColumnNames()
public Table getPrimaryTable()
getPrimaryTable
in interface ITableDependency
protected void setForeignKeyColumnNames(java.util.List colNames)
protected void setForeignKeyTable(Table t)
protected void setPrimaryColumnNames(java.util.List colNames)
protected void setPrimaryTable(Table t)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |