UML: Associations between classes and packages
- From: Matthias Kaeppler <nospam@xxxxxxxxxxxxxxx>
- Date: Sun, 22 May 2005 14:00:46 +0200
Hi,
I was wondering in how far it is allowed to mix class and package diagrams in UML.
Example:
Say I have a class which inherits from javax.swing.JFrame. It would be stupid to introduce the class JFrame with its huge interface into the model, since it's part of the platform anyway.
But somehow I have to model the relationship between my custom Frame class and JFrame, so I thought I'd just draw a dependency from my class to the swing package. But the I'd have both classes and packages together in one diagram.
Is that legal? And if so, what kind of line notation do I have to use, a simple dotted line?
Thanks in advance, Matthias .
- Follow-Ups:
- Re: UML: Associations between classes and packages
- From: Robert C . Martin
- Re: UML: Associations between classes and packages
- From: H. S. Lahman
- Re: UML: Associations between classes and packages
- Prev by Date: Re: Using Analytical vs. Enumerative methods
- Next by Date: Re: Lahman, how ya doing?
- Previous by thread: Software Architecture Review
- Next by thread: Re: UML: Associations between classes and packages
- Index(es):
Relevant Pages
|