Re: UML 15 association and CompositeViolation
"Stefan Ocke" <[email protected]> Tue, 19 Aug 2003 16:36:49 +0200
| Newsgroups | gmane.comp.java.netbeans.modules.mdr.devel |
|---|---|
| Message-ID | <007501c3665f$5392c600$3ee41e8d@stefan> |
> There are two (unrelated) references
>
> ModeElement[0..*] <-> [0..1]Namespace
> and
> Association[1..1] <-> [2..*]AssociationEnd.
>
> and
> aEnd.refSetValue("namespace", as)
> aEnd.refSetValue("association", as)
>
> is accepted by the MDR's JMI impl.
>
Wasn't your original problem that this peace of code throws the
CompositeViolationException?
Well, exactly this exception is JMI's way to tell, that this code is not
okay...
Stefan.