|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.sleepycat.persist.impl.PersistKeyAssigner
public class PersistKeyAssigner
Assigns primary keys from a Sequence. This class is used directly by PrimaryIndex, not via an interface. To avoid making a public interface, the PersistEntityBinding contains a reference to a PersistKeyAssigner, and the PrimaryIndex gets the key assigner from the binding. See the PrimaryIndex constructor for more information.
| Method Summary | |
|---|---|
boolean |
assignPrimaryKey(java.lang.Object entity,
DatabaseEntry key)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public boolean assignPrimaryKey(java.lang.Object entity,
DatabaseEntry key)
throws DatabaseException
DatabaseException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||