• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Package Diagrams

 
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Was my hint not enough.

Just take the package diagram UML specification and you're fine.
 
Bartender
Posts: 1205
22
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.

 
reply
    Bookmark Topic Watch Topic
  • New Topic