Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 351406 - [synthesis] Support OCL on Plain Old Java models
Summary: [synthesis] Support OCL on Plain Old Java models
Status: NEW
Alias: None
Product: OCL
Classification: Modeling
Component: Core (show other bugs)
Version: 3.2.0   Edit
Hardware: PC Windows Vista
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: OCL Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-07-07 05:05 EDT by Ed Willink CLA
Modified: 2011-07-07 05:05 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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 ??