UUID_HEX, UUID_STRING, UUID_TYPE4_HEX, UUID_TYPE4_STRING| Constructor and Description |
|---|
GeneratorImpl(Seq seq,
java.lang.String name,
StoreContext ctx,
ClassMetaData meta)
Constructor; supply delegate.
|
| Modifier and Type | Method and Description |
|---|---|
void |
allocate(int additional)
Hint to the sequence to allocate additional values up-front for
efficiency.
|
java.lang.Object |
current()
The current sequence value, or null if the sequence does not
support current values.
|
boolean |
equals(java.lang.Object other) |
Seq |
getDelegate()
Delegate.
|
java.lang.String |
getName()
The sequence name.
|
int |
hashCode() |
java.lang.Object |
next()
The next sequence value.
|
public GeneratorImpl(Seq seq, java.lang.String name, StoreContext ctx, ClassMetaData meta)
public Seq getDelegate()
getDelegate in interface Generatorpublic java.lang.String getName()
Generatorpublic java.lang.Object next()
Generatorpublic java.lang.Object current()
Generatorpublic void allocate(int additional)
Generatorpublic int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object other)
equals in class java.lang.ObjectCopyright © 2006-2013 Apache Software Foundation. All Rights Reserved.