Package com.im.df.impl.db.sprovider
Class SchemaProviderImpl
- java.lang.Object
-
- com.im.df.impl.db.sprovider.SchemaProviderImpl
-
- All Implemented Interfaces:
com.im.df.api.DFSchemaProvider
public final class SchemaProviderImpl extends Object implements com.im.df.api.DFSchemaProvider
- Author:
- Petr Hamernik
-
-
Constructor Summary
Constructors Constructor Description SchemaProviderImpl(com.chemaxon.dif.db.api.schema.DBSchemaImpl createdSchema)
Helper constructor, which allows to create a very simple SchemaProvider around an existing DFSchema.SchemaProviderImpl(DBImplSchemaProvider.PropsProvider propsProvider)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addPropertyChangeListener(PropertyChangeListener listener)
void
closeSchema(com.im.commons.progress.DFEnvironmentRW env)
void
deleteSchema(com.im.commons.progress.DFEnvironmentRW env, boolean deleteMetaDataTables)
com.im.df.api.DFSchemaProvider.StepInfo
getLastStateResult()
com.im.commons.progress.DFLockable
getLockable()
com.im.df.api.ddl.DFSchema
getSchema()
com.im.df.api.SchemaType
getSchemaType()
com.im.df.api.DFSchemaProvider.State
getState()
com.im.df.api.DFSchemaProvider.StepInfo
proceedToNextState(com.im.commons.progress.DFEnvironmentRW env)
static void
registerCacheForJCP(DBSchemaJChemImpl schema, com.im.commons.db.util.SchemaQualifiedName jcp, boolean jcpCreatedOrDestroyed)
void
removePropertyChangeListener(PropertyChangeListener listener)
String
toString()
-
-
-
Constructor Detail
-
SchemaProviderImpl
public SchemaProviderImpl(DBImplSchemaProvider.PropsProvider propsProvider)
-
SchemaProviderImpl
public SchemaProviderImpl(com.chemaxon.dif.db.api.schema.DBSchemaImpl createdSchema)
Helper constructor, which allows to create a very simple SchemaProvider around an existing DFSchema. This is currently used only in tests.- Parameters:
createdSchema
- the existing schema
-
-
Method Detail
-
getSchemaType
public com.im.df.api.SchemaType getSchemaType()
- Specified by:
getSchemaType
in interfacecom.im.df.api.DFSchemaProvider
-
getState
public com.im.df.api.DFSchemaProvider.State getState()
- Specified by:
getState
in interfacecom.im.df.api.DFSchemaProvider
-
getLastStateResult
public com.im.df.api.DFSchemaProvider.StepInfo getLastStateResult()
- Specified by:
getLastStateResult
in interfacecom.im.df.api.DFSchemaProvider
-
getSchema
public com.im.df.api.ddl.DFSchema getSchema()
-
getLockable
public com.im.commons.progress.DFLockable getLockable()
- Specified by:
getLockable
in interfacecom.im.df.api.DFSchemaProvider
-
proceedToNextState
public com.im.df.api.DFSchemaProvider.StepInfo proceedToNextState(com.im.commons.progress.DFEnvironmentRW env)
- Specified by:
proceedToNextState
in interfacecom.im.df.api.DFSchemaProvider
-
closeSchema
public void closeSchema(com.im.commons.progress.DFEnvironmentRW env)
- Specified by:
closeSchema
in interfacecom.im.df.api.DFSchemaProvider
-
deleteSchema
public void deleteSchema(com.im.commons.progress.DFEnvironmentRW env, boolean deleteMetaDataTables) throws IOException
- Specified by:
deleteSchema
in interfacecom.im.df.api.DFSchemaProvider
- Throws:
IOException
-
registerCacheForJCP
public static void registerCacheForJCP(DBSchemaJChemImpl schema, com.im.commons.db.util.SchemaQualifiedName jcp, boolean jcpCreatedOrDestroyed)
-
addPropertyChangeListener
public void addPropertyChangeListener(PropertyChangeListener listener)
- Specified by:
addPropertyChangeListener
in interfacecom.im.df.api.DFSchemaProvider
-
removePropertyChangeListener
public void removePropertyChangeListener(PropertyChangeListener listener)
- Specified by:
removePropertyChangeListener
in interfacecom.im.df.api.DFSchemaProvider
-
-