<div dir="ltr"><div>IterationPayloadManager manages getting/setting of the current iteration payload (e.g. the current  cursor as you called it.)  </div><div><br></div><div>IterationSelectionManager provides access to the specified selection variable (e.g. something that was selected via GraphSearchConditionBuilder (this name was initially &quot;Selection&quot; and we probably need to think about changing the name to something else)</div>
<div><br></div><div>Regarding renaming SelectionFactory. I don&#39;t really like the name VarStack, but I am open to suggestions. I think in looking at it again, it might even need to be split into two types: &quot;SelectionVariableStack&quot; or &quot;IterationPayloadContext&quot;, because SelectionFactory currently does both of those things, and they could actually be separate.</div>
<div><br></div><div>~Lincoln</div><div></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Jun 25, 2014 at 12:19 AM, Ondrej Zizka <span dir="ltr">&lt;<a href="mailto:ozizka@redhat.com" target="_blank">ozizka@redhat.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class=""><br>
On 25.6.2014 04:58, Ondrej Zizka wrote:<br>
&gt; Hi,<br>
&gt;<br>
&gt; what&#39;s the purpose of having IterationSelectionManager and<br>
&gt; IterationPayloadManager?<br>
&gt; I can only see Named~ and TypedNamed.<br>
&gt; Wouldn&#39;t a simple method overload in SelectionFactory be enough for just<br>
&gt; giving the option of type checking?<br>
&gt; Or do we assume some other use case for that?<br>
&gt; Also, the names don&#39;t fit - it&#39;s not manager, rather some kind of<br>
&gt; filter, or getter.<br>
</div>Regarding IterationSelectionManager, it looks like it was created for<br>
the Gremlin query API, which is  based on Iteration as it assumes it<br>
needs some initial vertices.<br>
True?<br>
<div class="HOEnZb"><div class="h5"><br>
&gt;<br>
&gt; Also, how about splitting SelectionFactory to VarStack and<br>
&gt; CurrentPayloadManager? The variable stack and &quot;current payload&quot; seem to<br>
&gt; be related only indirectly, by concept - at least in the current<br>
&gt; implementation.<br>
&gt;<br>
&gt; And lastly, I&#39;d rename &quot;current payload&quot; to something like &quot;cursor&quot;<br>
&gt; (resembling DB result iteration) or &quot;current item&quot; or &quot;current element&quot;<br>
&gt; (which is how XSLT refers to iterated nodes). Payload rather evokes that<br>
&gt; there&#39;s some wrapper around it, which is not.<br>
&gt;<br>
&gt; Thanks,<br>
&gt; Ondra<br>
&gt; _______________________________________________<br>
&gt; windup-dev mailing list<br>
&gt; <a href="mailto:windup-dev@lists.jboss.org">windup-dev@lists.jboss.org</a><br>
&gt; <a href="https://lists.jboss.org/mailman/listinfo/windup-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/windup-dev</a><br>
<br>
_______________________________________________<br>
windup-dev mailing list<br>
<a href="mailto:windup-dev@lists.jboss.org">windup-dev@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/windup-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/windup-dev</a><br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br>Lincoln Baxter, III<br><a href="http://ocpsoft.org" target="_blank">http://ocpsoft.org</a><br>&quot;Simpler is better.&quot;
</div>