@InterfaceStability.Stable 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
|
List<Column> |
getForeignColumns()
Gets the foreign key columns of this relationship.
|
Table |
getForeignTable()
Gets the table of the foreign key column(s).
|
List<Column> |
getPrimaryColumns()
Gets the primary key columns of this relationship.
|
Table |
getPrimaryTable()
Gets the table of the primary key column(s).
|
compareToTable getPrimaryTable()
List<Column> getPrimaryColumns()
Table getForeignTable()
List<Column> getForeignColumns()
boolean containsColumnPair(Column pkColumn, Column fkColumn)
pkColumn - primary key columnfkColumn - foreign key columnCopyright © 2007–2019 The Apache Software Foundation. All rights reserved.