Package | Description |
---|---|
org.eclipse.ocl |
Definition of the extensible environment API for OCL parsing and evaluation.
|
org.eclipse.ocl.ecore |
Implementation of an OCL binding for the Ecore metamodel.
|
org.eclipse.ocl.ecore.opposites | |
org.eclipse.ocl.uml |
Implementation of an OCL binding for the UML metamodel.
|
org.eclipse.ocl.util |
Miscellaneous utilities in support of the OCL parser and environment
implementations.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractEnvironmentFactory<PK,C,O,P,EL,PM,S,COA,SSA,CT,CLS,E>
Partial implementation of the
EnvironmentFactory interface, useful
for subclassing to define the OCL binding for a metamodel. |
Modifier and Type | Method and Description |
---|---|
EnvironmentFactory<PK,C,O,P,EL,PM,S,COA,SSA,CT,CLS,E> |
Environment.getFactory()
Obtains the factory that created me, or an appropriate default factory
if I was not created using a factory.
|
Modifier and Type | Method and Description |
---|---|
static <PK,C,O,P,EL,PM,S,COA,SSA,CT,CLS,E> |
OCL.newInstance(EnvironmentFactory<PK,C,O,P,EL,PM,S,COA,SSA,CT,CLS,E> envFactory)
Creates a new
OCL with an environment factory, which it will
use to create a root environment. |
static <PK,C,O,P,EL,PM,S,COA,SSA,CT,CLS,E> |
OCL.newInstance(EnvironmentFactory<PK,C,O,P,EL,PM,S,COA,SSA,CT,CLS,E> envFactory,
Resource resource)
Creates a new
OCL with an environment factory and a resource
in which its environment is to be persisted, or from which it may be
loaded if the resource already has content. |
Modifier and Type | Class and Description |
---|---|
class |
EcoreEnvironmentFactory
Implementation of the
EnvironmentFactory for parsing OCL expressions
on Ecore models. |
Modifier and Type | Method and Description |
---|---|
EnvironmentFactory<EPackage,EClassifier,EOperation,EStructuralFeature,EEnumLiteral,EParameter,EObject,CallOperationAction,SendSignalAction,Constraint,EClass,EObject> |
EcoreEnvironment.getFactory() |
Modifier and Type | Method and Description |
---|---|
static OCL |
OCL.newInstance(EnvironmentFactory<EPackage,EClassifier,EOperation,EStructuralFeature,EEnumLiteral,EParameter,EObject,CallOperationAction,SendSignalAction,Constraint,EClass,EObject> envFactory)
Creates a new
OCL using the specified Ecore environment
factory. |
static OCL |
OCL.newInstance(EnvironmentFactory<EPackage,EClassifier,EOperation,EStructuralFeature,EEnumLiteral,EParameter,EObject,CallOperationAction,SendSignalAction,Constraint,EClass,EObject> envFactory,
Resource resource)
Creates a new
OCL using the specified Ecore environment
factory and a resource from which to load the initial environment. |
Modifier and Type | Class and Description |
---|---|
class |
EcoreEnvironmentFactoryWithHiddenOpposites
An environment factory which can be used to provide a non-
null
OppositeEndFinder to the OCL environment. |
Modifier and Type | Class and Description |
---|---|
class |
UMLEnvironmentFactory
Implementation of the
EnvironmentFactory for parsing OCL expressions
on UML models. |
Modifier and Type | Method and Description |
---|---|
EnvironmentFactory<org.eclipse.uml2.uml.Package,Classifier,Operation,Property,EnumerationLiteral,Parameter,State,CallOperationAction,SendSignalAction,Constraint,org.eclipse.uml2.uml.Class,EObject> |
UMLEnvironment.getFactory() |
Modifier and Type | Method and Description |
---|---|
static OCL |
OCL.newInstance(EnvironmentFactory<Package,Classifier,Operation,Property,EnumerationLiteral,Parameter,State,CallOperationAction,SendSignalAction,Constraint,Class,EObject> envFactory)
Creates a new
OCL using the specified UML environment
factory. |
static OCL |
OCL.newInstance(EnvironmentFactory<Package,Classifier,Operation,Property,EnumerationLiteral,Parameter,State,CallOperationAction,SendSignalAction,Constraint,Class,EObject> envFactory,
Resource resource)
Creates a new
OCL using the specified UML environment
factory and a resource from which to load the initial environment. |
Modifier and Type | Method and Description |
---|---|
static <T> T |
OCLUtil.getAdapter(EnvironmentFactory<?,?,?,?,?,?,?,?,?,?,?,?> factory,
Class<T> adapterType)
Obtains an adapter for the specified interface type.
|
Copyright © 2005, 2018 IBM Corporation and others. All Rights Reserved.