Prev - Next - Down | SDMetrics - the UML design measurement tool |
For example, we can easily change the definition of the set of children classes from above to yield the element set of descendents classes:
<set name="Descendents" domain="class"> <description>The set of descendents of a class.</description> <projection relation="genparent" target="generalization" element="genchild" eltype="class" recurse="true"/> </set>For each child class, the set "Descendents" is evaluated, and the union of all these sets is taken. The child classes themselves also are included in the set. This effectively produces the set of descendents for a class.
Prev | Up | Next |
Section 8.2.1 "Projection" | Contents | Section 8.2.1.2 "Attribute "set"" |