de.tuberlin.cs.cis.ocl.model.mofbridge
Class MofReflection

java.lang.Object
  |
  +--de.tuberlin.cs.cis.ocl.model.mofbridge.MofReflection
All Implemented Interfaces:
ReflectionFactory

public class MofReflection
extends java.lang.Object
implements ReflectionFactory

Implements the access to the metalevel of MOF in the context of OCL.

Author:
fchabar

Constructor Summary
MofReflection(javax.jmi.reflect.RefPackage model, ConceptFactory oclMapper)
          Constructs an instance of MofReflection with respect to a model instance and a conceptual binding.
 
Method Summary
 Reflector getReflector(ClassifierDescriptor type)
          Produces a Reflector reflecting the specified classifier.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MofReflection

public MofReflection(javax.jmi.reflect.RefPackage model,
                     ConceptFactory oclMapper)
Constructs an instance of MofReflection with respect to a model instance and a conceptual binding.

Parameters:
model - a model instance.
oclMapper - a conceptual binding.
Method Detail

getReflector

public Reflector getReflector(ClassifierDescriptor type)
Description copied from interface: ReflectionFactory
Produces a Reflector reflecting the specified classifier.

Specified by:
getReflector in interface ReflectionFactory
Parameters:
type - a classifier of the model.
Returns:
a Reflector reflecting the specified classifier.