Package net.sf.basedb.core.dbengine
Class TableInfo.ForeignKeyInfo
- java.lang.Object
-
- net.sf.basedb.core.dbengine.TableInfo.ForeignKeyInfo
-
-
Constructor Summary
Constructors Constructor Description ForeignKeyInfo(String name, String refName)
Create a new ForeignKeyInfo object.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Set<String>
getFkColumns()
String
getName()
Set<String>
getRefColumns()
String
getRefName()
String
toString()
-
-
-
Constructor Detail
-
ForeignKeyInfo
public ForeignKeyInfo(String name, String refName)
Create a new ForeignKeyInfo object. You should also add column names to thegetFkColumns()
andgetRefColumns()
sets.- Parameters:
name
- The name of the foreign keyrefName
- The referenced table
-
-