Class ForeignKey
java.lang.Object
org.apache.torque.templates.model.ForeignKey
The model of the foreign-key tag in a Torque schema file.
- Version:
- $Id: $
-
Field Summary
FieldsModifier and TypeFieldDescriptionContains all foreign column names in a comma-separated String.The name of the foreign table.Contains all local column names in a comma-separated String.The name of the foreign key.The action performed by the database if the referenced record is deleted.The action performed by the database if the referenced record is updated.The list of options for this foreign key.The table to which this foreign key definition belongs.The list of column references for this foreign key. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
parent
The table to which this foreign key definition belongs. -
optionList
The list of options for this foreign key. -
referenceList
The list of column references for this foreign key. -
name
The name of the foreign key. -
foreignTable
The name of the foreign table. -
onDelete
The action performed by the database if the referenced record is deleted. -
onUpdate
The action performed by the database if the referenced record is updated. -
localColumnNames
Contains all local column names in a comma-separated String. -
foreignColumnNames
Contains all foreign column names in a comma-separated String.
-
-
Constructor Details
-
ForeignKey
public ForeignKey()
-