public class UUIDAnyGenerator extends Object implements IdGenerator
| Constructor and Description |
|---|
UUIDAnyGenerator() |
UUIDAnyGenerator(String name,
Integer length)
Build a give length UUID Generator
|
| Modifier and Type | Method and Description |
|---|---|
Boolean |
dependOnAutoIdGenerator()
If depends on AutoIdGenerator, for example SortedUUIDGenerator depends on
AutoIdGenerator to create start numbers
|
static String |
getAnyLengthRadix36UUID(Integer length) |
GenerationType |
getGenerationType()
Return GenerationType
|
String |
getIdGenName()
Return a unique Id Generator name in this TableModel
|
Integer |
getLength() |
Object |
getNextID(Connection con,
Dialect dialect,
Type dataType)
Get the next ID generated by implementation of IdGenerator
|
IdGenerator |
newCopy()
Return a newCopy (Deep Clone) instance
|
void |
setLength(Integer length) |
public GenerationType getGenerationType()
IdGeneratorgetGenerationType in interface IdGeneratorpublic String getIdGenName()
IdGeneratorgetIdGenName in interface IdGeneratorpublic Object getNextID(Connection con, Dialect dialect, Type dataType)
IdGeneratorgetNextID in interface IdGeneratordialect - The DialectdataType - The Type of a columnpublic Boolean dependOnAutoIdGenerator()
IdGeneratordependOnAutoIdGenerator in interface IdGeneratorpublic IdGenerator newCopy()
IdGeneratornewCopy in interface IdGeneratorpublic Integer getLength()
public void setLength(Integer length)
Copyright © 2022. All rights reserved.