Issue 18933: parameter direction (ifml-ftf) Source: WebRatio Inc (Dr. Marco Brambilla, marco.brambilla(at)webratio.com) Nature: Revision Severity: Minor Summary: the property "kind" of Parameter must be renamed as Direction. Direction of parameter is described as one of: direction ::= 'in' | 'out' | 'inout' and defaults to 'in' if omitted. Resolution: Property kind changed to direction. ParameterKind enumeration changed to Direction. Direction values fixed as requested. Text in Clauses 8.1.5, 8.2.1 and 8.3.27 has been fixed. Revised Text: In Clause 8.1.5 Parameters, text has been rewritten as: Parameters have a direction property, which can be input (in), output (out) or input-output (inout). Default direction is input. An input Parameter allows an InteractionFlowElement to receive one or more values through an incoming NavigationFlow or DataFlow. An output Parameter allows an InteractionFlowElement to expose one or more values through an outgoing NavigationFlow or DataFlow. An input-output Parameter allows for both behaviours. A ParameterBinding determines to which input Parameter of a target InteractionFlowElement an output Parameter of a source InteractionFlowElement is connected and thus how the parameter value will flow when an Event is triggered and the InteractionFlow is followed. ParameterBindings that flow together with an InteractionFlow are grouped by a ParameterBindingGroup, which in turn is related to the InteractionFlow. In Clause 8.3.27 Parameter, text has been rewritten as: Description A Parameter is a typed name, whose instances hold values. Parameters are held by InteractionFlowElements, i.e., ViewElements, ViewComponentParts, Ports, and Actions. Parameters flow between InteractionFlowElements when Events are triggered. Parameters may correspond to elements of the user interface (for instance, fields in a form), determining whether the element of the user interface is read-only or modifiable. Parameters have a direction property, which can be input (in), output (out) or input-output (inout). Default direction is input. The scope of a Parameter (i.e., the model space where it can be used or referenced) is the InteractionFlowElement that holds the Parameter, plus the incoming and outgoing InteractionFlows. This means that: if the parameter is held by a ViewComponent, it can be referenced only within the ViewComponent itself and the contained ViewComponentParts (plus the incoming and outgoing InteractionFlows); if the parameter is held by a ViewContainer, it can be referenced within the ViewContainer itself, and within the contained ViewContainers, ViewComponents, and ViewComponentParts (plus the incoming and outgoing InteractionFlows).Attributes • direction: Direction - Determines if the parameter direction is input, output or input-output. • defaultValue: Expression – default value of the parameter, calculated through the specified expression. In Clause 8.2.1 Enumeration Direction the description has been fixed as: Enumeration specifying the different possible directions of parameters. Literals • in (input): An input Parameter allows an InteractionFlowElement to receive one or more values through an incoming NavigationFlow or DataFlow • inout (input-output): An output Parameter allows an InteractionFlowElement to expose one or more values through an outgoing NavigationFlow or DataFlow. • out (output): A Parameter of kind input-output allows for both behaviours. Actions taken: September 17, 2013: received issue July 15, 2014: closed issue Discussion: End of Annotations:===== m: webmaster@omg.org Date: 17 Sep 2013 07:52:51 -0400 To: Subject: Issue/Bug Report ******************************************************************************* Name: Marco Brambilla Employer: WebRatio mailFrom: marco.brambilla@webratio.com Terms_Agreement: I agree Specification: IFML Section: - FormalNumber: ptc/2013-03-08 Version: 1.0 - Beta 1 Doc_Year: 2013 Doc_Month: March Doc_Day: 20 Page: - Title: parameter direction Nature: Revision Severity: Minor CODE: 3TMw8 B1: Report Issue Remote Name: nat1.como.polimi.it Remote User: HTTP User Agent: Mozilla/5.0 (Windows NT 6.2; WOW64; rv:23.0) Gecko/20100101 Firefox/23.0 Time: 07:52 AM Description: the property "kind" of Parameter must be renamed as Direction. Direction of parameter is described as one of: direction ::= 'in' | 'out' | 'inout' and defaults to 'in' if omitted.