Issue 6605: Missing actual arguments in submachines states (uml2-superstructure-ftf) Source: France Telecom R&D (Mr. Mariano Belaunde, mariano.belaunde(at)orange.com) Nature: Uncategorized Issue Severity: Summary: A state machine, as a behavior, has formal parameters. When referencing it in a submachine state, we may need to pass actual arguments. However, nothing seems to be specified for that purpose in the UML2 metamodel. Is this a bug? If not, how can we send/retrieve data to/from a referenced submachine? Resolution: Revised Text: Actions taken: November 12, 2003: received issue March 9, 2005: closed issue Discussion: Parameters are used in the context of behavior invocation. Submachines are not invoked and therefore the mechanism of passing actual parameters does not apply. Data to/from submachines can be retrieved by either defining it in the namespace of the context classifier, where data is available according to the specification of behaviors, or by defining the submachine as a template wit parameters representing the data and then binding the desired data via template binding. Disposition: Closed, no change End of Annotations:===== ubject: UML2 issues regarding state machines Date: Wed, 12 Nov 2003 16:56:16 +0100 X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: UML2 issues regarding state machines Thread-Index: AcOpNYB/qGoC2u+RS/u+oqlWCBLomA== From: "BELAUNDE Mariano FTRD/DTL/LAN" To: "Juergen Boldt" Cc: Birger Møller-Pedersen (ETO) , PRESSO Maria-José FTRD/DTL/LAN X-OriginalArrivalTime: 12 Nov 2003 15:57:13.0246 (UTC) FILETIME=[A32C5BE0:01C3A935] Juergen, Could you please add the following 4 issues for consideration to the UML2 superstructure FTF? Thanks in advance, Mariano -- 4 ISSUES --------------------------------------------- Issue: Missing actual arguments in submachines states A state machine, as a behavior, has formal parameters. When referencing it in a submachine state, we may need to pass actual arguments. However, nothing seems to be specified for that purpose in the UML2 metamodel. Is this a bug? If not, how can we send/retrieve data to/from a referenced submachine? OMG Issue 6605 Title: Missing actual arguments in submachine states Source: France Telecom R&D (Mr. Mariano Belaunde) Summary: A state machine, as a behavior, has formal parameters. When referencing it in a submachine state, we may need to pass actual arguments. However, nothing seems to be specified for that purpose in the UML2 metamodel. Is this a bug? If not, how can we send/retrieve data to/from a referenced submachine? Discussion: Parameters are used in the context of behavior invocation. Submachines are not invoked and therefore the mechanism Of passing actual parameters does not apply. Data to/from submachines can be retrieved by either defining the in the namespace Of the context classifier, where data is available according to the specification of behavios, or defining them as templates and bind data via templates binding mechanism. Disposition: Closed, No change