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 86376 - Generalization between class role and interface role should be replaced with implementation
Summary: Generalization between class role and interface role should be replaced with ...
Status: NEW
Alias: None
Product: uml
Classification: Unclassified
Component: Diagram Class (show other bugs)
Version: 5.x
Hardware: PC All
: P4 blocker (vote)
Assignee: issues@uml
Depends on:
Reported: 2006-10-03 13:41 UTC by bugbridge
Modified: 2009-05-25 21:06 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Note You need to log in before you can comment on or make changes to this bug.
Description bugbridge 2006-10-03 13:41:26 UTC
Original submitter: sergeyp

reproducible with 050522_3:

steps to reproduce:
in new uml-implementation project
1. create package with scoped class diagram
2. add class role 'a' to the diagram
3. add interface role 'b' to the diagram
4. draw generalization from 'a' to 'b'
generalization appears on the diagram
generalization should be replaced with implemenation on the diagram
xxx@xxxx 2005-05-24 13:55:56 GMT

According to UML it is ok to create a generalization between a class and an
interface.  However, Java does not allow a class to generalize from an
interface, so RoundTrip should either not allow the relationship creation or
transform it to an interface.
tspiva 2005-05-24 14:12:41 GMT

reproducible with 061001, may be the issue in handling of pattern application to
java model