Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 369059 - getBusinessObjectClass() should return EClass instead of Class
Summary: getBusinessObjectClass() should return EClass instead of Class
Status: CLOSED INVALID
Alias: None
Product: BPMN2Modeler
Classification: SOA
Component: Core (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows 7
: P3 enhancement (vote)
Target Milestone: 0.0.1-M1   Edit
Assignee: Randeep Singh CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-01-19 06:43 EST by Randeep Singh CLA
Modified: 2012-07-23 05:01 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 Randeep Singh CLA 2012-01-19 06:43:15 EST
Build Identifier: version : 0.0.1.201107190928

HI,

I have a class which extends "org.eclipse.bpmn2.modeler.core.features.AbstractBpmn2CreateFeature" and have some concern regarding the return type of getBusinessObjectClass() method which is Class, shouldn't it be EClass.Please correct me if i am wrong but i think even in your implementation you intent is  to return the EClass. or there is any other reason of returning the  raw type.I have an Eclass which i would like to return from this method.

Best Regards
Randeep Singh.

Reproducible: Always
Comment 1 Robert Brodt CLA 2012-03-01 10:29:16 EST
I'm not exactly sure of the reason why this method returns the raw class, but it seems like an unnecessary change that will affect a LOT of classes. Is there a reason why your subclass needs to provide the EClass at runtime instead of compile time?