|
|||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Environment | |
---|---|
org.eclipse.emf.ocl.expressions.impl | Implementation of the API for OCL expression syntax. |
org.eclipse.emf.ocl.expressions.util | EMF utilities for the OCL expression syntax API. |
org.eclipse.emf.ocl.helper | Definition of the OCL Helper API for syntax completion support and a simplified parsing model. |
org.eclipse.emf.ocl.parser | Definition of the extensible environment API for OCL parsing and evaluation. |
org.eclipse.emf.ocl.types.impl | Implementation of the API for OCL types. |
Uses of Environment in org.eclipse.emf.ocl.expressions.impl |
---|
Methods in org.eclipse.emf.ocl.expressions.impl that return Environment | |
protected Environment |
ValidationVisitorImpl.getEnvironment(ASTNode node)
Obtains the current environment, which may be inferred from the context of the constraint that we are validating. |
Methods in org.eclipse.emf.ocl.expressions.impl with parameters of type Environment | |
static Visitor |
ValidationVisitorImpl.getInstance(Environment environment)
Obtains an instance of the validation visitor that validates against the specified environment, which presumably was used in parsing the OCL in the first place. |
Uses of Environment in org.eclipse.emf.ocl.expressions.util |
---|
Methods in org.eclipse.emf.ocl.expressions.util that return Environment | |
static Environment |
ExpressionsUtil.createClassifierContext(org.eclipse.emf.ecore.EClassifier classifier)
Creates an environment for OCL constraints in the context of the specified classifier . |
static Environment |
ExpressionsUtil.createOperationContext(org.eclipse.emf.ecore.EClassifier classifier,
org.eclipse.emf.ecore.EOperation operation)
Creates an environment for OCL constraints in the context of the specified classifier and operation .
|
static Environment |
ExpressionsUtil.createOperationContext(org.eclipse.emf.ecore.EOperation operation)
Creates an environment for OCL constraints in the context of the specified operation . |
static Environment |
ExpressionsUtil.createPropertyContext(org.eclipse.emf.ecore.EClassifier classifier,
org.eclipse.emf.ecore.EStructuralFeature property)
Creates an environment for OCL constraints in the context of the specified classifier and property .
|
static Environment |
ExpressionsUtil.createPropertyContext(org.eclipse.emf.ecore.EStructuralFeature property)
Creates an environment for OCL constraints in the context of the specified property . |
Methods in org.eclipse.emf.ocl.expressions.util with parameters of type Environment | |
static OCLExpression |
ExpressionsUtil.createQuery(Environment env,
java.lang.String expression,
boolean validate)
Creates a query expression with an arbitrary result type in the specified environment. |
static OCLExpression |
ExpressionsUtil.createInvariant(Environment env,
java.lang.String expression,
boolean validate)
Creates an invariant constraint expression in the specified environment. |
static OCLExpression |
ExpressionsUtil.createPrecondition(Environment env,
java.lang.String expression,
boolean validate)
Creates an operation precondition constraint expression in the specified environment. |
static OCLExpression |
ExpressionsUtil.createPostcondition(Environment env,
java.lang.String expression,
boolean validate)
Creates an operation postcondition constraint expression in the specified environment. |
static OCLExpression |
ExpressionsUtil.createBodyCondition(Environment env,
java.lang.String expression,
boolean validate)
Creates an operation body condition expression in the specified environment. |
static OCLExpression |
ExpressionsUtil.createInitialValueExpression(Environment env,
java.lang.String expression,
boolean validate)
Creates a property initial value expression in the specified environment. |
static OCLExpression |
ExpressionsUtil.createDerivedValueExpression(Environment env,
java.lang.String expression,
boolean validate)
Creates a property derived value expression in the specified environment. |
static org.eclipse.emf.ecore.ETypedElement |
ExpressionsUtil.define(Environment env,
java.lang.String defExpression)
Defines a property or operation of the specified signature. |
Uses of Environment in org.eclipse.emf.ocl.helper |
---|
Methods in org.eclipse.emf.ocl.helper that return Environment | |
Environment |
IOCLHelper.getEnvironment()
Obtains the environment defining my current context classifier, operation, or property. |
Uses of Environment in org.eclipse.emf.ocl.parser |
---|
Subinterfaces of Environment in org.eclipse.emf.ocl.parser | |
interface |
PersistentEnvironment
An OCL environment that supports persistence of the dynamically-generated bindings of generic types, based on the classifiers provided by the environment. |
Classes in org.eclipse.emf.ocl.parser that implement Environment | |
class |
EcoreEnvironment
An Environment stores the variables created while evaluating an OCL expression, including self. |
Methods in org.eclipse.emf.ocl.parser that return Environment | |
Environment |
EnvironmentFactory.createPackageContext(java.util.List pathname)
Creates an environment suitable for parsing OCL expressions in the specified package context. |
Environment |
EnvironmentFactory.createClassifierContext(java.lang.Object context)
Creates an environment suitable for parsing OCL expressions on the specified object , which is some classifier
in the client's metamodel or an instance thereof.
|
Environment |
EnvironmentFactory.createOperationContext(java.lang.Object context,
java.lang.Object operation)
Creates an environment suitable for parsing OCL expressions on the specified operation , which is some operation
in the client's metamodel. |
Environment |
EnvironmentFactory.createPropertyContext(java.lang.Object context,
java.lang.Object property)
Creates an environment suitable for parsing OCL expressions on the specified property , which is some property
in the client's metamodel. |
Environment |
EnvironmentFactory.createEnvironment(Environment parent)
Creates a child environment of a specified parent , for
definition of nested scopes. |
Environment |
Environment.getParent()
get the parent environment |
Environment |
EcoreEnvironmentFactory.createPackageContext(java.util.List pathname)
|
protected Environment |
EcoreEnvironmentFactory.createEnvironment(org.eclipse.emf.ecore.EPackage packageContext)
Creates an environment for OCL constraints in the context of the specified classifier . |
Environment |
EcoreEnvironmentFactory.createEnvironment(Environment parent)
|
Environment |
EcoreEnvironment.getParent()
get the parent environment |
protected abstract Environment |
AbstractEnvironmentFactory.createEnvironment(org.eclipse.emf.ecore.EPackage packageContext)
Implemented by subclasses to create a new environment implementation on the specified package context. |
Environment |
AbstractEnvironmentFactory.createClassifierContext(java.lang.Object context)
|
Environment |
AbstractEnvironmentFactory.createPackageContext(java.util.List pathname)
|
Environment |
AbstractEnvironmentFactory.createOperationContext(java.lang.Object context,
java.lang.Object operation)
|
Environment |
AbstractEnvironmentFactory.createPropertyContext(java.lang.Object context,
java.lang.Object property)
|
Methods in org.eclipse.emf.ocl.parser with parameters of type Environment | |
Environment |
EnvironmentFactory.createEnvironment(Environment parent)
Creates a child environment of a specified parent , for
definition of nested scopes. |
void |
Environment.setParent(Environment env)
Set the parent environment |
Environment |
EcoreEnvironmentFactory.createEnvironment(Environment parent)
|
void |
EcoreEnvironment.setParent(Environment env)
Set the parent environment |
Constructors in org.eclipse.emf.ocl.parser with parameters of type Environment | |
EcoreEnvironment(Environment parent)
|
Uses of Environment in org.eclipse.emf.ocl.types.impl |
---|
Methods in org.eclipse.emf.ocl.types.impl with parameters of type Environment | |
static org.eclipse.emf.ecore.EClassifier |
TypeUtil.resolveType(Environment env,
org.eclipse.emf.ecore.EClassifier type)
Resolves the specified type against the model-based types defined by the specified environment's type resolver, for consistency with the environment (especially for persistence). |
static void |
TypeUtil.resolveAdditionalFeatures(org.eclipse.emf.ecore.EClassifier owner,
Environment env)
|
|
Copyright 2002, 2006 IBM Corporation and others. All Rights Reserved. |
||||||||||
PREV NEXT | FRAMES NO FRAMES |