net.sf.basedb.core.dbengine
Class TableInfo.PrimaryKeyInfo
java.lang.Object
net.sf.basedb.core.dbengine.TableInfo.PrimaryKeyInfo
- Enclosing class:
- TableInfo
public static class TableInfo.PrimaryKeyInfo
- extends Object
Holds information about the primary key of a table.
name
private final String name
columns
private final Set<String> columns
TableInfo.PrimaryKeyInfo
public TableInfo.PrimaryKeyInfo(String name,
Set<String> columns)
- Create a new PrimaryKeyInfo object.
- Parameters:
name
- The name of the primarycolumns
- The columns that are part of the primary key
getName
public String getName()
getColumns
public Set<String> getColumns()
toString
public String toString()
- Overrides:
toString
in class Object