|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.eclipse.ocl.internal.EnvironmentRegistryImpl
public class EnvironmentRegistryImpl
Implementation of the environment registry.
Field Summary |
---|
Fields inherited from interface org.eclipse.ocl.Environment.Registry |
---|
INSTANCE |
Constructor Summary | |
---|---|
EnvironmentRegistryImpl()
|
Method Summary | ||
---|---|---|
void |
deregisterEnvironment(Environment<?,?,?,?,?,?,?,?,?,?,?,?> environment)
Removes the specified environment from the registry. |
|
|
getEnvironmentFor(java.lang.Object abstractSyntaxElement)
Obtains a suitable environment for introspection of the specified model element, type (such as a collection type), or other abstract syntax element (e.g., a variable). |
|
|
getEnvironmentFor(OCLExpression<C> expression)
Obtains a suitable environment for introspection of the specified expression. |
|
void |
registerEnvironment(Environment<?,?,?,?,?,?,?,?,?,?,?,?> environment)
Adds the specified environment to the registry. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public EnvironmentRegistryImpl()
Method Detail |
---|
public <PK,C,O,P,EL,PM,S,COA,SSA,CT,CLS,E> Environment<PK,C,O,P,EL,PM,S,COA,SSA,CT,CLS,E> getEnvironmentFor(OCLExpression<C> expression)
Environment.Registry
getEnvironmentFor
in interface Environment.Registry
expression
- a parsed OCL expression
null
if
none is availablepublic <PK,C,O,P,EL,PM,S,COA,SSA,CT,CLS,E> Environment<PK,C,O,P,EL,PM,S,COA,SSA,CT,CLS,E> getEnvironmentFor(java.lang.Object abstractSyntaxElement)
Environment.Registry
getEnvironmentFor
in interface Environment.Registry
abstractSyntaxElement
- an element in or referenced by the
AST of of an OCL constraint
null
if
none is availablepublic void registerEnvironment(Environment<?,?,?,?,?,?,?,?,?,?,?,?> environment)
Environment.Registry
registerEnvironment
in interface Environment.Registry
environment
- an environment to registerpublic void deregisterEnvironment(Environment<?,?,?,?,?,?,?,?,?,?,?,?> environment)
Environment.Registry
deregisterEnvironment
in interface Environment.Registry
environment
- the environment to deregister
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |