This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | |||
v030:layout [2015/12/07 13:42] ndj94 [Groups] |
v030:layout [2015/12/07 13:45] (current) ndj94 [Groups] |
||
---|---|---|---|
Line 83: | Line 83: | ||
In this section **A**, **B**, **C** are classes already defined in a txtUML model and **L** and **J** are associations with an endpoint at class **A**. | In this section **A**, **B**, **C** are classes already defined in a txtUML model and **L** and **J** are associations with an endpoint at class **A**. | ||
- | A group can be defined by defining a class inheriting either from ''NodeGroup'' or from ''LinkGroup''. The elements of the group can be specified with the ''@Contains'' annotation. A group can contain model elements of the corresponding type or other groups containing elements of the corresponding type. | + | A group can be specified by defining a class inheriting either from ''NodeGroup'' or from ''LinkGroup''. The elements of the group can be specified with the ''@Contains'' annotation. A group can contain model elements of the corresponding type or other groups containing elements of the corresponding type. |
<code> | <code> |