|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--de.tuberlin.cs.cis.ocl.model.mofbridge.ConceptFactory
a factory for the construction and mapping of concepts. The concepts are contained in a model. They are used to import a MOF Model into the context of OCL.
Field Summary | |
static java.lang.String |
QN_SEPERATOR
seperator for namespace names |
Constructor Summary | |
ConceptFactory()
Constructs a stadard ConceptFactory . |
|
ConceptFactory(java.util.Properties properties)
Constructs a ConceptFactory that is configured with non
standard properties. |
Method Summary | |
TypedAssociation |
getAssociation(javax.jmi.model.AssociationEnd assocEnd)
Mapps a MOF Association to an OCL Association. |
TypedAssociation |
getAssociation(javax.jmi.model.Reference reference)
Mapps a MOF Reference to an OCL Reference. |
TypedProperty |
getAttribute(javax.jmi.model.Attribute attr)
Mapps a MOF Attribute to an OCL Attribute. |
ClassifierDescriptor |
getClassifier(javax.jmi.model.Classifier mofClassifier)
Mapps a MOF Classifier to an OCL Classifier. |
EnumerationTypeDescriptor |
getEnumerationType(javax.jmi.model.EnumerationType mofEnumType)
Mapps a MOF Enumeration Type to an OCL Classifier. |
InstanceDescriptor |
getInstance(ClassifierDescriptor type,
java.lang.Object object)
Constructs a new MofInstance . |
java.lang.String |
getNameSeperator()
Returns the model's qualfied name seperator. |
TypedProperty |
getOperation(javax.jmi.model.Operation op)
Mapps a MOF Operation to an OCL Operation. |
Classifier |
getPredefinedType(javax.jmi.model.Classifier mofClassifier)
Mapps a MOF Classifier to its predefined type. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final java.lang.String QN_SEPERATOR
Constructor Detail |
public ConceptFactory()
ConceptFactory
.
public ConceptFactory(java.util.Properties properties)
ConceptFactory
that is configured with non
standard properties. Until now the properties are limited
to the symbol seperating qualified names and the mapping
of types of the models to predefined OCL basis types.
Method Detail |
public java.lang.String getNameSeperator()
public ClassifierDescriptor getClassifier(javax.jmi.model.Classifier mofClassifier)
public EnumerationTypeDescriptor getEnumerationType(javax.jmi.model.EnumerationType mofEnumType)
public TypedProperty getAttribute(javax.jmi.model.Attribute attr)
public TypedProperty getOperation(javax.jmi.model.Operation op)
public TypedAssociation getAssociation(javax.jmi.model.AssociationEnd assocEnd)
public TypedAssociation getAssociation(javax.jmi.model.Reference reference)
public InstanceDescriptor getInstance(ClassifierDescriptor type, java.lang.Object object)
MofInstance
.
type
- the actual runtime type of the instance.object
- the jmi-representation of the instance.
MofInstance
.public Classifier getPredefinedType(javax.jmi.model.Classifier mofClassifier)
mofClassifier
- a MOF Classifier.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |