<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to EMFQueryProcessor</title><link>https://sourceforge.net/p/emftrace/wiki/EMFQueryProcessor/</link><description>Recent changes to EMFQueryProcessor</description><atom:link href="https://sourceforge.net/p/emftrace/wiki/EMFQueryProcessor/feed" rel="self"/><language>en</language><lastBuildDate>Mon, 17 Sep 2012 15:00:26 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/emftrace/wiki/EMFQueryProcessor/feed" rel="self" type="application/rss+xml"/><item><title>WikiPage EMFQueryProcessor modified by Radu Comaneci</title><link>https://sourceforge.net/p/emftrace/wiki/EMFQueryProcessor/</link><description>&lt;pre&gt;--- v23
+++ v24
@@ -30,7 +30,8 @@
     results.get(0);    //returns the first tuple of elements
     results.get(0).getElements();    //returns the list of elements which represents the tuple
     results.get(0).getElements().get(0);    //returns the first element from the first tuple
-    results.get(0).getElements().get(0).getName();    //returns the alias of the first element
+    results.get(0).getElements().get(0).getName();    //returns the name of the first element as specified in the rule
+    results.get(0).getElements().get(0).getAlias();    //returns the alias of the first element as specified in the rule
     results.get(0).getElements().get(0).getContent();    //returns the EObject which is stored in the first element of the first tuple
 
 
&lt;/pre&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Radu Comaneci</dc:creator><pubDate>Mon, 17 Sep 2012 15:00:26 -0000</pubDate><guid>https://sourceforge.net251ee1ec448c3d751e05c8ed65cf85cd9c4387bf</guid></item><item><title>WikiPage EMFQueryProcessor modified by Radu Comaneci</title><link>https://sourceforge.net/p/emftrace/wiki/EMFQueryProcessor/</link><description>&lt;pre&gt;--- v22
+++ v23
@@ -39,6 +39,10 @@
 An important component of EMFQueryProcessor is TuplesProcessor. This is responsible for generating the tuples which are sent as input to the query. The query iterates over these tuples, aplies the condition and reveals the results. 
 Normally, a TuplesProcessor object cannot be instantiated manually. It is part of the EMFQueryProcessor. However, if you really need to generate tuples based on a rule definition you can instantiate it using the following commands:
 
+    List&lt;EMFQueryElement&gt; tuples;
+    TuplesProcessor tuplesProcessor = new TuplesProcessor(accessLayer, project);
+    tuples = tuplesProcessor.run(elementsFromRepository);
+
 
 The tuples processor returns a list of EMFQueryElement objects which represents the tuples of meta models from the EMFStore repository. The elements from this list can be accessed the same as the elements from the list of results since the structure of lists is the same (see the above section). 
 For the following ElementDefinition objects from a rule:
@@ -57,4 +61,3 @@
 &lt;b&gt;ConditionsProcessor&lt;/b&gt;
 
 ConditionsProcessor is another component which is part of EMFQueryProcessor. It is responsible for generating the EObjectCondition based on the LogicCondition object from the rule definition. 
-
&lt;/pre&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Radu Comaneci</dc:creator><pubDate>Mon, 10 Sep 2012 13:54:43 -0000</pubDate><guid>https://sourceforge.netd92705cccb4b797b1324aee42fed26e54e7766c4</guid></item><item><title>WikiPage EMFQueryProcessor modified by Radu Comaneci</title><link>https://sourceforge.net/p/emftrace/wiki/EMFQueryProcessor/</link><description>&lt;pre&gt;--- v21
+++ v22
@@ -54,5 +54,7 @@
 
 where Class, Parameter and Function are all possible combinations of meta models from the EMFStore repository. 
 
+&lt;b&gt;ConditionsProcessor&lt;/b&gt;
 
+ConditionsProcessor is another component which is part of EMFQueryProcessor. It is responsible for generating the EObjectCondition based on the LogicCondition object from the rule definition. 
 
&lt;/pre&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Radu Comaneci</dc:creator><pubDate>Tue, 28 Aug 2012 14:54:05 -0000</pubDate><guid>https://sourceforge.net423001b55e7ad709c437686a78bf10bf9cd41386</guid></item><item><title>WikiPage EMFQueryProcessor modified by Radu Comaneci</title><link>https://sourceforge.net/p/emftrace/wiki/EMFQueryProcessor/</link><description>&lt;pre&gt;--- v20
+++ v21
@@ -33,6 +33,7 @@
     results.get(0).getElements().get(0).getName();    //returns the alias of the first element
     results.get(0).getElements().get(0).getContent();    //returns the EObject which is stored in the first element of the first tuple
 
+
 &lt;b&gt;TuplesProcessor&lt;/b&gt;
 
 An important component of EMFQueryProcessor is TuplesProcessor. This is responsible for generating the tuples which are sent as input to the query. The query iterates over these tuples, aplies the condition and reveals the results. 
&lt;/pre&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Radu Comaneci</dc:creator><pubDate>Tue, 28 Aug 2012 14:49:59 -0000</pubDate><guid>https://sourceforge.net96679c7cdb1add9af163f8c781118e89d03ed1a8</guid></item><item><title>WikiPage EMFQueryProcessor modified by Radu Comaneci</title><link>https://sourceforge.net/p/emftrace/wiki/EMFQueryProcessor/</link><description>&lt;pre&gt;--- v19
+++ v20
@@ -40,14 +40,18 @@
 
 
 The tuples processor returns a list of EMFQueryElement objects which represents the tuples of meta models from the EMFStore repository. The elements from this list can be accessed the same as the elements from the list of results since the structure of lists is the same (see the above section). 
-For the following ElementDefinition objects inside of a rule:
+For the following ElementDefinition objects from a rule:
 
     &lt;Rule RuleID="RULE001"&gt;
       &lt;Element Type="Class" Alias="e1"/&gt;
       &lt;Element Type="Parameter" Alias="e2"/&gt;
       &lt;Element Type="Function" Alias="e3"/&gt;
 
-sdfsfs
+the TupleProcesor would generate a list of EMFQueryElement objects with the following structure:
+
+    results = [Class, Parameter, Function]
+
+where Class, Parameter and Function are all possible combinations of meta models from the EMFStore repository. 
 
 
 
&lt;/pre&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Radu Comaneci</dc:creator><pubDate>Tue, 28 Aug 2012 14:49:42 -0000</pubDate><guid>https://sourceforge.net59ac6d2d21f4b7d96461c5616b01c2e2f4d2e8c0</guid></item><item><title>WikiPage EMFQueryProcessor modified by Radu Comaneci</title><link>https://sourceforge.net/p/emftrace/wiki/EMFQueryProcessor/</link><description>&lt;pre&gt;--- v18
+++ v19
@@ -40,6 +40,14 @@
 
 
 The tuples processor returns a list of EMFQueryElement objects which represents the tuples of meta models from the EMFStore repository. The elements from this list can be accessed the same as the elements from the list of results since the structure of lists is the same (see the above section). 
+For the following ElementDefinition objects inside of a rule:
+
+    &lt;Rule RuleID="RULE001"&gt;
+      &lt;Element Type="Class" Alias="e1"/&gt;
+      &lt;Element Type="Parameter" Alias="e2"/&gt;
+      &lt;Element Type="Function" Alias="e3"/&gt;
+
+sdfsfs
 
 
 
&lt;/pre&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Radu Comaneci</dc:creator><pubDate>Tue, 28 Aug 2012 14:47:17 -0000</pubDate><guid>https://sourceforge.net0d41f2373e32f3a71798f03b7fa0400a2eb28fb3</guid></item><item><title>WikiPage EMFQueryProcessor modified by Radu Comaneci</title><link>https://sourceforge.net/p/emftrace/wiki/EMFQueryProcessor/</link><description>&lt;pre&gt;--- v17
+++ v18
@@ -39,7 +39,7 @@
 Normally, a TuplesProcessor object cannot be instantiated manually. It is part of the EMFQueryProcessor. However, if you really need to generate tuples based on a rule definition you can instantiate it using the following commands:
 
 
-The tuples processor returns a list of EMFQueryElement objects which represents the tuples of meta models from the EMFStore repository. The way the elements from this list can be accessed is the same as the way the list of results can be accessed (see the above section). 
+The tuples processor returns a list of EMFQueryElement objects which represents the tuples of meta models from the EMFStore repository. The elements from this list can be accessed the same as the elements from the list of results since the structure of lists is the same (see the above section). 
 
 
 
&lt;/pre&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Radu Comaneci</dc:creator><pubDate>Tue, 28 Aug 2012 14:43:16 -0000</pubDate><guid>https://sourceforge.net66c4a46bc47549676b3d533f54b9ac8de8bfd503</guid></item><item><title>WikiPage EMFQueryProcessor modified by Radu Comaneci</title><link>https://sourceforge.net/p/emftrace/wiki/EMFQueryProcessor/</link><description>&lt;pre&gt;--- v16
+++ v17
@@ -36,7 +36,9 @@
 &lt;b&gt;TuplesProcessor&lt;/b&gt;
 
 An important component of EMFQueryProcessor is TuplesProcessor. This is responsible for generating the tuples which are sent as input to the query. The query iterates over these tuples, aplies the condition and reveals the results. 
-Normally, a TuplesProcessor object cannot be instantiated manually. It is part of the EMFQueryProcessor. However, if you really need to generate tuples based on a rule definition you can instantiate it. 
+Normally, a TuplesProcessor object cannot be instantiated manually. It is part of the EMFQueryProcessor. However, if you really need to generate tuples based on a rule definition you can instantiate it using the following commands:
+
+
 The tuples processor returns a list of EMFQueryElement objects which represents the tuples of meta models from the EMFStore repository. The way the elements from this list can be accessed is the same as the way the list of results can be accessed (see the above section). 
 
 
&lt;/pre&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Radu Comaneci</dc:creator><pubDate>Tue, 28 Aug 2012 14:42:12 -0000</pubDate><guid>https://sourceforge.netd590a5a021b7847e396e417a3a132626c1c082ad</guid></item><item><title>WikiPage EMFQueryProcessor modified by Radu Comaneci</title><link>https://sourceforge.net/p/emftrace/wiki/EMFQueryProcessor/</link><description>&lt;pre&gt;--- v15
+++ v16
@@ -33,5 +33,11 @@
     results.get(0).getElements().get(0).getName();    //returns the alias of the first element
     results.get(0).getElements().get(0).getContent();    //returns the EObject which is stored in the first element of the first tuple
 
+&lt;b&gt;TuplesProcessor&lt;/b&gt;
+
+An important component of EMFQueryProcessor is TuplesProcessor. This is responsible for generating the tuples which are sent as input to the query. The query iterates over these tuples, aplies the condition and reveals the results. 
+Normally, a TuplesProcessor object cannot be instantiated manually. It is part of the EMFQueryProcessor. However, if you really need to generate tuples based on a rule definition you can instantiate it. 
+The tuples processor returns a list of EMFQueryElement objects which represents the tuples of meta models from the EMFStore repository. The way the elements from this list can be accessed is the same as the way the list of results can be accessed (see the above section). 
 
 
+
&lt;/pre&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Radu Comaneci</dc:creator><pubDate>Tue, 28 Aug 2012 14:41:26 -0000</pubDate><guid>https://sourceforge.netd9a3281c6b98e178a580e441d11fb4be7c394c1a</guid></item><item><title>WikiPage EMFQueryProcessor modified by Radu Comaneci</title><link>https://sourceforge.net/p/emftrace/wiki/EMFQueryProcessor/</link><description>&lt;pre&gt;--- v14
+++ v15
@@ -6,7 +6,7 @@
 * Actions - which are represented as a list of ActionDefinition objects
 * Conditions - which are represented as a LogicCondition object
 
-However, EFMQueryProcessor doesn't crash and works even if the rule that is received doesn't contain all of this fields. But for getting the desired results you should specify all of these tree fields. 
+However, EFMQueryProcessor doesn't crash and works even if the rule that is received doesn't contain all of this fields. But for getting the desired results you should specify all of these three fields. 
 
 &lt;b&gt;Requirements and restrictions:&lt;/b&gt;
 
&lt;/pre&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Radu Comaneci</dc:creator><pubDate>Tue, 28 Aug 2012 14:35:44 -0000</pubDate><guid>https://sourceforge.netc2dbfea464d4b419952c0fe2a5cb0bb686dfeab7</guid></item></channel></rss>