Skip to main content

Notice: This Wiki is now read only and edits are no longer 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"

(Actual Changes)
Line 16: Line 16:
  
 
The OCL parser is generated by the LALR Parser Generator, a SourceForge project, licensed under the [http://www.eclipse.org/legal/epl-v10.html EPL v1.0]. Download it from the [http://sourceforge.net/projects/lpg/ LPG home page]. This site includes the generator executable required to regenerate the parser code.
 
The OCL parser is generated by the LALR Parser Generator, a SourceForge project, licensed under the [http://www.eclipse.org/legal/epl-v10.html EPL v1.0]. Download it from the [http://sourceforge.net/projects/lpg/ LPG home page]. This site includes the generator executable required to regenerate the parser code.
 +
 +
== New and Noteworthy ==
 +
 +
You may want to check the [[MDT/OCL/New_and_Noteworthy|New and Noteworthy]] features of the MDT/OCL releases.
  
 
== Example Code ==
 
== Example Code ==
Line 40: Line 44:
 
== Releases and Development ==
 
== Releases and Development ==
  
=== Planned Changes ===
+
=== Planning ===
* [[MDT/OCL_3.0.0_API_Changes]] planned changes
+
  
=== New and Noteworthy ===
+
* [http://www.eclipse.org/projects/project-plan.php?planurl=http://www.eclipse.org/modeling/mdt/ocl/project-info/plan_indigo.xml&component=OCL Indigo Draft Plan]
 +
* [http://www.eclipse.org/projects/project-plan.php?planurl=http://www.eclipse.org/modeling/mdt/ocl/project-info/plan_helios.xml&component=OCL Helios Draft Plan]
 +
* [http://www.eclipse.org/projects/project-plan.php?planurl=http://www.eclipse.org/modeling/mdt/ocl/project-info/plan.xml&component=OCL Galileo Draft Plan]
 +
* [http://www.eclipse.org/modeling/mdt/ocl/docs/ocl_project_plan_1_2.html R1.2 Draft Plan]
 +
* [http://www.eclipse.org/modeling/mdt/ocl/docs/ocl_project_plan_1_1.html R1.1 Draft Plan]
  
You may want to check the [[MDT/OCL/New_and_Noteworthy|New and Noteworthy]] features of the MDT/OCL project.
+
=== API Changes ===
 +
* [[MDT/OCL_3.0.0_API_Changes| API Changes]] made in the last MDT/OCL release (Helios).
  
 
=== Architecture ===
 
=== Architecture ===
Line 54: Line 62:
 
The remainder of this section has links to pages of interest primarily to those developing
 
The remainder of this section has links to pages of interest primarily to those developing
 
the OCL component.
 
the OCL component.
 
=== Planning ===
 
 
* [http://www.eclipse.org/projects/project-plan.php?planurl=http://www.eclipse.org/modeling/mdt/ocl/project-info/plan_indigo.xml&component=OCL Indigo Draft Plan]
 
* [http://www.eclipse.org/projects/project-plan.php?planurl=http://www.eclipse.org/modeling/mdt/ocl/project-info/plan_helios.xml&component=OCL Helios Draft Plan]
 
* [http://www.eclipse.org/projects/project-plan.php?planurl=http://www.eclipse.org/modeling/mdt/ocl/project-info/plan.xml&component=OCL Galileo Draft Plan]
 
* [http://www.eclipse.org/modeling/mdt/ocl/docs/ocl_project_plan_1_2.html R1.2 Draft Plan]
 
* [http://www.eclipse.org/modeling/mdt/ocl/docs/ocl_project_plan_1_1.html R1.1 Draft Plan]
 
  
 
=== Development Environment ===
 
=== Development Environment ===

Revision as of 13:18, 17 December 2010

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 Ecore and UML implementations 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 additional OCL Examples and Editors component provides interactive support for OCL:

  • Provides an Interactive OCL Console to evaluate queries on models.
  • Provides an OCLinEcore Xtext editor for OCL embedded in an Ecore meta-model.
  • Provides a CompleteOCL editor for an OCL document complementing a meta-model.
  • Provides an EssentialOCL editor for individual OCL expressions.

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.

New and Noteworthy

You may want to check the New and Noteworthy features of the MDT/OCL releases.

Example Code

Articles

Other documentation

Releases and Development

Planning

API Changes

Architecture

The remainder of this section has links to pages of interest primarily to those developing the OCL component.

Development Environment

Release Engineering

Related Links

Back to the top