31
Uml Process / Re: Instance of an component?
« on: October 10, 2007, 09:44:19 pm »
Thank you for answering :-)
The association link isn't the problem. My problem is the ownedPort-tag in XMI. I tried to load the XMI with the Eclipse modeling framework and the UML2 project. After modifying the XMI file (without an component instance), so that EMF can load it, I added a component instance. EMF returns a error like:
"Feature 'ownedPort' not valid".
So, I used the UML specification to search for the ownedPort-Association and I think, that the ownedPort-tag is not correct there (because a InstanceSpecification and its supertypes does not have a ownedPort-Association).
Now, I am confused and hope, that the UML 2 specification allows to connect Ports of component objects.
Do you know what I mean?
PS: Yes, I meant 'Bus2'
The association link isn't the problem. My problem is the ownedPort-tag in XMI. I tried to load the XMI with the Eclipse modeling framework and the UML2 project. After modifying the XMI file (without an component instance), so that EMF can load it, I added a component instance. EMF returns a error like:
"Feature 'ownedPort' not valid".
So, I used the UML specification to search for the ownedPort-Association and I think, that the ownedPort-tag is not correct there (because a InstanceSpecification and its supertypes does not have a ownedPort-Association).
Now, I am confused and hope, that the UML 2 specification allows to connect Ports of component objects.
Do you know what I mean?
PS: Yes, I meant 'Bus2'
