Jump to: navigation, search

Difference between revisions of "MDT/New and Noteworthy/1.1"

< MDT
(OCL M3 content)
m (Navigation of Unnamed Association Ends)
Line 35: Line 35:
 
The UML metamodel binding now supports parsing and evaluation of OCL expressions that navigate unnamed association ends.  The OCL convention for unnamed ends defines an implicit name which is the name of the classifier at that end with the initial letter in lower case.  MDT OCL supports evaluation of such navigation expressions, where the implicit end name is unambiguous, on both instances of UML2-generated metamodels and on instance specifications in UML models.
 
The UML metamodel binding now supports parsing and evaluation of OCL expressions that navigate unnamed association ends.  The OCL convention for unnamed ends defines an implicit name which is the name of the classifier at that end with the initial letter in lower case.  MDT OCL supports evaluation of such navigation expressions, where the implicit end name is unambiguous, on both instances of UML2-generated metamodels and on instance specifications in UML models.
  
[[Image:unnamed-assoc-ends.png|Navigating unnamed association ends]]
+
[[Image:unnamed-assoc-ends-M2.png|Navigating unnamed metamodel association ends]]
 +
 
 +
[[Image:unnamed-assoc-ends-M1.png|Navigating unnamed model association ends]]
  
 
==== Other Bug Fixes ====
 
==== Other Bug Fixes ====

Revision as of 10:08, 13 November 2007

Model Development Tools Release 1.1 New and Noteworthy Items.

For more details about the development plan, see the MDT 1.1 draft plan.

Back to Modeling Development Tools.

EMF Ontology Definition Metamodel (EODM) Component

TBD

Object Constraint Language (OCL) Component

Release 1.2 M3

OCL Grammar and Parser API Refactoring

This milestone delivers the long-awaited refactoring of the OCL LPG grammar and associated parser API, contributed by Ed Willink from the GMT project's UMLX component.

The major new API in this contribution is defined in the org.eclipse.ocl.lpg and org.eclipse.ocl.parser packages. Included is an implementation of an EssentialOCL grammar (EssentialOCL.g) which is included in the full grammar (OCLParser.g). The former OCLParser class (which was internal) is refactored to separate the concrete syntax and abstract syntax parsing phases, implemented by the public classes OCLParser and [1] OCLAnalyzer, respectively.

Abstract LPG-parsing API is provided by the org.eclipse.ocl.lpg package, with abstract definitions of lexers, parsers, and analyzers. These are accompanied by a BasicEnvironment interface that provides core services such as a new pluggable ProblemHandler for flexible reporting of parsing/analysis problems.

See Bug 176110 for further details.

Navigation of Unnamed Association Ends

The UML metamodel binding now supports parsing and evaluation of OCL expressions that navigate unnamed association ends. The OCL convention for unnamed ends defines an implicit name which is the name of the classifier at that end with the initial letter in lower case. MDT OCL supports evaluation of such navigation expressions, where the implicit end name is unambiguous, on both instances of UML2-generated metamodels and on instance specifications in UML models.

Navigating unnamed metamodel association ends

Navigating unnamed model association ends

Other Bug Fixes

For other bug fixes, see the OCL 1.2 M3 release notes.

OCL Tools Component

TBD

Unified Modeling Language 2.x (UML2) Component

TBD

UML2 Tools Component

TBD

XML Schema Infoset (XSD) Component

TBD