This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Five Lines of Code and have Christian Clausen on-line!
See this thread for details.
Win a copy of Five Lines of Code this week in the OO, Patterns, UML and Refactoring forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Carey Brown

Package Diagrams

 
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have the following queries regarding package diagrams:-

1) How do i represent package within packages?
2) How do i show the relationship b/w two packages, if suppose one of the classes of a particular packages inherits from the class of the other package?
 
Ranch Hand
Posts: 893
Tomcat Server Java Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
1) I would put the package symbol into the package. Like you do with a element into a package

2) You could use the <<merge>> symbol between packages which is a dashed line with an open arrow from the package which is merging into the general package.
 
Kanishk Sinha
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks for your post! But i am still not clear as to how should i represent it! Can you please give me an example diagrammatically.
 
Remko Strating
Ranch Hand
Posts: 893
Tomcat Server Java Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Was my hint not enough.

Just take the package diagram UML specification and you're fine.
 
Rancher
Posts: 1197
22
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Kanishk Sinha wrote:Thanks for your post! But i am still not clear as to how should i represent it! Can you please give me an example diagrammatically.


http://www.edrawsoft.com/uml-package.php

If I understand your questions correctly, the last diagram on that page should answer both.

All I did was Google "UML package diagram" and this was the first result.

 
Consider Paul's rocket mass heater.
    Bookmark Topic Watch Topic
  • New Topic