uk.ac.ic.doc.automed.modelmanagement.modeldef
Class UMLModelDef
java.lang.Object
uk.ac.ic.doc.automed.modelmanagement.modeldef.ModelDef
uk.ac.ic.doc.automed.modelmanagement.modeldef.UMLModelDef
public class UMLModelDef
- extends ModelDef
- Author:
- Andrew Charles Smith - acs203
The model definition for UML
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 |
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
UMLModelDef
public UMLModelDef()
- Creates a new instance of UMLWrapperFactory
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