Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
THRUST SERVICES & TOOLS
CLOUD EDITIONS
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Intelligence (Analytics)
Designing an UML model report with "by class grouping"
abo
I'm trying to design an UML model report in which I want to group items by class.<br />
I want to obtain a result like the following one :<br />
<br />
<pre class='_prettyXprint _lang-auto _linenums:0'>
MyClass
Description of MyClass
MyClass owned diagrams
Parent : link to the parent, if any
Attributes
a1 : integer, private, description of a1
a2 : integer, private, description of a2
Operations
o1(integer p1, string p2) : string, private, description of o1
...
</pre>
<br />
When I use the jointures, I can't obtain that result because the jointure can be done only on two datasets : class and operations for instance. The grouping can only be done for a kind of members. The result looks like this one :<br />
<br />
<pre class='_prettyXprint _lang-auto _linenums:0'>
MyClass
Description of MyClass
Attributes
a1 : integer, private, description of a1
a2 : integer, private, description of a2
MyOtherClass
Description of MyOtherClass
Attributes
a3 : integer, private, description of a3
MyClass
Operations
o1(integer p1, string p2) : string, private, description of o1
...
</pre>
<br />
Is there any solution to my requirement ?<br />
<br />
Thanks for your help
Find more posts tagged with
Comments
StevenHovater
hi abo -
There are several ways to get what you're after.
You can use data set parameters and nested tables (using the parent URI for the child data set parameters)
The other approach is to use a dataset based on a ReferenceMap. For example, given an element with a multi-valued stereotype property value, the reference map allows you to create a map between the owner and the owned references (which you'd then use in join data sets).
cheers
Steve
abo
Hello Steven,
Many thanks for your answer.
I have choosed your first solution "nested tables using the parent URI for the child data set parameters" and it works fine !
The case is resolved !
Cordially