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

Field Summary
 
Fields inherited from class de.tuberlin.cs.cis.ocl.model.mofbridge.ConceptFactory
QN_SEPERATOR
 
Constructor Summary
UmlConceptFactory(java.util.Properties properties)
          Constructs a uml concept binding.
 
Method Summary
 TypedProperty getAttribute(javax.jmi.model.Attribute attr)
          Refines the conceptual binding.
 ClassifierDescriptor getClassifier(javax.jmi.model.Classifier mofClassifier)
          Mapps a MOF Classifier to an OCL Classifier.
 
Methods inherited from class de.tuberlin.cs.cis.ocl.model.mofbridge.ConceptFactory
getAssociation, getAssociation, getEnumerationType, getInstance, getNameSeperator, getOperation, getPredefinedType
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UmlConceptFactory

public UmlConceptFactory(java.util.Properties properties)
Constructs a uml concept binding.

Parameters:
properties - any properties.
Method Detail

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.