Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 353569 - [serializer/codegen] don't assume EMF objects extend EObject
Summary: [serializer/codegen] don't assume EMF objects extend EObject
Status: CLOSED WONTFIX
Alias: None
Product: TMF
Classification: Modeling
Component: Xtext (show other bugs)
Version: 2.0.0   Edit
Hardware: PC Mac OS X - Carbon (unsup.)
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-08-02 08:29 EDT by Moritz Eysholdt CLA
Modified: 2012-11-22 07:51 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Moritz Eysholdt CLA 2011-08-02 08:29:41 EDT
The Impl or Interface type specified for an EClass is not required to extend EObject. However, all objects can safely be cast to EObject because the generated Impl class will always implement EObject.
Comment 1 Sven Efftinge CLA 2012-11-22 07:51:48 EST
EObject is used as the contract all over the place.