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

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

public class RelModelDef
extends ModelDef

Author:
acs203 Class to define the SQL model

Field Summary
static java.lang.String REL_MODEL_COLUMN
           
static java.lang.String REL_MODEL_FOREIGN_KEY
           
static java.lang.String REL_MODEL_NAME
           
static java.lang.String REL_MODEL_PRIMARY_KEY
           
static java.lang.String REL_MODEL_TABLE
           
static java.awt.Color source_background_colour
           
 
Fields inherited from class uk.ac.ic.doc.automed.modelmanagement.modeldef.ModelDef
automedModelName, baseName, distinctModels, empty, featureSet, modelInUse, modelName, SOURCE_PREFIX
 
Constructor Summary
RelModelDef()
          Creates a new instance of SQLModelDef
 
Method Summary
 void createAutoMedModel()
          Create the automed relational model.
 void createModel()
          Create the contructs for the relational model
 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

REL_MODEL_NAME

public static final java.lang.String REL_MODEL_NAME
See Also:
Constant Field Values

REL_MODEL_TABLE

public static final java.lang.String REL_MODEL_TABLE
See Also:
Constant Field Values

REL_MODEL_COLUMN

public static final java.lang.String REL_MODEL_COLUMN
See Also:
Constant Field Values

REL_MODEL_PRIMARY_KEY

public static final java.lang.String REL_MODEL_PRIMARY_KEY
See Also:
Constant Field Values

REL_MODEL_FOREIGN_KEY

public static final java.lang.String REL_MODEL_FOREIGN_KEY
See Also:
Constant Field Values

source_background_colour

public static java.awt.Color source_background_colour
Constructor Detail

RelModelDef

public RelModelDef()
Creates a new instance of SQLModelDef

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 final void createModel()
Create the contructs for the relational model

Specified by:
createModel in class ModelDef

createAutoMedModel

public void createAutoMedModel()
                        throws InconsistentException
Create the automed relational model. This is the same as the source model so simple create that

Specified by:
createAutoMedModel in class ModelDef
Throws:
InconsistentException