Win a copy of Pro Spring MVC with WebFlux: Web Development in Spring Framework 5 and Spring Boot 2 this week in the Spring 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Jeanne Boyarsky
  • Liutauras Vilda
Sheriffs:
  • Rob Spoor
  • Bear Bibeault
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Piet Souris
Bartenders:
  • Frits Walraven
  • Himai Minh

Jude experts - how to draw composition in class diagram

 
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

In this forum lots of people recommended using Jude and I am using it now. It works just fine and ,so far, I'm happy with it.

I need to draw composition relationship in class diagram and couldn't find the right tool. Am I missing something here?

thank.
- Roger
 
Ranch Hand
Posts: 317
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by Roger Rustin:
Hi,

In this forum lots of people recommended using Jude and I am using it now. It works just fine and ,so far, I'm happy with it.

I need to draw composition relationship in class diagram and couldn't find the right tool. Am I missing something here?

thank.
- Roger



Roger,
Representing a composition relationship is a multi-step process. Lets assume you want to draw a composition between Class A and Class B, where Class A contains B.
1. First draw a regular association (horizontal line, 5th icon in the class diagram toolbar) between the 2 classes.
2. Click on the association line to select it and it will show the properties in the left hand corner section.
3. Click on the 'Role' tab and make sure the target is Class A.
4. Choose the 'aggregation' dropdown and select 'composite'from the options. Choosing this option will draw the filled diamond pointing at Class A.

Parag
[ August 15, 2004: Message edited by: Parag Doshi ]
 
It's never done THAT before. Explain it to me tiny ad:
Thread Boost feature
https://coderanch.com/t/674455/Thread-Boost-feature
reply
    Bookmark Topic Watch Topic
  • New Topic