It is currently Wed Feb 22, 2012 10:50 pm



Welcome
Welcome to RHAPSODY4YOU

You are currently viewing our boards as a guest, which gives you limited access to view most discussions and access our other features. By joining our free community, you will have access to post topics, respond to polls, upload and download content, and access many other special features. Registration is fast, simple, and absolutely free, so please, register to join our community today.





 Page 1 of 1 [ 2 posts ] 
Author Message
 Post subject: Classes - part of sequence diagrams
PostPosted: Wed Sep 14, 2011 3:20 pm 

Joined: Wed Sep 14, 2011 2:39 pm
Posts: 2
Hi, everyone. Can you tell me where is the mistake of this condition " if ($name of classes = $name of classifierRole->formalClassifier) then $name else " " "? It gives me a message for syntax error and I tried many ways to change it but without any success up to now.
I would like to ask also if I have a class, which is part of sequence diagram what is the way to show in my report in word that this class is part of some sequence diagram?
It should be something like this:
Class <name of class>:
Referenced by Sequence diagram:
- <name of sequence diagrams where this class contains>
If you have any ideas I would be grateful if you share them with me.


Offline
 Profile  
 
 Post subject: Re: Classes - part of sequence diagrams
PostPosted: Sat Jan 14, 2012 11:27 pm 
User avatar

Joined: Tue Jan 27, 2009 12:27 pm
Posts: 3
Location: South Wales, UK
Hi again Petya.

To list sequence diagrams for a class, you can use one of the solutions in this post: "Report on specific package: Outer access".

Your code needs square brackets around the names of the collections:
if ($name of [classes] = $name of [classifierRole] -> [formalClassifier]) then $name else " "
But I'm sure you've solved that for yourself by now!

However, I doubt that's going to achieve what you want: $name of [classes] will return a comma-separated list of the names of every class. If this is still of interest to you, could you explain what you were trying to achieve, and I'll see if I can suggest a way to achieve it.

best regards,
Simon


Offline
 Profile  
 
Display posts from previous:  Sort by  
 Page 1 of 1 [ 2 posts ] 


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:

cron

suspicion-preferred