Skip to main content

Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

Difference between revisions of "OCL"

m (MDT-OCL moved to MDT/OCL: Adopt bread-crumb structure)
(Articles)
Line 27: Line 27:
 
* [http://www.eclipse.org/articles/Article-EMF-Codegen-with-OCL/article.html Implementing Model Integrity in EMF with OCL] by Christian W. Damus
 
* [http://www.eclipse.org/articles/Article-EMF-Codegen-with-OCL/article.html Implementing Model Integrity in EMF with OCL] by Christian W. Damus
 
* [http://eclipsezilla.eclipsecon.org/show_bug.cgi?id=3619 EclipseCon 2007 tutorial "Effective Use of the Eclipse Modeling Framework"] by Ed Merks et al.
 
* [http://eclipsezilla.eclipsecon.org/show_bug.cgi?id=3619 EclipseCon 2007 tutorial "Effective Use of the Eclipse Modeling Framework"] by Ed Merks et al.
 +
* [http://joanna.opoki.com/papers/2008_MoDeVVa/ "Querying UML Models using OCL and Prolog: A Performance Study"] presented at [http://www.cs.colostate.edu/~ghosh/modevva2008/ MoDeVVa'2008] by Joanna Chimiak-Opoka et al.
  
 
== Examples ==
 
== Examples ==

Revision as of 04:44, 3 October 2008

OCL is an implementation of the Object Constraint Language (OCL) OMG standard for EMF-based models.

The OCL component provides the following capabilities to support OCL integration:

  • Defines APIs for parsing and evaluating OCL constraints and queries on EMF models.
  • Defines an Ecore implementation of the OCL abstract syntax model, including support for serialization of parsed OCL expressions.
  • Provides a Visitor API for analyzing/transforming the AST model of OCL expressions.
  • Provides an extensibility API for clients to customize the parsing and evaluation environments used by the parser.

The OCL parser is generated by the LALR Parser Generator, a SourceForge project, licensed under the EPL v1.0. Download it from the LPG home page. This site includes the generator executable required to regenerate the parser code.


General Information

Archive

Articles

Examples

Javadoc

Development

This section has links to pages of interest primarily to those developing the OCL component.

Planning

Related Links

Back to the top