[ACCELO] Associations and attributes [message #685284] |
Fri, 17 June 2011 07:30 |
|
See the attached picture of a UML model. The mtl
// Associations:
[for (p : Property | c.getAssociations().memberEnd)]
// - [p.name/]
[/for]
// Attributes:
[for (p : Property | c.getAllAttributes())]
// - [p.name/]
[/for]
"renders"
for A:
// Associations:
// - a2
// - c
// - a1
// - a
// Attributes:
// - x
for B:
// Associations:
// Attributes:
// - x
for C:
// Associations:
// - c
// - a
// Attributes:
How should I change mtl to make it "render"
- only the other end of associations and
- only the declared attributes, not the inherited ones
? In other words:
for A:
// Associations:
// - a2
// - c
// - a1
// Attributes:
// - x
for B:
// Associations:
// Attributes:
for C:
// Associations:
// - a
// Attributes:
Regards,
Harri
-
Attachment: uml.png
(Size: 1.92KB, Downloaded 233 times)
|
|
|
Powered by
FUDForum. Page generated in 0.03457 seconds