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

Summary: Redefinitions from derivations do not work like expected
Product: uml Reporter: rost <rost>
Component: Diagram ClassAssignee: issues@uml <issues>
Status: NEW ---    
Severity: blocker    
Priority: P2    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: ENHANCEMENT Exception Reporter:
Attachments: class diagram showing a redefinition from a derived interface
now with the correct mime type selected, sorry...

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...