<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7233.28">
<TITLE>Persistent objects, also: array element setting</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/rtf format -->

<P><FONT SIZE=2 FACE="Courier New">Hello Kepler/Ptolemy people</FONT>
</P>

<P><FONT SIZE=2 FACE="Courier New">Please permit me at this time to expand to the Kepler/Ptolemy community at large the context of some questions I sent on Saturday to Christopher Brooks. </FONT></P>

<P><FONT SIZE=2 FACE="Courier New">Does anyone have a simple example of a Java class that can be used in a workflow model for persistent object data.  Is this an actor, in this case ?</FONT></P>

<P><FONT SIZE=2 FACE="Courier New">If it is possible to have such persistent data obj, how is it referenced/designated from within actors ?  Could it be referenced from within the Expression operator ? </FONT></P>

<P><FONT SIZE=2 FACE="Courier New">I guess along the same lines is the following question I have been meaning to ask for a while.  How does one set a particular (indexed) array element in an already declared array ?  I presume that this not possible due to the rule of token immutability.  Is this so ?  </FONT></P>

<P><FONT SIZE=2 FACE="Courier New">If it is not possible to set an array element, then I take it that the only way is something like:  get the subarrays that are respectively below and above the element to be set, and then use the Append array actor to create a new array from the following three arrays:</FONT></P>

<P><FONT SIZE=2 FACE="Courier New">{ E1,...,En-1 }   { En (new val) }  { En+1,...,Enmax }</FONT>
</P>

<P><FONT SIZE=2 FACE="Courier New">This is a tiny bit ugly, no ?</FONT>
</P>

<P><FONT SIZE=2 FACE="Courier New">Note that all of these questions directed to my effort to have persistent data objects (or even structures, such as an array) that are referenceable and mutable.  After all, as a workflow model becomes more complex, the necessity for keeping state information around and for accessing it grows.</FONT></P>

<P><FONT SIZE=2 FACE="Courier New">Maurice Yarrow</FONT>

<BR><FONT SIZE=2 FACE="Courier New">Nortel Networks Research Labs</FONT>

<BR><FONT SIZE=2 FACE="Courier New">Santa Clara </FONT>
</P>
<BR>
<BR>
<BR>

</BODY>
</HTML>