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 78390 - Should be possible to create "interface datatype" or "interface" without generating source code
Summary: Should be possible to create "interface datatype" or "interface" without gene...
Status: NEW
Alias: None
Product: uml
Classification: Unclassified
Component: Diagram Class (show other bugs)
Version: 5.x
Hardware: PC Windows XP
: P2 blocker (vote)
Assignee: issues@uml
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-06-19 22:44 UTC by bugbridge
Modified: 2006-08-31 03:23 UTC (History)
1 user (show)

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description bugbridge 2006-06-19 22:44:11 UTC
Original submitter: sergeyp

Description
It should be possible to create element representing library interfaces (like
java.lang.Runnable) without source genereation. Funtionality may be implemented
in two ways: 

1) add "interface datatype" object to palette and model
2) allow interface/class creation without source

- the way this is impemented for design patterns, there are some classes and
interfaces in model after applying EJB patterns which have no source, but it's
impossible to make the same classes manually.

Description (Entry 2):
A better solution then, is to let the implementation relationship be drawn
between the class and a datatype.  I think this problem was solved in a later
version of the UML specification. 

In the latest version of the specification the implementation relationship was
removed.  Instead you are suppose to use the Realization Dependency
relationship.  The advantage of the realization dependency relationship is that
it can be used between other element then just class and interface.  

So, we will should not need a special data type to represent interfaces.