[PEAK] XMI 1.2
Phillip J. Eby
pje at telecommunity.com
Wed Mar 24 10:48:30 EST 2004
At 12:33 PM 3/24/04 +0100, Sofia Papagiannaki wrote:
>Finally, I think that your are right. Poseidon claims that supports UML 1.4
>but the diagram exchange 2.0 defines an extention to UML 1.4 metamodel.
>Indeed, a special node "Diagram" is defined in this extention and I
>raises the above exception.
Yes, that is indeed the problem. If there is a MOF 1.3 metamodel available
for the diagram exchange metamodel, then you can extend PEAK to handle the
diagram class. Alternatively, you can define your own version of the UML
1.4 metamodel that simply adds a Diagram class, so there won't be a problem
when PEAK reads the top-level objects. Depending on what objects you
access, however, you may have to define other dummy classes of that sort.
More information about the PEAK