public interface IdGenerator
| Modifier and Type | Method and Description |
|---|---|
Boolean |
dependOnAutoIdGenerator()
If depends on AutoIdGenerator, for example SortedUUIDGenerator depends on
AutoIdGenerator to create start numbers
|
GenerationType |
getGenerationType()
Return GenerationType
|
String |
getIdGenName()
Return a unique Id Generator name in this TableModel
|
Object |
getNextID(NormalJdbcTool jdbc,
Dialect dialect,
Type dataType)
Get the next ID generated by implementation of IdGenerator
|
IdGenerator |
newCopy()
Return a newCopy (Deep Clone) instance
|
Object getNextID(NormalJdbcTool jdbc, Dialect dialect, Type dataType)
jdbc - A NormalJdbcTool implementation to access databasedialect - The DialectdataType - The Type of a columnGenerationType getGenerationType()
String getIdGenName()
IdGenerator newCopy()
Boolean dependOnAutoIdGenerator()
Copyright © 2021. All rights reserved.