public interface Relations
Database's schema.| Modifier and Type | Method and Description |
|---|---|
List<ForeignKeyDefinition> |
getForeignKeys(ColumnDefinition column)
Get a list of foreign keys for a given table, that the column
participates in.
|
List<ForeignKeyDefinition> |
getForeignKeys(TableDefinition table)
Get a list of foreign keys for a given table.
|
UniqueKeyDefinition |
getPrimaryKey(ColumnDefinition column)
Get the the primary for a given column, or
null if that
column is not part of the primary key. |
List<UniqueKeyDefinition> |
getUniqueKeys(ColumnDefinition column)
Get a list of referenced keys (primary or unique) for a given table, that
the column participates in.
|
List<UniqueKeyDefinition> |
getUniqueKeys(TableDefinition table)
Get a list of referenced keys (primary or unique) for a given table.
|
UniqueKeyDefinition getPrimaryKey(ColumnDefinition column)
null if that
column is not part of the primary key.List<UniqueKeyDefinition> getUniqueKeys(ColumnDefinition column)
List<UniqueKeyDefinition> getUniqueKeys(TableDefinition table)
List<ForeignKeyDefinition> getForeignKeys(ColumnDefinition column)
List<ForeignKeyDefinition> getForeignKeys(TableDefinition table)
Copyright © 2013. All Rights Reserved.