uk.ac.ic.doc.automed.modelmanagement.modeldef
Class YattaModelDef

java.lang.Object
  extended by uk.ac.ic.doc.automed.modelmanagement.modeldef.ModelDef
      extended by uk.ac.ic.doc.automed.modelmanagement.modeldef.YattaModelDef

public class YattaModelDef
extends ModelDef

Author:
acs203 The model definition for the Yatta model

Field Summary
private static java.lang.String[] featureNames
           
(package private)  Construct rootNode
           
(package private)  Construct rootOrYatta
           
(package private)  Construct sequence
           
static java.awt.Color source_background_colour
           
(package private)  Model yatta
          Constants
static java.awt.Color yatta_background_colour
           
static java.lang.String YATTA_MODEL
           
static java.lang.String YATTA_MODEL_ROOTNODE
           
static java.lang.String YATTA_MODEL_ROOTORYATTA
           
static java.lang.String YATTA_MODEL_SEQUENCE
           
static java.lang.String YATTA_MODEL_YATTANODE
           
(package private)  Construct yattaNode
           
 
Fields inherited from class uk.ac.ic.doc.automed.modelmanagement.modeldef.ModelDef
automedModelName, baseName, distinctModels, empty, featureSet, modelInUse, modelName, SOURCE_PREFIX
 
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
 

Field Detail

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
Constructor Detail

YattaModelDef

public YattaModelDef()
Creates a new instance of CSVWrapperFactory

Method Detail

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