|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Relationship
Represents a relationship between two tables where one set of columns is the primary key, and another set is the foreign key.
Table,
Column| Method Summary | |
|---|---|
boolean |
containsColumnPair(Column pkColumn,
Column fkColumn)
Determines whether this relationship contains a specific pair of columns |
Column[] |
getForeignColumns()
Gets the foreign key columns of this relationship. |
Table |
getForeignTable()
Gets the table of the foreign key column(s). |
Column[] |
getPrimaryColumns()
Gets the primary key columns of this relationship. |
Table |
getPrimaryTable()
Gets the table of the primary key column(s). |
| Methods inherited from interface java.lang.Comparable |
|---|
compareTo |
| Method Detail |
|---|
Table getPrimaryTable()
Column[] getPrimaryColumns()
Table getForeignTable()
Column[] getForeignColumns()
boolean containsColumnPair(Column pkColumn,
Column fkColumn)
pkColumn - primary key columnfkColumn - foreign key column
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||