|
||||||||
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.ic.doc.automed.wrappers.SMRWrapperFactory
public class SMRWrapperFactory
SMRWrapperFactory.java
Field Summary | |
---|---|
protected Model |
model
|
protected java.lang.String |
modelName
The name of this model |
protected Construct |
root
|
protected char |
separator
The separator for this file |
protected Construct |
smrItem1
|
protected Construct |
smrItem2
|
Fields inherited from class uk.ac.ic.doc.automed.wrappers.AutoMedWrapperFactory |
---|
modelDef |
Constructor Summary | |
---|---|
SMRWrapperFactory()
Creates a new instance of SMRWrapperFactory |
Method Summary | |
---|---|
Schema |
createAutoMedSchema(AutoMedWrapper autoMedWrapper,
java.lang.String str)
Create the AutoMed schema for the SMRWrapper document There is really not much going on here because the SMR schema is not available |
Model |
getAutoMedModel()
Return the AutoMed CSV model from the Automed MDR database In this case it is the same as the source model returned by getModel() |
Model |
getModel()
Return the CSV model from the Automed MDR database |
protected AutoMedWrapper |
newAutoMedWrapper()
Create a new empty wrapper instance that this wrapper factory is then able to populate. |
protected void |
populateSchema(AutoMedWrapper wrapper)
Create an AutoMed schema for the SMR Again, since the SMR schema is not available there is nothing much we can do here |
Methods inherited from class uk.ac.ic.doc.automed.wrappers.AutoMedWrapperFactory |
---|
createSchema, getAttributeDomains, getModelDefinition, safeIQL, setAttributeDomains, setModelDefinition |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected char separator
protected java.lang.String modelName
protected Model model
protected Construct root
protected Construct smrItem1
protected Construct smrItem2
Constructor Detail |
---|
public SMRWrapperFactory()
Method Detail |
---|
public Model getModel() throws InconsistentException
getModel
in class AutoMedWrapperFactory
InconsistentException
public Model getAutoMedModel()
getAutoMedModel
in class AutoMedWrapperFactory
public Schema createAutoMedSchema(AutoMedWrapper autoMedWrapper, java.lang.String str) throws IntegrityException, NotFoundException
createAutoMedSchema
in class AutoMedWrapperFactory
autoMedWrapper
- str
-
IntegrityException
NotFoundException
protected void populateSchema(AutoMedWrapper wrapper) throws DataSourceException
populateSchema
in class AutoMedWrapperFactory
DataSourceException
protected AutoMedWrapper newAutoMedWrapper()
AutoMedWrapperFactory
newAutoMedWrapper
in class AutoMedWrapperFactory
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |