|
SolarMetric Kodo JDO 3.3.5 generated on August 31 2005 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A generator for datastore sequences. This can be used for assigning sequences to application identity primary key fields.
Method Summary | |
boolean |
ensureCapacity(int count)
Ensures that this sequence generator has sufficient capacity readily available to provide count new sequence
values. |
Number |
getNext()
Deprecated. Use next() instead. Implementations should
ensure that the value returned is within the range
of a long , and does not have a decimal
part. |
long |
next()
Returns the next long in the sequence. |
Method Detail |
public Number getNext()
next()
instead. Implementations should
ensure that the value returned is within the range
of a long
, and does not have a decimal
part.
Number
in the sequence.public long next()
long
in the sequence.public boolean ensureCapacity(int count)
count
new sequence
values.true
if the generator can service
count
requests without returning to the
datastore; else false
|
SolarMetric Kodo JDO 3.3.5 generated on August 31 2005 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |