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.
|
One answer
Ralph Schoon (63.6k●3●36●47)
| answered Feb 07 '14, 3:01 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
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. |
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.