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

## org.objectstyle.cayenne.dba
Class PkRange

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

    public final class PkRange

extends java.lang.Object

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

Author:
  Andrei Adamchik

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

Method Summary
`java.lang.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 java.lang.Integer getNextPrimaryKey()

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

Copyright © 2001-2006 ObjectStyle.org All Rights Reserved.