Skip to main content



      Home
Home » Modeling » UML2 » part/port and property
part/port and property [message #625553] Tue, 20 November 2007 21:30
Eclipse UserFriend
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
Previous Topic:How to make XML simple types available for UML models?.
Next Topic:part/port and property
Goto Forum:
  


Current Time: Sun Aug 31 02:13:33 EDT 2025

Powered by FUDForum. Page generated in 0.03546 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top