public class AssignGenerator extends java.lang.Object implements IdGenerator
| Modifier | Constructor and Description |
|---|---|
|
AssignGenerator()
Instantiates a new assign generator.
|
protected |
AssignGenerator(boolean ordered)
Instantiates a new assign generator.
|
| Modifier and Type | Method and Description |
|---|---|
<E> java.io.Serializable |
generate(E entity,
PropertyMapping<?> idPropertyMapping)
Generate.
|
boolean |
isDatabaseGeneration()
Checks if is database generation.
|
boolean |
isOrdered()
Checks if is ordered.
|
public AssignGenerator()
protected AssignGenerator(boolean ordered)
ordered - the orderedpublic boolean isOrdered()
isOrdered in interface IdGeneratorpublic <E> java.io.Serializable generate(E entity,
PropertyMapping<?> idPropertyMapping)
generate in interface IdGeneratorE - the element typeentity - the entityidPropertyMapping - the id property mappingpublic boolean isDatabaseGeneration()
isDatabaseGeneration in interface IdGenerator