|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sf.colle.sql.schema.ForeignKey
Model abstraction of a foreign key on a relational table. Created: 23 Feb 2001
Constructor Summary | |
(package private) |
ForeignKey(String psName,
org.jdom.Element pxData,
Table pxTable,
TableBuilder pxBuilder)
Constructs an foreign key on a relational table. |
Method Summary | |
(package private) void |
appendColumn(Column pxColumn,
org.jdom.Element pxData)
Appends a column that is part of the index. |
(package private) void |
connect(RelationalModel pxModel)
Finds the foreign index. |
String |
getCreateSQL()
Returns a complete SQL statement that can be used to create this foreign key. |
String |
getName()
Returns the name of the foreign key. |
Table |
getReferenceTable()
Returns the reference table name of the foreign key. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
ForeignKey(String psName, org.jdom.Element pxData, Table pxTable, TableBuilder pxBuilder)
Method Detail |
public String getName()
public Table getReferenceTable()
public String getCreateSQL()
void appendColumn(Column pxColumn, org.jdom.Element pxData)
void connect(RelationalModel pxModel)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |