![]() |
Telelogic TAU (steve huntington) | ![]() |
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 |
![]() |
![]()
|
![]() |
|
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! |
|
![]() |
|
![]() |
|
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 |
|
![]() |
FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.