Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 351406

Summary: [synthesis] Support OCL on Plain Old Java models
Product: [Modeling] OCL Reporter: Ed Willink <ed>
Component: CoreAssignee: OCL Inbox <mdt-ocl-inbox>
Status: NEW --- QA Contact:
Severity: enhancement    
Priority: P3    
Version: 3.2.0   
Target Milestone: ---   
Hardware: PC   
OS: Windows Vista   
Whiteboard:

Description Ed Willink CLA 2011-07-07 05:05:10 EDT
The code synthesis approach could support OCL evaluation on non-EObject run-time representations.

The dispatch tables generation can continue to use the defining Ecore model to construct descriptors.

At run-time, Object.getClass() can map to the corresponding Class, and property access can use the corresponding get method (that must exist).

?? Are the dispatch tables needed at all, or is a Java-reflection based dispatch just a slower lighterweight approach ??