Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

java api object construction mental problems, and inconsistencies

 I am still having mental problems with the object construction model. 

why doesn't new just work?  
can't you wrapper all this blahblahblahClass.ITEM_TYPE.createItem(); 
(which doesn't work for Iflow* objects anyhow)
into the class constructor to save everyone nine million lines of code?  and minimize the learning complexity. 

0 votes



One answer

Permanent link
Sam,

this stuff is based on EMF, which uses factory classes and the like.  Most of the interfaces etc are generated. EMF does not provide public constructors. I am assuming that this is the reason.

0 votes

Your answer

Register or log in to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 10,927

Question asked: Feb 05 '14, 5:33 p.m.

Question was seen: 3,915 times

Last updated: Feb 07 '14, 3:01 a.m.

Confirmation Cancel Confirm