uk.ac.ic.doc.automed.modelmanagement.modeldef
Class YattaModelDef
java.lang.Object
uk.ac.ic.doc.automed.modelmanagement.modeldef.ModelDef
uk.ac.ic.doc.automed.modelmanagement.modeldef.YattaModelDef
public class YattaModelDef
- extends ModelDef
- Author:
- acs203
The model definition for the Yatta model
Constructor Summary |
YattaModelDef()
Creates a new instance of CSVWrapperFactory |
Method Summary |
void |
createAutoMedModel()
Create the automed oriented Model used to represent the
Schema of the datasource. |
void |
createModel()
Create the YATTA model for semistructured datasource. |
java.lang.String[] |
getFeatureNames()
This model does not support any features so return an empty string |
Methods inherited from class uk.ac.ic.doc.automed.modelmanagement.modeldef.ModelDef |
clearFeatures, getAutoMedModel, getAutoMedModelName, getFeatures, getModel, getModelBaseName, getModelName, isFeatureInUse, setFeatures, setFeatures, setModelBaseName |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
yatta
Model yatta
- Constants
rootNode
Construct rootNode
yattaNode
Construct yattaNode
sequence
Construct sequence
rootOrYatta
Construct rootOrYatta
source_background_colour
public static java.awt.Color source_background_colour
yatta_background_colour
public static java.awt.Color yatta_background_colour
YATTA_MODEL
public static final java.lang.String YATTA_MODEL
- See Also:
- Constant Field Values
YATTA_MODEL_ROOTNODE
public static final java.lang.String YATTA_MODEL_ROOTNODE
- See Also:
- Constant Field Values
YATTA_MODEL_YATTANODE
public static final java.lang.String YATTA_MODEL_YATTANODE
- See Also:
- Constant Field Values
YATTA_MODEL_SEQUENCE
public static final java.lang.String YATTA_MODEL_SEQUENCE
- See Also:
- Constant Field Values
YATTA_MODEL_ROOTORYATTA
public static final java.lang.String YATTA_MODEL_ROOTORYATTA
- See Also:
- Constant Field Values
featureNames
private static final java.lang.String[] featureNames
YattaModelDef
public YattaModelDef()
- Creates a new instance of CSVWrapperFactory
getFeatureNames
public java.lang.String[] getFeatureNames()
- This model does not support any features so return an empty string
- Specified by:
getFeatureNames
in class ModelDef
createModel
public void createModel()
throws InconsistentException
- Create the YATTA model for semistructured datasource.
The model consists of constructs which are rootnode <>,
yattanode <
>, rootOryatta, sequence <<_,n1,n2>>.
- Specified by:
createModel
in class ModelDef
- Throws:
InconsistentException
createAutoMedModel
public void createAutoMedModel()
throws InconsistentException
- Description copied from class:
ModelDef
- Create the automed oriented
Model
used to represent the
Schema
of the datasource.
- Specified by:
createAutoMedModel
in class ModelDef
- Throws:
InconsistentException