Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Papyrus » Object diagrams in Papyrus(How to represent objects (class instances) in Papyrus)
Object diagrams in Papyrus [message #883624] Fri, 08 June 2012 23:58 Go to next message
Igor Kaitovic is currently offline Igor Kaitovic
Messages: 2
Registered: May 2012
Junior Member
Hi,

I guess this is a trivial question as I am switching from IBM Rhapsody to Papyrus.

I could not find object diagrams in Papyrus.
In fact, even in class diagrams I could not find an obvious way to represent objects as class instances.

Do you have suggestions?

Thanks!
Re: Object diagrams in Papyrus [message #884496 is a reply to message #883624] Mon, 11 June 2012 07:38 Go to previous messageGo to next message
Camille Letavernier is currently offline Camille Letavernier
Messages: 483
Registered: February 2011
Senior Member
Hello Igor,

Papyrus doesn't provide an Object diagram yet. However, you can use the "Instance Specification" from the ClassDiagram to represent an Instance.


Camille


Camille Letavernier
Papyrus developer
Re: Object diagrams in Papyrus [message #885550 is a reply to message #884496] Wed, 13 June 2012 08:33 Go to previous messageGo to next message
Igor Kaitovic is currently offline Igor Kaitovic
Messages: 2
Registered: May 2012
Junior Member
Thanks Camille!
Re: Object diagrams in Papyrus [message #987439 is a reply to message #884496] Mon, 26 November 2012 15:55 Go to previous messageGo to next message
Bruno Tavares is currently offline Bruno Tavares
Messages: 2
Registered: November 2012
Junior Member
And what about creating associations between instances (i.e.: objects)?

Papyrus seems to only allow dependency associations, or similarly weak connections, between "instance specification" of classes in class diagrams.

How can I had a stronger association between 2 "instance specifications" in a class diagram?
Re: Object diagrams in Papyrus [message #987449 is a reply to message #987439] Mon, 26 November 2012 16:22 Go to previous messageGo to next message
Camille Letavernier is currently offline Camille Letavernier
Messages: 483
Registered: February 2011
Senior Member
Hello,


There is an "Instance Specification link" element in the palette. The Instance Specifications must be associated to two associated classifiers.

For example, create a Class A and a Class B. Draw an association C between them. Create two instance specifications, and add respectively A and B as their classifiers. Then you'll be able to draw an "Instance specification link" between these two Instance Specifications. This link will be an instance of the Association C.


Regards,
Camille


Camille Letavernier
Papyrus developer
Re: Object diagrams in Papyrus [message #987600 is a reply to message #987449] Tue, 27 November 2012 10:07 Go to previous message
Bruno Tavares is currently offline Bruno Tavares
Messages: 2
Registered: November 2012
Junior Member
Thank you very much for the help Camille, this was exactly what I was looking for. Also, thank you for the quick response.
Previous Topic:uscase Rectangle problem
Next Topic:How to create a new Papyrus UML diagram
Goto Forum:
  


Current Time: Sun Oct 26 08:32:10 GMT 2014

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

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