[Uml-devel] [Bug 56184] Umbrello XMI file format doesn't conform with uml13.dtd
Oliver Kellogg
okellogg at users.sourceforge.net
Sun Jan 2 07:42:06 UTC 2005
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
http://bugs.kde.org/show_bug.cgi?id=56184
------- Additional Comments From okellogg users sourceforge net 2005-01-02 16:40 -------
Marcus Alanen wrote:
> AssociationEnds should further have
> - isNavigable = "(true|false)"
> - type = "id" where id is the id of the class where we point to
> - ordering = "(unordered|ordered)" if order of elements matters
> - aggregation = "(none|aggregate|composite)" (nothing, empty diamond,
> black diamond)
Just to make sure I am understanding, here are my assumptions:
1) Simple (undirected) association between class A and class B
AssociationEnd A: isNavigable="true"
AssociationEnd B: isNavigable="true
2) Directed association from class A to class B
(arrowhead at B)
AssociationEnd A: isNavigable="false"
AssociationEnd B: isNavigable="true"
3) Aggregation: A has a reference to B
(hollow diamond at A)
AssociationEnd A: isNavigable="false" aggregation="aggregate"
AssociationEnd B: isNavigable="true" aggregation="none"
4) Composition: A contains an instance of B
(solid diamond at A)
AssociationEnd A: isNavigable="false" aggregation="composite"
AssociationEnd B: isNavigable="true" aggregation="none"
aggregation="none" if not stated otherwise,
targetScope="instance" and ordering="false" in all cases.
Okay?
More information about the umbrello-devel
mailing list