public class DbForeignKeyConstraint extends DbConstraint implements ForeignKeyConstraint
Constraint.Type
Constructor and Description |
---|
DbForeignKeyConstraint(DbColumn parent,
String name,
DbTable referencedTable,
DbColumn refColumn) |
DbForeignKeyConstraint(DbColumn parent,
String name,
DbTable referencedTable,
String refColName) |
DbForeignKeyConstraint(DbTable parent,
String name,
DbTable referencedTable,
DbColumn[] columns,
DbColumn[] refColumns) |
DbForeignKeyConstraint(DbTable parent,
String name,
DbTable referencedTable,
String[] colNames,
String[] refColNames) |
Modifier and Type | Method and Description |
---|---|
List<DbColumn> |
getReferencedColumns() |
DbTable |
getReferencedTable() |
getColumns, getConstraintNameSQL, getType, toString
addObjects, checkOwnership, checkOwnership, findObject, getAbsoluteName, getName, getParent, getSpec
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getType
getColumns, getConstraintNameSQL
public DbForeignKeyConstraint(DbColumn parent, String name, DbTable referencedTable, String refColName)
public DbForeignKeyConstraint(DbColumn parent, String name, DbTable referencedTable, DbColumn refColumn)
public DbForeignKeyConstraint(DbTable parent, String name, DbTable referencedTable, String[] colNames, String[] refColNames)
public DbTable getReferencedTable()
getReferencedTable
in interface ForeignKeyConstraint
public List<DbColumn> getReferencedColumns()
getReferencedColumns
in interface ForeignKeyConstraint
Copyright © 2006–2021 OpenHMS. All rights reserved.