## Uses of Class
org.eclipse.ocl.OCL

Packages that use OCL
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.helper: Definition of the OCL Helper API for syntax completion support and a simplified parsing model for embedded OCL constraints and expressions.

Uses of OCL in org.eclipse.ocl

Methods in org.eclipse.ocl that return OCL

`static

`<PK,C,O,P,EL,PM,S,COA,SSA,CT,CLS,E> OCL<PK,C,O,P,EL,PM,S,COA,SSA,CT,CLS,E>`

`

`OCL.newInstance(Environment<PK,C,O,P,EL,PM,S,COA,SSA,CT,CLS,E> env)`
Creates a new `OCL` on the specified root environment.

`static

`<PK,C,O,P,EL,PM,S,COA,SSA,CT,CLS,E> OCL<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<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.

Uses of OCL in org.eclipse.ocl.ecore

Subclasses of OCL in org.eclipse.ocl.ecore
`class` `OCL` Convenient subclass of the `OCL` façade that binds the Ecore metamodel to the superclass's generic type parameters.

Uses of OCL in org.eclipse.ocl.helper

Methods in org.eclipse.ocl.helper that return OCL
`OCL<?,C,O,P,?,?,?,?,?,CT,?,?>` `OCLHelper.getOCL()` Obtains the OCL instance that created me.

Copyright 2002, 2007 IBM Corporation and others. All Rights Reserved.