State values as parameter type?

26 views
Skip to first unread message

István Dányi

unread,
Sep 3, 2019, 12:53:37 PM9/3/19
to umlf...@googlegroups.com
Hi,

I run into a problem to define an operation filtering instances by their states (one or more) defined in their statemachine. Currently, I do not know any UML element that allows me to use as type of the parameter in this operation. As "workaround", the statemachine can be used as indirect reference, but I am sure this would not be not appropraite either. In addition, an another question also raised: how the state value should be referred.

Any help, guidence would be appreciated.

Regards,
Istvan

David Glaser

unread,
Sep 4, 2019, 8:39:42 PM9/4/19
to umlf...@googlegroups.com

An operation invocation is a from of a call event.  If an instance cannot handle the invocation of a particular operation on itself in a particular state, you should be able to model a call event transition from that particular state and said transition will handle the error and then transition to some appropriate recovered state.

-David
--
--
You received this message because you are subscribed to the Google
Groups "UML Forum" group.
Public website: www.umlforum.com
To post to this group, send email to umlf...@googlegroups.com
To unsubscribe from this group, send email to
umlforum+u...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/umlforum?hl=en?hl=en
---
You received this message because you are subscribed to the Google Groups "UML Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to umlforum+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/umlforum/CA%2BujN9N-CVPTtkH08WAi2SSnY%2BiL%2B8fH1%3DusoEvmtG1o4ckMvg%40mail.gmail.com.
Reply all
Reply to author
Forward
0 new messages