This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 126567 - Redefinitions from derivations do not work like expected
Summary: Redefinitions from derivations do not work like expected
Status: NEW
Alias: None
Product: uml
Classification: Unclassified
Component: Diagram Class (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: issues@uml
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-02-03 15:55 UTC by rost
Modified: 2008-02-04 14:35 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments
class diagram showing a redefinition from a derived interface (70.90 KB, text/plain)
2008-02-03 15:57 UTC, rost
Details
now with the correct mime type selected, sorry... (70.90 KB, image/jpeg)
2008-02-03 15:59 UTC, rost
Details

Note You need to log in before you can comment on or make changes to this bug.
Description rost 2008-02-03 15:55:09 UTC
I wanted to model a very simple class diagram with NetBeans UML that uses some features of Java generics. I used the 
following steps:
1) create an interface with a template parameter
2) add a method that uses the template parameter
3) create a derivation of the interface
4) add another class that implements the derived interface

To my surprise, the class redefined operations from the interface and not from the derivation. I expected the class to 
redefine something like:
   public void doSomething(String input)
but it redefined
   public void doSomething(T input)

I will attach a screenshot...
Comment 1 rost 2008-02-03 15:57:11 UTC
Created attachment 55962 [details]
class diagram showing a redefinition from a derived interface
Comment 2 rost 2008-02-03 15:59:00 UTC
Created attachment 55963 [details]
now with the correct mime type selected, sorry...