Kodo 4.2.0. generated on July 28 2008

kodo.runtime
Class SequenceGenerator

java.lang.Object
  extended by kodo.runtime.SequenceGenerator

Deprecated.

public class SequenceGenerator
extends Object

Kodo 3.x backwards compatible interface to sequences.


Constructor Summary
SequenceGenerator(Seq seq, Broker broker, ClassMetaData cls)
          Deprecated. Constructor; supply broker context and metadata, if any.
 
Method Summary
 boolean ensureCapacity(int count)
          Deprecated. Ensure that the sequence can efficiently provide count sequence values.
 Seq getDelegate()
          Deprecated. Return the internal sequence.
 Number getNext()
          Deprecated. Return the next sequence value.
 long next()
          Deprecated. Return the next sequence value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SequenceGenerator

public SequenceGenerator(Seq seq,
                         Broker broker,
                         ClassMetaData cls)
Deprecated. 
Constructor; supply broker context and metadata, if any.

Method Detail

getDelegate

public Seq getDelegate()
Deprecated. 
Return the internal sequence.


getNext

public Number getNext()
Deprecated. 
Return the next sequence value.


next

public long next()
Deprecated. 
Return the next sequence value.


ensureCapacity

public boolean ensureCapacity(int count)
Deprecated. 
Ensure that the sequence can efficiently provide count sequence values.


Kodo 4.2.0. generated on July 28 2008

Copyright 2001-2006 BEA Systems, Inc. All Rights Reserved.