de.tuberlin.cs.cis.ocl.model.uml
Class UmlConceptFactory
java.lang.Object
|
+--de.tuberlin.cs.cis.ocl.model.mofbridge.ConceptFactory
|
+--de.tuberlin.cs.cis.ocl.model.uml.UmlConceptFactory
- public class UmlConceptFactory
- extends ConceptFactory
Represents the conceptual binding of the UML metamodel
to the OCL. Because of multiplicity specifications of
attributes (for example in Stereotype.baseClass)
attributes are handled as associations.
- Author:
- fchabar
Constructor Summary |
UmlConceptFactory(java.util.Properties properties)
Constructs a uml concept binding. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UmlConceptFactory
public UmlConceptFactory(java.util.Properties properties)
- Constructs a uml concept binding.
- Parameters:
properties
- any properties.
getAttribute
public TypedProperty getAttribute(javax.jmi.model.Attribute attr)
- Refines the conceptual binding. A MOF Attribute is
mapped to an association end.
- Overrides:
getAttribute
in class ConceptFactory
- Returns:
- the MOF Attribute bound to an
OCL Attribute.
getClassifier
public ClassifierDescriptor getClassifier(javax.jmi.model.Classifier mofClassifier)
- Description copied from class:
ConceptFactory
- Mapps a MOF Classifier to an OCL Classifier.
- Overrides:
getClassifier
in class ConceptFactory
- Returns:
- the MOF Classifier bound to an
OCL classifier.