Book a Demo

Author Topic: Leaf/Root properties in class diagrams  (Read 5792 times)

EA_Nj

  • EA User
  • **
  • Posts: 48
  • Karma: +0/-0
    • View Profile
Leaf/Root properties in class diagrams
« on: February 22, 2002, 11:55:59 am »
I was trying to set a class in my class diagram as a leaf and another class as a root. I was able to set these properties through the advanced button on the general properties tab.  But I couldn't get the IsLeaf or IsRoot property do display on the diagram. How would I be able to make these settings display?

I was also able to define the multiplicity of  my class. But I couldn't figure out how to display the multiplicity on the diagram.


Thanks
« Last Edit: February 22, 2002, 12:09:32 pm by jkazmi »

gsparks

  • EA User
  • **
  • Posts: 325
  • Karma: +0/-0
  • I love YaBB 1 Gold!
    • View Profile
Re: Leaf/Root properties in class diagrams
« Reply #1 on: February 22, 2002, 04:19:33 pm »
Hi,

No - these properties are not currently displayed on the diagram representation ... we will be adding support for this over the next few weeks. If you keep an eye on the latest news section of the forum for update release notes you should see this soon.

Geoff Sparks



gsparks

  • EA User
  • **
  • Posts: 325
  • Karma: +0/-0
  • I love YaBB 1 Gold!
    • View Profile
Re: Leaf/Root properties in class diagrams
« Reply #2 on: February 22, 2002, 10:45:53 pm »
Hi again,

Just a follow up note to say this has now been added for the next build (467) due out on Monday next (25th Feb) - Class displays {root,leaf,specification <multiplicity>} property string below class name when these values are set in the Advanced dialog.



Geoff Sparks

EA_Nj

  • EA User
  • **
  • Posts: 48
  • Karma: +0/-0
    • View Profile
Re: Leaf/Root properties in class diagrams
« Reply #3 on: April 05, 2002, 09:12:33 am »
Thanks for adding the leaf/root attribute to the class diagrams.  

However I wanted to see if you have added any intelligence behind the checkboxes. I checked the isleaf as well as isroot checkbox.  I was expecting to get an error message (it may be argued that a class could be root as well as a leaf...maybe you can verify this from the UML specification).


gsparks

  • EA User
  • **
  • Posts: 325
  • Karma: +0/-0
  • I love YaBB 1 Gold!
    • View Profile
Re: Leaf/Root properties in class diagrams
« Reply #4 on: April 05, 2002, 04:03:32 pm »
Hi,

I quickly checked the spec, and can see no rule prohibiting this. It makes logical sense: a class may have no children and no parents - whether you would use it in practice or not though Im not sure.

Geoff