Welcome to Telelogic Product Support
  Home Downloads Knowledgebase Case Tracking Licensing Help Telelogic Passport
Telelogic TAU (steve huntington)
Decrease font size
Increase font size
Topic Title: How to get an Activity digram to return a value
Topic Summary: Use of activity diagram to model an interface operation
Created On: 23-Mar-2006 13:22
Status: Read Only
Linear : Threading : Single : Branch
Search Topic Search Topic
Topic Tools Topic Tools
Subscribe to this topic Subscribe to this topic
E-mail this topic to someone. E-mail this topic
Bookmark this topic Bookmark this topic
View similar topics View similar topics
View topic in raw text format. Print this topic.
 23-Mar-2006 13:22
User is offline View Users Profile Print this message


Nicholas Harper

Posts: 1
Joined: 23-Mar-2006

Has anyone worked out how to model interface operations that have a return value using Activity diagrams? I just can't work out a way to do it that doesn't give me :- 'Error TSC0263: This operation should return a result, but values in some return statements are missing or return statements are not present in its implementation' when I run the check.

I have a simple operation that returns an enumerated status variable. I don't know how to represent this return in the activity diagram.

It's driving me up the wall!
Report this to a Moderator Report this to a Moderator
 24-Mar-2006 15:41
User is offline View Users Profile Print this message


Ian Barnard

Posts: 91
Joined: 4-Jul-2002

Nicholas

I don't believe there is syntax in the UML 2.0 standard for an Activity to return a value, so not too surprisingly TAU doesn't support this. In TAU you can define an implementation of an operation which returns a value graphically using a Statechart Diagram or in textual form on a Text Diagram.

HTH
Ian

-------------------------
=============
Ian Barnard
Principal Consultant
Telelogic UK, an IBM company
Report this to a Moderator Report this to a Moderator
Statistics
20925 users are registered to the Telelogic TAU forum.
There are currently 1 users logged in.
The most users ever online was 15 on 31-Mar-2008 at 16:22.
There are currently 0 guests browsing this forum, which makes a total of 1 users using this forum.
You have posted 0 messages to this forum. 0 overall.

FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.