|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.emf.ocl.parser.AbstractEnvironmentFactory
org.eclipse.emf.ocl.parser.EcoreEnvironmentFactory
EcoreEnvironmentFactory
class,
instead.
@Deprecated public class EcoreEnvironmentFactory
Environment factory for the Ecore metamodel.
Field Summary |
---|
Fields inherited from interface org.eclipse.emf.ocl.parser.EnvironmentFactory |
---|
ECORE_INSTANCE |
Constructor Summary | |
---|---|
protected |
EcoreEnvironmentFactory()
Deprecated. Initializes me. |
|
EcoreEnvironmentFactory(EPackage.Registry reg)
Deprecated. Initializes me with an EPackage.Registry |
Method Summary | |
---|---|
protected EClassifier |
asEClassifier(Object context)
Deprecated. Adapts the specified client metamodel context to the
EClassifier API. |
protected EOperation |
asEOperation(Object operation)
Deprecated. Adapts the specified client metamodel operation to the
EOperation API. |
protected EStructuralFeature |
asEStructuralFeature(Object property)
Deprecated. Adapts the specified client metamodel property to the
EStructuralFeature API. |
Environment |
createEnvironment(Environment parent)
Deprecated. Creates a child environment of a specified parent , for
definition of nested scopes. |
protected Environment |
createEnvironment(EPackage packageContext)
Deprecated. Creates an environment for OCL constraints in the context of the specified classifier . |
Environment |
createPackageContext(List pathname)
Deprecated. Creates an environment suitable for parsing OCL expressions in the specified package context. |
Methods inherited from class org.eclipse.emf.ocl.parser.AbstractEnvironmentFactory |
---|
createClassifierContext, createEvaluationEnvironment, createExtentMap, createOperationContext, createPropertyContext |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected EcoreEnvironmentFactory()
public EcoreEnvironmentFactory(EPackage.Registry reg)
EPackage.Registry
Method Detail |
---|
public Environment createPackageContext(List pathname)
EnvironmentFactory
createPackageContext
in interface EnvironmentFactory
createPackageContext
in class AbstractEnvironmentFactory
pathname
- the qualified package name (the ::-separated parts)
EnvironmentFactory.createClassifierContext(Object)
,
EnvironmentFactory.createOperationContext(Object, Object)
protected EClassifier asEClassifier(Object context)
AbstractEnvironmentFactory
context
to the
EClassifier
API. This might just return the context
if it already is an EClassifier
, or might return its type if it
is an instance of an EClassifier
, or adapt it by some other
means to the EClassifier
API.
asEClassifier
in class AbstractEnvironmentFactory
context
- a classifier in the client metamodel's definition of
what an OCL classifier is, or an instance thereof
protected EOperation asEOperation(Object operation)
AbstractEnvironmentFactory
operation
to the
EOperation
API.
asEOperation
in class AbstractEnvironmentFactory
operation
- an operation in the client metamodel's definition of
what an OCL operation is
protected EStructuralFeature asEStructuralFeature(Object property)
AbstractEnvironmentFactory
property
to the
EStructuralFeature
API.
asEStructuralFeature
in class AbstractEnvironmentFactory
property
- a property in the client metamodel's definition of
what an OCL property is
protected Environment createEnvironment(EPackage packageContext)
classifier
.
createEnvironment
in class AbstractEnvironmentFactory
packageContext
- a package providing the default namespace context
public Environment createEnvironment(Environment parent)
EnvironmentFactory
parent
, for
definition of nested scopes.
parent
- the parent environment
|
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 |