public interface Relationship extends Serializable, Comparable<Relationship>
Modifier and Type | Method and Description |
---|---|
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).
|
compareTo
Table getPrimaryTable()
Column[] getPrimaryColumns()
Table getForeignTable()
Column[] getForeignColumns()
boolean containsColumnPair(Column pkColumn, Column fkColumn)
pkColumn
- primary key columnfkColumn
- foreign key columnCopyright © 2007–2014 The Apache Software Foundation. All rights reserved.