Re: Changes in the JavaPlatform API
Svata Dedic <[email protected]>
| Newsgroups | gmane.comp.java.netbeans.modules.projects.devel |
|---|---|
| Organization | CollabNet Hosting |
| Message-ID | <[email protected]> |
Hi, Tomas, I happen to think slowly these days, there's a couple of things, which I forgot about :-( Tomas Zezula wrote: > Proposal: > 1. Rename the JavaPlatform class to the GenericJavaPlatform class and > remove from it all the J2SE specific methods (getSecificationVersion()) Is the rename necessary if there will be a new specific J2SEPlatform subtype ? > 4. Rename the PlatformService into the GenericPlatformService without > any J2SE specific method. [the same question about rename] > > The changes are shown on the attached UML diagram. Would it be possible to have EditionType with no tags defined, and the tags would be defined on J2SEPlatform, J2MEPlatform and J2EEPlatform, respectively ? Then adding an edition (not much probable, though) would not require to change the base API (EditionType). Another thought -- what all functions will the tag serve for ? Isn't "aPlatform instanceof the_edition_specific_subtype" expression sufficient to lurk for a specific platform edition ? Thanks! -Svata