Community
Participate
Working Groups
The OCL Interactive Console fails to support Complete OCL documents becuase there is no mechanism for a user to 'load' the Complete OCL document. A similar problem occurs for any other use of a UML/Ecore meta-model for which Complete OCL is provided. This will most opbviously ocxcur in any validation context for which the OCL delegate registrations activate OCL. Pull: One possible solution is to add an additional 'import' EAnnotation so that a meta-model rereferences its Complete OCL counterpart. However user-defined Complete OCL could be added to e.g. Ecore.ecore which clearly cannot be modified to import every possible user's Complete OCL. Push: If the OCL Model Registry supports a Complete OCL registration for a meta-model, then the OCL environment need only lookup trhe registration and any OCL using tool is automatically enhanced. The user just needs to make the OCL Registry entry, possibly aided by a Complete OCL editor wizard/warning.
(In reply to comment #0) > Pull: One possible solution is to add an additional 'import' EAnnotation so > that a meta-model rereferences its Complete OCL counterpart. Perhaps a genmodel GenAnnotation.