SolarMetric Kodo JDO 2.5.8 generated on January 11 2004

com.solarmetric.kodo.impl.jdbc.schema
Class AbstractSequenceFactory

java.lang.Object
  |
  +--com.solarmetric.kodo.impl.jdbc.schema.AbstractSequenceFactory
All Implemented Interfaces:
SequenceFactory, Serializable
Direct Known Subclasses:
AutoIncrementSequenceFactory, ClassSequenceFactory, DBSequenceFactory, TrueSequenceFactory

public abstract class AbstractSequenceFactory
extends Object
implements SequenceFactory

Abstract implementation of the SequenceFactory that provides a holder for configuratiion information.

Since:
2.5.0
See Also:
Serialized Form

Constructor Summary
AbstractSequenceFactory()
           
 
Method Summary
 JDBCConfiguration getConfiguration()
          Returns the JDBCConfiguration instance that will be used by this sequence factory.
 DBDictionary getDictionary()
          Returns the DBDictionary instance that will be used by this sequence factory.
 void setConfiguration(JDBCConfiguration configuration)
          Set the JDBCConfiguration instance that will be used by this implementation.
 void setConfiguration(JDBCConfiguration conf, DBDictionary dict)
          Set the configuration for this factory; allows access to database connection information, etc.
 void setDictionary(DBDictionary dictionary)
          Set the DBDictionary instance that will be used by this sequence factory implementation.
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.solarmetric.kodo.impl.jdbc.SequenceFactory
getNext
 

Constructor Detail

AbstractSequenceFactory

public AbstractSequenceFactory()
Method Detail

setConfiguration

public void setConfiguration(JDBCConfiguration conf,
                             DBDictionary dict)
Description copied from interface: SequenceFactory
Set the configuration for this factory; allows access to database connection information, etc.
Specified by:
setConfiguration in interface SequenceFactory

setConfiguration

public void setConfiguration(JDBCConfiguration configuration)
Set the JDBCConfiguration instance that will be used by this implementation.

getConfiguration

public JDBCConfiguration getConfiguration()
Returns the JDBCConfiguration instance that will be used by this sequence factory.

setDictionary

public void setDictionary(DBDictionary dictionary)
Set the DBDictionary instance that will be used by this sequence factory implementation.

getDictionary

public DBDictionary getDictionary()
Returns the DBDictionary instance that will be used by this sequence factory.

SolarMetric Kodo JDO 2.5.8 generated on January 11 2004

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