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
| Methods inherited from class java.lang.Object |
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractSequenceFactory
public AbstractSequenceFactory()
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.
Copyright 2001,2002,2003 SolarMetric, Inc. All Rights Reserved.