public class SortedUUIDGenerator extends Object implements IdGenerator
| Constructor and Description |
|---|
SortedUUIDGenerator(String name,
int sortedLength,
int uuidLength) |
| 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
|
String |
getName() |
Object |
getNextID(NormalJdbcTool jdbc,
Dialect dialect,
Type dataType)
Get the next ID generated by implementation of IdGenerator
|
int |
getSortedLength() |
int |
getUuidLength() |
IdGenerator |
newCopy()
Return a newCopy (Deep Clone) instance
|
public SortedUUIDGenerator(String name, int sortedLength, int uuidLength)
public GenerationType getGenerationType()
IdGeneratorgetGenerationType in interface IdGeneratorpublic String getIdGenName()
IdGeneratorgetIdGenName in interface IdGeneratorpublic Boolean dependOnAutoIdGenerator()
IdGeneratordependOnAutoIdGenerator in interface IdGeneratorpublic Object getNextID(NormalJdbcTool jdbc, Dialect dialect, Type dataType)
IdGeneratorgetNextID in interface IdGeneratorjdbc - A NormalJdbcTool implementation to access databasedialect - The DialectdataType - The Type of a columnpublic IdGenerator newCopy()
IdGeneratornewCopy in interface IdGeneratorpublic String getName()
public int getSortedLength()
public int getUuidLength()
Copyright © 2021. All rights reserved.