public class ForeignKeyMetadata extends Object
Modifier and Type | Method and Description |
---|---|
void |
addReference(ResultSet rs)
Adds a reference.
|
String |
getName()
Returns the foreign key name.
|
Map<String,String> |
getReferences() |
String |
getRefTable() |
boolean |
hasReference(String columnName,
String refColumnName)
Returns true if references the same column.
|
String |
toString() |
public String getName()
public String getRefTable()
public void addReference(ResultSet rs) throws SQLException
rs
- SQLException
public boolean hasReference(String columnName, String refColumnName)
columnName
- refColumnName
- Copyright © 2007-2020 Whitestein Technologies. All Rights Reserved.