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 80973 - There is no direct way to add DataTypes from standard java library
Summary: There is no direct way to add DataTypes from standard java library
Status: NEW
Alias: None
Product: uml
Classification: Unclassified
Component: Diagram Class (show other bugs)
Version: 5.x
Hardware: All All
: P1 blocker with 1 vote (vote)
Assignee: issues@uml
Depends on:
Reported: 2006-07-24 14:31 UTC by bugbridge
Modified: 2007-06-12 18:55 UTC (History)
1 user (show)

See Also:
Exception Reporter:

WorkerThread Design Pattern (73.55 KB, image/png)
2007-01-12 14:10 UTC, Alexandr Scherbatiy

Note You need to log in before you can comment on or make changes to this bug.
Description bugbridge 2006-07-24 14:31:54 UTC
Original submitter: sunflower

User wants to create class which should extend class from standart java library
or should implement interface from standart java library. But there is no direct 
way to get necessary DataType from standart java library to implement it.

For example user wants to implement Runnable interface:
- Create a class diagram
- Add java.lang.Runnable from standart library interface to the class diagram 
- Add own Task class to the class diagram
- Draw implementation link between Task class and Runnable interface

It is necessary to add way to obtain DataTypes from standart java library.
Comment 1 Alexandr Scherbatiy 2007-01-12 14:05:23 UTC
email from the customer:

 -------- Original Message --------
 Subject: Feedback: NBEP 5.5 UML Modeling Developing Applications
 Date: Mon, 05 Jun 2006 09:00:56 -0400

 thanks for your great tutorial.
 Can you please help me with the following problem: I want to create a class 
 model, where one (new) class uses an existing other class. In my example it's 
 java.sql.Connection. How can I generate an Aggregation to a standard java
 class ? I know how to do it with classes implemented by myself but not with
 existing classes.

Comment 2 Alexandr Scherbatiy 2007-01-12 14:07:50 UTC
The issue affects the Design Pattern Hands-On Lab.
See the attached image of WorkerThread Design Pattern.
The Task role should implement java.lang.Runnable class.
Comment 3 Alexandr Scherbatiy 2007-01-12 14:10:45 UTC
Created attachment 37319 [details]
WorkerThread Design Pattern