Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.apache.cayenne.dba
Class PkRange

    java.lang.Object
      org.apache.cayenne.dba.PkRange

    public final class PkRange

extends Object

Represents data structure to maintain a range of cached primary keys.

Author:
  Andrus Adamchik

Constructor Summary
`PkRange(int curValue, int maxValue)`

Method Summary
`Integer` | `getNextPrimaryKey()`
`boolean` | `isExhausted()`
`void` | `reset(int curValue, int maxValue)`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### PkRange

    public PkRange(int curValue,
                   int maxValue)

Method Detail

### reset

    public void reset(int curValue,
                      int maxValue)

### isExhausted

    public boolean isExhausted()

### getNextPrimaryKey

    public Integer getNextPrimaryKey()

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2001-2007 Apache Cayenne. All Rights Reserved.