|
|||||||||||
| 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.MofFacade
Facade Pattern plus abstract binding.
| Constructor Summary | |
MofFacade(MofRepository mofRepository)
|
|
MofFacade(MofRepository mofRepository,
ConceptFactory oclMapper)
|
|
| Method Summary | |
java.util.Set |
getAllClassifiers()
Returns the set of all classifier defined in the model. |
java.util.Set |
getAllStates()
Returns the set of all states defined in the model. |
ClassifierDescriptor |
getClassifier(java.lang.String name)
Returns the type described by its name (primarily through its qualified name). |
ConceptFactory |
getOclMapper()
|
java.lang.String |
getQNSeperator()
|
ReflectionFactory |
getReflectionFactory()
Returns a ReflectionFactory in order to provide
reflective informations about the model. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public MofFacade(MofRepository mofRepository)
public MofFacade(MofRepository mofRepository,
ConceptFactory oclMapper)
| Method Detail |
public java.lang.String getQNSeperator()
public ClassifierDescriptor getClassifier(java.lang.String name)
throws UndefinedTypeException,
AmbiguousTypeException
TypeFacade
getClassifier in interface TypeFacadename - The name of the model type to resolve. Namespaces of qualified names
are seperated through '::'. A utility class to transform qualified names into
java.util.Lists or to change the seperator (to be specific '.')
is provided QualifiedName.
UndefinedTypeException - if the type is undefined in the model.
AmbiguousTypeException - if the type is ambigious in the model, in case
of an unqualified name specifier.public ReflectionFactory getReflectionFactory()
ModelFacadeReflectionFactory in order to provide
reflective informations about the model. The informations are
primaryly used to describe the OCL type OclType. But most
importantly the ReflectionFactory provides
access to all instances of a context or a classifier.
getReflectionFactory in interface ModelFacadeReflectionFactory.public java.util.Set getAllStates()
ModelFacade
getAllStates in interface ModelFacadeString.public java.util.Set getAllClassifiers()
ModelFacade
getAllClassifiers in interface ModelFacadeClassifierDescriptor.public ConceptFactory getOclMapper()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||