Objects by Design Forums Here you can view your subscribed threads, work with private messages and edit your profile and preferences Registration is free! Calendar Find other members Frequently Asked Questions Search Home  
Objects by Design Forums : Powered by vBulletin version 2.3.5 Objects by Design Forums > Main Forums > UML Questions > Collaboration relationship with Classifier Operation
  Last Thread   Next Thread
Thread Post New Thread    Post A Reply
Junior Member

Registered: Dec 2005
Location: Reading, UK
Posts: 3

Collaboration relationship with Classifier Operation

Hello list

I am one of the http://argouml.tigris.org developers. I thought I'd bring a point of discussion to you guys where we are trying to interpret the intent of the OMG specification.

I'm refering here to Figure 19 page 106 of the UML1.4.2 spec that's available from http://www.omg.org/cgi-bin/doc?formal/04-07-02.

This shows an XOR constraint between representedOperation and representedClassifier

We have to schools of thought of what this means

1. There must be 1 Operation associated to a Collaboration or there must be 1 Classifier associated to an Collaboration but not both.

2. The Collaboration can be associated by representedOperation or by representedClassifier but not both.

Assume representatedOperation - this allows a 0..1 multiplicity for operation so it is possible to have no Operation.

Assume representatedClassifier - this allows a 0..1 multiplicity for Classifier so it is possible to have no Classifier.

So in fact a collaboration can have either an Operation or a Classifier or none (but not both)

I go with the latter as I think this is further supported by the wording a little further up in the spec - "A Collaboration may be attached to an Operation or a Classifier". Note _may_ rather than _must_. But that's a tricky point of english and difficult to interpret true meaning.

As far as ArgoUML is concerned this sticks us on the point of whether or not to allow a collaboration/sequence diagram to be created without first forcing the user to create and select the classifer/operation that the collaboration is to be attached to.

It seems most other tools allow collaboration diagrams or sequence diagrams to be created without such associations. How do they allow this if interpretation (1) is the true OMG requirement?

What is the OMG's intent here?



Report this post to a moderator | IP: Logged

Old Post 12-15-2005 01:29 PM
bobtarling is offline Click Here to See the Profile for bobtarling Click here to Send bobtarling a Private Message Visit bobtarling's homepage! Find more posts by bobtarling Add bobtarling to your buddy list Edit/Delete Message Reply w/Quote
All times are GMT. The time now is 05:06 AM. Post New Thread    Post A Reply
  Last Thread   Next Thread
Show Printable Version | Email this Page | Subscribe to this Thread

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF

< Contact Us - Objects by Design >

Powered by: vBulletin Version 2.3.5
Copyright ©2000 - 2018, Jelsoft Enterprises Limited.
Copyright 1999-2005, Objects by Design, Inc.