public class StringIdGeneratorDecorator extends java.lang.Object implements IdGeneratorDecorator
| Modifier and Type | Field and Description |
|---|---|
protected IdGenerator |
actual |
protected IdConverter |
idConverter |
| Constructor and Description |
|---|
StringIdGeneratorDecorator(IdGenerator actual,
IdConverter idConverter) |
| Modifier and Type | Method and Description |
|---|---|
IdGenerator |
getActual()
Get decorator actual id generator.
|
IdConverter |
idConverter()
ID converter, used to convert
long type ID to String. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgenerate, getActualgenerateAsStringprotected final IdGenerator actual
protected final IdConverter idConverter
public StringIdGeneratorDecorator(IdGenerator actual, IdConverter idConverter)
public IdConverter idConverter()
IdGeneratorlong type ID to String.idConverter in interface IdGeneratorpublic IdGenerator getActual()
IdGeneratorDecoratorgetActual in interface IdGeneratorDecorator