public class PrimaryKeyFactory extends Object
PrimaryKeys. Builds the universal primary key as a
super-set of all created primary key.| Constructor and Description |
|---|
PrimaryKeyFactory() |
| Modifier and Type | Method and Description |
|---|---|
PrimaryKey |
createPrimaryKey(List<Column> columns)
Constructs a new primary-key.
|
PrimaryKey |
getUniversalPrimaryKey(Session session)
Gets the primary-key to be used for the entity-table and closes the
factory.
|
public PrimaryKey createPrimaryKey(List<Column> columns)
IllegalStateException - if factory is closedpublic PrimaryKey getUniversalPrimaryKey(Session session)
session - for guessing null-values of columns