part/port and property [message #625553] |
Tue, 20 November 2007 21:30 |
Eclipse User |
|
|
|
hello
I saw in the uml superstructure that the aggregation propoerty of a port
must be composite.
although, when we want to define a part in an uml component, we chose
composite in agregation property
so when we call self.part we did not get only parts but olso ports
we have self.ownedPort to get ports and self.ownedAttribute to get all
attributes (parts and ports) so the question is why we have not an ownedPart
which give us only parts
to get only part I write
self.ownedAttribute.eClass().name='Property'.
is there any other method?
thank you
|
|
|
Powered by
FUDForum. Page generated in 0.03546 seconds