|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.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(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.Registryexpression - 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(Object abstractSyntaxElement)
Environment.Registry
getEnvironmentFor in interface Environment.RegistryabstractSyntaxElement - 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.Registryenvironment - an environment to registerpublic void deregisterEnvironment(Environment<?,?,?,?,?,?,?,?,?,?,?,?> environment)
Environment.Registry
deregisterEnvironment in interface Environment.Registryenvironment - the environment to deregister
|
Copyright 2002, 2007 IBM Corporation and others. All Rights Reserved. |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||