public class PrimaryKey
extends java.lang.Object
| Constructor and Description |
|---|
PrimaryKey(IdGenerator idGenerator,
boolean databaseGeneration)
Instantiates a new primary key.
|
| Modifier and Type | Method and Description |
|---|---|
IdGenerator |
getIdGenerator()
Gets the id generator.
|
boolean |
isDatabaseGeneration()
Checks if is database generation.
|
boolean |
isOrdered()
Checks if is ordered.
|
public PrimaryKey(IdGenerator idGenerator, boolean databaseGeneration)
idGenerator - the id generatordatabaseGeneration - the generatedpublic boolean isOrdered()
public IdGenerator getIdGenerator()
public boolean isDatabaseGeneration()