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 Generator
public java.lang.String getName()
Generator
public java.lang.Object next()
Generator
public java.lang.Object current()
Generator
public void allocate(int additional)
Generator
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object other)
equals
in class java.lang.Object