Overview | Package | Class | Tree | Deprecated | Index | Help
| Kodo 4.1.0 generated on October 9 2006
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## kodo.runtime
Class SequenceGenerator

    java.lang.Object
      kodo.runtime.SequenceGenerator

Deprecated.

    public class SequenceGenerator

extends Object

Kodo 3.x backwards compatible interface to sequences.

Constructor Summary
`SequenceGenerator(org.apache.openjpa.kernel.Seq seq, org.apache.openjpa.kernel.Broker broker, org.apache.openjpa.meta.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.
`org.apache.openjpa.kernel.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(org.apache.openjpa.kernel.Seq seq,
                             org.apache.openjpa.kernel.Broker broker,
                             org.apache.openjpa.meta.ClassMetaData cls)

  Deprecated.
  Constructor; supply broker context and metadata, if any.

Method Detail

### getDelegate

    public org.apache.openjpa.kernel.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.

Overview | Package | Class | Tree | Deprecated | Index | Help
| Kodo 4.1.0 generated on October 9 2006
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

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