Issue 19841: UML 2: Lifeline should be made a TemplateableElement (uml2-rtf) Source: Simula Research Laboratory (Mr. Bran Selic, selic(at)acm.org) Nature: Uncategorized Issue Severity: Summary: To support generic interaction specifications, it would be useful to make Lifeline a TemplateableElement. This would allow a given interaction specification to be used in multiple places with different instances playing the appropriate roles. Resolution: Revised Text: Actions taken: October 21, 2015: received issue Discussion: End of Annotations:===== uthentication-Results: s12p02m092.mxlogic.net; spf=pass DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:from:date:message-id:subject:to:content-type; bh=T4iifZgC3c24YpJoJb0aqyoUpt3fSoqrcEu4Qo1p8w8=; b=oFaWeMbEwXEMPLYmld+pSug9Wq5MjN8gWh26I6fDIz8Y17kwpKoaY4eFo8XQiur8Y0 AH1d9f+BmTHIt0kSpmY0F0op+h+35vSwSYY3H2n6t75yERdF6l3b5gxvd7T7na6lAWfj H4ZZovWFEvfPS5mxn1lzK3vA/r+VW60SQ4gVziFlYRM5S9cEEkGUyVYeqGGjsOrotjK8 ecATD6qQEMqI6BnMcdkZGcTMiusQLe2wdUkPNzDCysKKpYFK3AmZRn0yRhWTIL54ED61 vNkRnhdar39w/NPOzrLZTleZqMEpTlNyyzOILNA+AhKQbXSLLajSb1yzLpM6yrT0tW/e Ktkw== X-Received: by 10.25.206.199 with SMTP id e190mr2776743lfg.39.1445414166078; Wed, 21 Oct 2015 00:56:06 -0700 (PDT) Sender: bran.selic@gmail.com From: Bran Selic Date: Wed, 21 Oct 2015 09:55:26 +0200 X-Google-Sender-Auth: _u3fw7XuwMBG5vsGxRAY12Mfqv8 Subject: UML 2: Lifeline should be made a TemplateableElement To: "issues@omg.org" X-AnalysisOut: [v=2.1 cv=DrNC+QP+ c=1 sm=1 tr=0 a=9z1y5ByhFDp7c9NSddxdjg==] X-AnalysisOut: [:117 a=N54-gffFAAAA:8 a=pGLkceISAAAA:8 a=1XWaLZrsAAAA:8 a=] X-AnalysisOut: [YlVTAMxIAAAA:8 a=5lJygRwiOn0A:10 a=1YyyIRj3wtral2rlAcwA:9 ] X-AnalysisOut: [a=QEXdDO2ut3YA:10 a=Kfv36jS-sOpWRNBJJhgA:9] X-Spam: [F=0.2268456376; B=0.500(0); STSI=0.500(0); STSM=0.500(0); CM=0.500; CY=0.50; MH=0.539(2015102103); S=0.200(2015072901); spf=0.500; SC=] X-MAIL-FROM: X-SOURCE-IP: [209.85.215.50] X-Virus-Scanned: amavisd-new at omg.org To support generic interaction specifications, it would be useful to make Lifeline a TemplateableElement. This would allow a given interaction specification to be used in multiple places with different instances playing the appropriate roles. Authentication-Results: p02c11m066.mxlogic.net; spf=none From: Ed Seidewitz To: "uml2-rtf@omg.org" Subject: Re: [omg] (UMLR-631) UML 2: Lifeline should be made a TemplateableElement Thread-Topic: [omg] (UMLR-631) UML 2: Lifeline should be made a TemplateableElement Thread-Index: AQHRDDtXr8hG012wake37mjt9u3mz552Z8gA Date: Wed, 21 Oct 2015 20:36:13 +0000 Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [96.241.165.241] X-Mailprotector-Decision: deliver X-Mailprotector-Connection: TLSv1|exchange.us-east-1.mailprotector.net|54.208.197.235|exchange.mailprotector.com|0.0|0.0|0|||0|0|0|0 X-Mailprotector-Results: subject_50_chars clean X-Mailprotector-Score: 0 X-Mailprotector-IP-Analysis: 0, 54.208.197.235, Ugly c=0 p=0 Source New X-Mailprotector-Scan-Diagnostics: 0-0-0-23476-c X-Mailprotector-ID: 7f1d304f-b13b-4450-acc3-adcccb9ddfc8 X-AnalysisOut: [v=2.1 cv=dcGU3Bne c=1 sm=1 tr=0 a=LNSQmsJeajXiXB/ZW/LqMQ==] X-AnalysisOut: [:117 a=LNSQmsJeajXiXB/ZW/LqMQ==:17 a=7OUVe7TeAAAA:8 a=H2sH] X-AnalysisOut: [g0eYAAAA:8 a=YlVTAMxIAAAA:8 a=mfYC0MdeAAAA:8 a=Z6ZaZhmlfCc] X-AnalysisOut: [A:10 a=xqWC_Br6kY4A:10 a=5lJygRwiOn0A:10 a=KHpXyVWLAAAA:8 ] X-AnalysisOut: [a=28YZhqBf8aSlI1tX4CkA:9 a=wPNLvfGTeEIA:10 a=SSmOFEACAAAA:] X-AnalysisOut: [8 a=YnHUy_BZHgIv-yKr:21 a=_W_S_7VecoQA:10] X-Spam: [F=0.1813953488; B=0.500(0); STSI=0.500(-6); STSM=0.450(-6); CM=0.500; CY=0.50; MH=0.520(2015102112); S=0.200(2015072901); spf=0.500; SC=] X-MAIL-FROM: X-SOURCE-IP: [54.84.14.167] X-Virus-Scanned: amavisd-new at omg.org An Interaction is a Behavior, so it is already a kind of TemplateableElement (i.e., it can be templated). A Lifeline can be specified to represent a ConnectableElement, which is a kind of ParameterableElement (i.e., it can be used as a template parameter). For example, a template Interaction could have Properties that are its template parameters and which are represented by its Lifelines. In this way, the template Interaction can be instantiated with “different instances playing the appropriate roles” represented by its Lifelines. It is also common to attach an Interaction to a Collaboration and have the Lifelines of the Interaction represent the roles of the Collaboration. Since a Collaboration is also a kind of TemplateableElement, a template Collaboration can have its roles as template parameters, again effectively parameterizing the Interaction. This is even better than templating the Interaction, because multiple Interactions can be attached to the same (template) Collaboration representing multiple related interaction scenarios among a common set of generic roles. Given this capability, I am not sure it is necessary to add the further complexity of allowing a Lifeline itself to be a TemplateableElement (or a ParameterableElement). From: "UML 2.6 RTF" Date: Wednesday, October 21, 2015 at 3:55 PM To: "uml2-rtf@omg.org" Subject: [omg] (UMLR-631) UML 2: Lifeline should be made a TemplateableElement Bran Seliccreated an issue UML 2.6 RTF / Issue UMLR-631 UML 2: Lifeline should be made a TemplateableElement Issue Type: Issue Issue Affects Versions: UML 2.5 Assignee: Unassigned Created: 21/Oct/15 4:00 AM +00:00 Priority: Major Major Reporter: Bran Selic To support generic interaction specifications, it would be useful to make Lifeline a TemplateableElement. This would allow a given interaction specification to be used in multiple places with different instances playing the appropriate roles. Add Comment Add Comment This message was sent by Atlassian JIRA (v6.1.2#6157-sha1:98c7292) Atlassian logo