|
Kodo 4.0.0 generated on May 15 2006 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectkodo.persistence.Generator
public class Generator
Represents a store sequence.
Field Summary | |
---|---|
static String |
UUID_HEX
|
static String |
UUID_STRING
|
Constructor Summary | |
---|---|
Generator(kodo.kernel.Seq seq,
String name,
kodo.kernel.StoreContext ctx,
kodo.meta.ClassMetaData meta)
Constructor; supply delegate. |
Method Summary | |
---|---|
void |
allocate(int additional)
Hint to the sequence to allocate additional values up-front for efficiency. |
Object |
current()
The current sequence value, or null if the sequence does not support current values. |
boolean |
equals(Object other)
|
kodo.kernel.Seq |
getDelegate()
Delegate. |
String |
getName()
The sequence name. |
int |
hashCode()
|
Object |
next()
The next sequence value. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String UUID_HEX
public static final String UUID_STRING
Constructor Detail |
---|
public Generator(kodo.kernel.Seq seq, String name, kodo.kernel.StoreContext ctx, kodo.meta.ClassMetaData meta)
Method Detail |
---|
public kodo.kernel.Seq getDelegate()
public String getName()
public Object next()
public Object current()
public void allocate(int additional)
public int hashCode()
hashCode
in class Object
public boolean equals(Object other)
equals
in class Object
|
Kodo 4.0.0 generated on May 15 2006 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |