|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.triactive.jdo.store.OIDGenerator
com.triactive.jdo.store.DatastoreOIDGenerator
public class DatastoreOIDGenerator
An OID generator backed by the sequences in JDO_TABLE.
Field Summary |
---|
Fields inherited from class com.triactive.jdo.store.OIDGenerator |
---|
classId, nextHiValue, nextLoValue |
Constructor Summary | |
---|---|
DatastoreOIDGenerator(int classId)
Constructs a new datastore OID generator. |
Method Summary | |
---|---|
OID |
next(StoreManager storeMgr)
Generates the next unique OID value. |
Methods inherited from class com.triactive.jdo.store.OIDGenerator |
---|
maximum, minimum |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DatastoreOIDGenerator(int classId)
classId
- the class ID of OIDs to generate.Method Detail |
---|
public OID next(StoreManager storeMgr)
OIDGenerator
next
in class OIDGenerator
storeMgr
- the store manager to use for accessing datastore-based sequence(s),
if necessary.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |