|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectuk.ac.ic.doc.automed.wrappers.AutoMedWrapperFactory
uk.ac.bbk.dcs.automed.hdmstore.HdmWrapperFactory
public class HdmWrapperFactory
| Field Summary |
|---|
| Fields inherited from class uk.ac.ic.doc.automed.wrappers.AutoMedWrapperFactory |
|---|
automedModelName, baseName, empty, factoryInUse, modelName, SOURCE_PREFIX |
| Constructor Summary | |
|---|---|
HdmWrapperFactory()
|
|
| Method Summary | |
|---|---|
HdmWrapper |
build(java.lang.String schemaName)
|
Schema |
createAutoMedSchema(AutoMedWrapper arg0,
java.lang.String arg1)
Create an AutoMed oriented schema from the source oriented schema. |
protected void |
createTypeHierarchy()
|
Model |
getAutoMedModel()
Return the AutoMed oriented Model used to represent the
Schema of the datasource. |
java.lang.String[] |
getFeatureNames()
Return a string list of features supported by this wrapper: at present none! |
Model |
getModel()
Return the source oriented Model used to represent the
Schema of the datasource. |
protected AutoMedWrapper |
newAutoMedWrapper()
Create a new empty wrapper instance that this wrapper factory is then able to populate. |
protected void |
populateSchema(AutoMedWrapper arg0)
Read the metadata from the wrapper connection, and store in existing Schema within the wrapper. |
| Methods inherited from class uk.ac.ic.doc.automed.wrappers.AutoMedWrapperFactory |
|---|
clearFeatures, getAttributeDomains, getAutoMedModelName, getFeatures, getModelBaseName, getModelName, isFeatureInUse, safeIQL, setAttributeDomains, setFeatures, setFeatures, setModelBaseName |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public HdmWrapperFactory()
| Method Detail |
|---|
public HdmWrapper build(java.lang.String schemaName)
throws IntegrityException,
DataSourceException
IntegrityException
DataSourceExceptionpublic Model getModel()
AutoMedWrapperFactoryModel used to represent the
Schema of the datasource. For some wrappers, this may be
the same as AutoMed oriented Model returned by
AutoMedWrapperFactory.getAutoMedModel()
getModel in class AutoMedWrapperFactorypublic Model getAutoMedModel()
AutoMedWrapperFactoryModel used to represent the
Schema of the datasource.
getAutoMedModel in class AutoMedWrapperFactory
protected void populateSchema(AutoMedWrapper arg0)
throws DataSourceException
AutoMedWrapperFactoryAutoMedWrapper
instances as part of the wrapper creation process.
populateSchema in class AutoMedWrapperFactoryDataSourceException
public Schema createAutoMedSchema(AutoMedWrapper arg0,
java.lang.String arg1)
throws IntegrityException,
NotFoundException
AutoMedWrapperFactory
createAutoMedSchema in class AutoMedWrapperFactoryarg0 - A wrapper containing the source oriented Schema from which the AutoMed oriented Schema should be
produced.arg1 - name of the new AutoMed construct oriented schema
that is to be created from the source oriented schema. This schema must
not yet exist.
IntegrityException - if schemaName already exists.
NotFoundException - if you have not previously wrapped the
datasource as a source oriented schema, using either #AutoMedWrapper.getSchema(String) or #AutoMedWrapper.selectNewAutoMedWrapperpublic final java.lang.String[] getFeatureNames()
getFeatureNames in class AutoMedWrapperFactory
protected void createTypeHierarchy()
throws AutoMedException
AutoMedExceptionprotected AutoMedWrapper newAutoMedWrapper()
AutoMedWrapperFactory
newAutoMedWrapper in class AutoMedWrapperFactory
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||