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

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

public class UMLModelDef
extends ModelDef

Author:
Andrew Charles Smith - acs203 The model definition for UML

Field Summary
private  Construct association
           
private  Construct attribute
           
private static java.lang.String[] featureNames
          Constants
private  Construct generalisation
           
private  Model uml
           
static java.awt.Color UML_COLOUR
           
static java.lang.String UML_MODEL_ASSOCIATION
           
static java.lang.String UML_MODEL_ATTRIBUTE
           
static java.lang.String UML_MODEL_CLASS
           
static java.lang.String UML_MODEL_GENERALISATION
           
static java.lang.String UML_MODEL_NAME
           
static java.lang.String UML_MODEL_PREFIX
           
private  Construct umlClass
           
 
Fields inherited from class uk.ac.ic.doc.automed.modelmanagement.modeldef.ModelDef
automedModelName, baseName, distinctModels, empty, featureSet, modelInUse, modelName, SOURCE_PREFIX
 
Constructor Summary
UMLModelDef()
          Creates a new instance of UMLWrapperFactory
 
Method Summary
 void createAutoMedModel()
          Create the automed model for UML.
 void createModel()
          Define the UML model in the Automed MDR database
 java.lang.String[] getFeatureNames()
          Return a string list of features supported by this wrapper, where the first one is bit zero in the feature bit map, second bit one, etc
 
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

featureNames

private static final java.lang.String[] featureNames
Constants


UML_MODEL_NAME

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

UML_MODEL_CLASS

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

UML_MODEL_ATTRIBUTE

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

UML_MODEL_ASSOCIATION

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

UML_MODEL_GENERALISATION

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

UML_MODEL_PREFIX

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

UML_COLOUR

public static final java.awt.Color UML_COLOUR

uml

private Model uml

umlClass

private Construct umlClass

attribute

private Construct attribute

association

private Construct association

generalisation

private Construct generalisation
Constructor Detail

UMLModelDef

public UMLModelDef()
Creates a new instance of UMLWrapperFactory

Method Detail

getFeatureNames

public java.lang.String[] getFeatureNames()
Return a string list of features supported by this wrapper, where the first one is bit zero in the feature bit map, second bit one, etc

Specified by:
getFeatureNames in class ModelDef

createModel

public void createModel()
                 throws InconsistentException
Define the UML model in the Automed MDR database

Specified by:
createModel in class ModelDef
Throws:
InconsistentException

createAutoMedModel

public void createAutoMedModel()
                        throws InconsistentException
Create the automed model for UML. In this case it is the same as the source model so simply create that

Specified by:
createAutoMedModel in class ModelDef
Throws:
InconsistentException