Klasse ForeignKeyMetadata
java.lang.Object
org.apache.torque.generator.source.jdbc.ForeignKeyMetadata
The data about a foreign key as read from JDBC Metadata.
- Version:
- $Id: ForeignKeyMetadata.java 1917241 2024-04-21 13:29:41Z tv $
-
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungReturns the names of the foreign columns.Returns the name of the foreign key.Returns the names of the local columns.Returns the name of the referenced (foreign) table.void
setForeignKeyName
(String foreignKeyName) Sets the name of the foreign key.void
setReferencedTable
(String referencedTable) Sets the name of the referenced (foreign) table.
-
Konstruktordetails
-
ForeignKeyMetadata
public ForeignKeyMetadata()
-
-
Methodendetails
-
getReferencedTable
Returns the name of the referenced (foreign) table.- Gibt zurück:
- the name of the referenced (foreign) table.
-
setReferencedTable
Sets the name of the referenced (foreign) table.- Parameter:
referencedTable
- the name of the referenced (foreign) table.
-
getForeignKeyName
Returns the name of the foreign key.- Gibt zurück:
- the name of the foreign key.
-
setForeignKeyName
Sets the name of the foreign key.- Parameter:
foreignKeyName
- the name of the foreign key.
-
getLocalColumns
Returns the names of the local columns. To change the list in this object, the returned list can be modified.- Gibt zurück:
- the names of the local columns.
-
getForeignColumns
Returns the names of the foreign columns. To change the list in this object, the returned list can be modified.- Gibt zurück:
- the names of the foreign columns.
-