| Package | Description |
|---|---|
| org.eclipse.ocl |
Definition of the extensible environment API for OCL parsing and evaluation.
|
| org.eclipse.ocl.parser | |
| 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. |
| Constructor and Description |
|---|
OCL(EnvironmentFactory<PK,C,O,P,EL,PM,S,COA,SSA,CT,CLS,E> envFactory)
Initializes me with an environment factory, which I will use to create a
root environment.
|
OCL(EnvironmentFactory<PK,C,O,P,EL,PM,S,COA,SSA,CT,CLS,E> envFactory,
Resource resource)
Initializes me with an environment factory and a resource in which my
environment is to be persisted, or from which it may be loaded if the
resource already has content.
|
| Modifier and Type | Field and Description |
|---|---|
protected EnvironmentFactory<PK,C,O,P,EL,PM,S,COA,SSA,CT,CLS,E> |
AbstractOCLAnalyzer.environmentFactory |
| 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 © 2015 Open eHealth Foundation. All rights reserved.