Issue 19044: context variables (ifml-ftf) Source: WebRatio Inc (Dr. Marco Brambilla, marco.brambilla(at)webratio.com) Nature: Revision Severity: Critical Summary: Context: context variables are pointers to the corresponding element in the data model. Resolution: Added ContextVariable, SimpleContextVariable, and DataContextVariable metaclasses and respective descriptions. Revised Text: In Clause 8.3.14 Class Context, last sentence modified as: Context is composed of one or more ContextDimensions and may comprise ContextVariables. And added new association end: • contextVariables [0..*]: ContextVariable – set of ContextVariables whose values are relevant for the current Context. Added new Clauses as follows: 8.3.16Class ContextVariable Abstract: No Generalization: • NamedElement Description ContextVariable is a name-value pair that allows to store information associated to the current Context. It can be a SimpleContextVariable, storing a primitive type value, or a DataContextVariable, referencing a DataBinding. Attributes • scope : ContextVariableScope – scope of the ContextVariable. Association Ends • context [1] : Context – Context within which the ContextVariable is relevant. 8.3.18Class DataContextVariable Abstract: No Generalization: • ContextVariable Description DataContextVariable allows to associate a DataBinding to the current Context. Association Ends • dataBinding [1]: DataBinding - Reference to the DomainModel concept used as ContextVariable. 8.3.44 Class SimpleContextVariable Abstract: No Generalization: • ValueSpecification Description SimpleContextVariable is a typed name-value pair that can be associated to the current Context. Allowed types are the primitive ones. 8.2.2Enumeration ContextVariableScope Description Enumeration specifying the different scope levels for ContextVariables.Literals • ApplicationScope: Scope of the ContextVariable is the application • SessionScope: Scope of the ContextVariable is the user session • ViewContainerScope: Scope of the ContextVariable is the ViewContainer (for instance, the Web page or the window) Added new association end in Clause 8.3.17 DataBinding: • dataContextVariable [0..*]: DataContextVariable – reference to the ContextVariable that makes use of the DataBinding. Figure 13 replaced with this one: Added new sentence at the end of Clause 8.1.9 Context: ContextVariables can be associated to the Context to store primitive values (SimpleContextVariable) or objects (DataContextVariable) that store the state of the system in the current context. Actions taken: October 30, 2013: received issue July 15, 2014: closed issue Discussion: End of Annotations:===== m: webmaster@omg.org Date: 30 Oct 2013 03:59:48 -0500 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: context variables Nature: Revision Severity: Minor CODE: 3TMw8 B1: Report Issue Remote Name: nat1.como.polimi.it Remote User: HTTP User Agent: Mozilla/5.0 (compatible; MSIE 10.0; Windows NT 6.2; WOW64; Trident/6.0; MALNJS) Time: 03:59 AM Description: Context: context variables are pointers to the corresponding element in the data model.