|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.torque.generator.source.jdbc.ForeignKeyMetadata
public class ForeignKeyMetadata
The data about a foreign key as read from JDBC Metadata.
| Constructor Summary | |
|---|---|
ForeignKeyMetadata()
|
|
| Method Summary | |
|---|---|
List<String> |
getForeignColumns()
Returns the names of the foreign columns. |
String |
getForeignKeyName()
Returns the name of the foreign key. |
List<String> |
getLocalColumns()
Returns the names of the local columns. |
String |
getReferencedTable()
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ForeignKeyMetadata()
| Method Detail |
|---|
public String getReferencedTable()
public void setReferencedTable(String referencedTable)
referencedTable - the name of the referenced (foreign) table.public String getForeignKeyName()
public void setForeignKeyName(String foreignKeyName)
foreignKeyName - the name of the foreign key.public List<String> getLocalColumns()
public List<String> getForeignColumns()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||