| Summary: | EMF 2.3/J2SE 5.0 support | ||
|---|---|---|---|
| Product: | [Modeling] OCL | Reporter: | Christian Damus <give.a.damus> |
| Component: | Core | Assignee: | Christian Damus <give.a.damus> |
| Status: | CLOSED FIXED | QA Contact: | |
| Severity: | enhancement | ||
| Priority: | P3 | Keywords: | api, plan |
| Version: | 1.0.0 | ||
| Target Milestone: | M5 | ||
| Hardware: | PC | ||
| OS: | Windows XP | ||
| Whiteboard: | |||
|
Description
Christian Damus
Updated the heading, given that the next EMF release number has been fixed at 2.3. Est.: 1.5w Committed the adoption of EMF 2.3 to OCL's new home in the Modeling CVS repository:
/cvsroot/modeling/org.eclipse.mdt.ocl.eclipse.ocl
This feature includes:
- defining a new generic Abstract Syntax model for OCL, using the new capability of
modeling generic types in Ecore (after the Java fashion). This removes the parser's
dependency on the Ecore metamodel
- refactoring the parser, validator, and interpreter to work with this new generic AST
- enhancing the Environment API to provide the metamodel reflection required by the parser
that previously was implemented using the Ecore API
The new OCL API is provided by a new org.eclipse.ocl feature. This feature includes:
- a new org.eclipse.ocl plug-in containing the parser/interpreter core and generic AST model
- a new org.eclipse.ocl.ecore plug-in containg the Ecore binding (environment implementation)
The existing org.eclipse.emf.ocl feature now includes org.eclipse.ocl. The existing API of the
org.eclipse.emf.ocl plug-in is retained for backward compatibility. The internals, however, are
refactored to delegate the parsing of OCL constraints to the new API. This ensures that future
fixes in the grammar definition or other aspects of the parser are not missed by the compatibility
API. This compatibility layer translates the parsed ASTs from the 1.1 model to the 1.0 for
consumption by legacy clients and also provides a new utility for converting 1.0 ASTs to
the 1.1 model (in case some client somewhere had managed to successfully persist ASTs in
the 1.0 model).
Move to verified as per bug 206558. Closing after over a year in verified state. Closing after over a year in verified state. |