Overview | Package | Class | Tree | Deprecated | Index | Help
| SolarMetric Kodo JDO 2.5.8 generated on January 11 2004
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.solarmetric.kodo.impl.jdbc
Interface SequenceFactory

All Superinterfaces:
  Serializable

All Known Subinterfaces:
  SchemaSequenceFactory

All Known Implementing Classes:
  AbstractSequenceFactory, ClassSequenceFactory

public interface SequenceFactory
extends Serializable

An implementation of the SequenceFactory interface is used to generate unique primary key values for newly persisted JDO instances. SequenceFactories must be serializable so that the PersistenceManagerFactory can retain them when stored in JNDI.

Method Summary
`long` | `getNext(Class cls, Connector connector)` Return a unique primary key value for the given class.
`void` | `setConfiguration(JDBCConfiguration conf, DBDictionary dict)` Set the configuration for this factory; allows access to database connection information, etc.

Method Detail

### setConfiguration

    public void setConfiguration(JDBCConfiguration conf,
                                 DBDictionary dict)

  Set the configuration for this factory; allows access to database connection information, etc.

### getNext

    public long getNext(Class cls,
                        Connector connector)
                 throws Exception

  Return a unique primary key value for the given class.

Overview | Package | Class | Tree | Deprecated | Index | Help
| SolarMetric Kodo JDO 2.5.8 generated on January 11 2004
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright 2001,2002,2003 SolarMetric, Inc. All Rights Reserved.