public class EnvironmentRegistryImpl extends Object implements Environment.Registry
INSTANCE| Constructor and Description |
|---|
EnvironmentRegistryImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
deregisterEnvironment(Environment<?,?,?,?,?,?,?,?,?,?,?,?> environment)
Removes the specified environment from the registry.
|
<PK,C,O,P,EL,PM,S,COA,SSA,CT,CLS,E> |
getEnvironmentFor(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).
|
<PK,C,O,P,EL,PM,S,COA,SSA,CT,CLS,E> |
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.
|
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.RegistrygetEnvironmentFor in interface Environment.Registryexpression - a parsed OCL expressionnull 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(Object abstractSyntaxElement)
Environment.RegistrygetEnvironmentFor in interface Environment.RegistryabstractSyntaxElement - an element in or referenced by the
AST of of an OCL constraintnull if
none is availablepublic void registerEnvironment(Environment<?,?,?,?,?,?,?,?,?,?,?,?> environment)
Environment.RegistryregisterEnvironment in interface Environment.Registryenvironment - an environment to registerpublic void deregisterEnvironment(Environment<?,?,?,?,?,?,?,?,?,?,?,?> environment)
Environment.RegistryderegisterEnvironment in interface Environment.Registryenvironment - the environment to deregisterCopyright © 2015 Open eHealth Foundation. All rights reserved.