<html>
<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 10 (filtered)">
<style>
<!--
/* Font Definitions */
@font-face
        {font-family:Wingdings;
        panose-1:5 0 0 0 0 0 0 0 0 0;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline;}
p.MsoAutoSig, li.MsoAutoSig, div.MsoAutoSig
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
tt
        {font-family:"Courier New";}
span.emailstyle18
        {font-family:Arial;
        color:navy;}
span.emailstyle20
        {font-family:Arial;
        color:navy;}
span.EmailStyle21
        {font-family:Arial;
        color:navy;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
        {page:Section1;}
-->
</style>
</head>
<body lang=EN-US link=blue vlink=purple>
<div class=Section1>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Matt,</span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>After hand-editing the UML diagram, the
registry attributes can be treated just like normal attributes. I have used
that mechanism. However, I am not sure about dynamically creating varying
number of registry nodes. Perhaps, Endre could guide you better on that –</span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'> </span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Thanks,</span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Sandeep</span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'> </span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'> </span></font></p>
<div>
<p class=MsoAutoSig><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>--</span></font></p>
<p class=MsoAutoSig><font size=3 color=navy face="Times New Roman"><span
style='font-size:12.0pt;color:navy'>Sandeep Neema</span></font></p>
<p class=MsoAutoSig><font size=3 color=navy face="Times New Roman"><span
style='font-size:12.0pt;color:navy'>Research Scientist,</span></font></p>
<p class=MsoAutoSig><font size=3 color=navy face="Times New Roman"><span
style='font-size:12.0pt;color:navy'>Institute</span></font><font color=navy><span
style='color:navy'> of </span></font><font color=navy><span style='color:navy'>Software</span></font><font
color=navy><span style='color:navy'> Integrated Systems, </span></font><font
color=navy><span style='color:navy'>Vanderbilt</span></font><font color=navy><span
style='color:navy'> </span></font><font color=navy><span style='color:navy'>University</span></font></p>
<p class=MsoAutoSig><font size=3 color=navy face="Times New Roman"><span
style='font-size:12.0pt;color:navy'>Phone: 615-343-9996</span></font></p>
<p class=MsoAutoSig><font size=3 color=navy face="Times New Roman"><span
style='font-size:12.0pt;color:navy'>Email: <a
href="mailto:sandeep.k.neema@vanderbilt.edu">sandeep.k.neema@vanderbilt.edu</a></span></font></p>
</div>
<p class=MsoNormal style='margin-left:.5in'><font size=2 face=Tahoma><span
style='font-size:10.0pt;font-family:Tahoma'>-----Original Message-----<br>
<b><span style='font-weight:bold'>From:</span></b> </span></font><font size=2
face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma'>great-users</span></font><font
size=2 face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma'>-bounces@list.isis.vanderbilt.edu
[mailto:</span></font><font size=2 face=Tahoma><span style='font-size:10.0pt;
font-family:Tahoma'>great-users</span></font><font size=2 face=Tahoma><span
style='font-size:10.0pt;font-family:Tahoma'>-bounces@list.isis.vanderbilt.edu] <b><span
style='font-weight:bold'>On Behalf Of </span></b>Matthew J. Emerson<br>
<b><span style='font-weight:bold'>Sent:</span></b> Wednesday, September 29,
2004 4:43 PM<br>
<b><span style='font-weight:bold'>To:</span></b> </span></font><font size=2
face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma'>great-users</span></font><font
size=2 face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma'><br>
<b><span style='font-weight:bold'>Subject:</span></b> RE: [</span></font><font
size=2 face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma'>great-users</span></font><font
size=2 face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma'>] Editing
the GME registry in GReAT</span></font></p>
<p class=MsoNormal style='margin-left:.5in'><font size=3 face="Times New Roman"><span
style='font-size:12.0pt'> </span></font></p>
<p class=MsoNormal style='margin-left:1.0in;text-indent:-.25in'><font size=2
color=navy face=Wingdings><span style='font-size:10.0pt;font-family:Wingdings;
color:navy'>Ø</span></font><font size=1 color=navy><span style='font-size:7.0pt;
color:navy'> </span></font><font size=2
color=navy face=Arial><span style='font-size:10.0pt;font-family:Arial;
color:navy'>As far as I recall, in the UML diagram you can prefix an attribute
with the “registry” keyword (similar to the
“volatile”). </span></font></p>
<p class=MsoNormal style='margin-left:1.0in;text-indent:-.25in'><font size=2
color=navy face=Wingdings><span style='font-size:10.0pt;font-family:Wingdings;
color:navy'>Ø</span></font><font size=1 color=navy><span style='font-size:7.0pt;
color:navy'> </span></font><font size=2
color=navy face=Arial><span style='font-size:10.0pt;font-family:Arial;
color:navy'>That causes the attribute to be persisted in the GME registry.</span></font></p>
<p class=MsoNormal style='margin-left:.5in'><font size=2 color=navy face=Arial><span
style='font-size:10.0pt;font-family:Arial;color:navy'> </span></font></p>
<p class=MsoNormal style='margin-left:.5in'><font size=2 color=navy face=Arial><span
style='font-size:10.0pt;font-family:Arial;color:navy'>Sandeep, how would this
look in the attribute mapping code? Do I actually hand-edit the classes
in the UML diagram of my destination metamodel to add in the registry keys
prefixed by the registry keyword, and then assign values to those keys using
the normal UDM API calls for assigning values to attributes?</span></font></p>
<p class=MsoNormal style='margin-left:.5in'><font size=2 color=navy face=Arial><span
style='font-size:10.0pt;font-family:Arial;color:navy'> </span></font></p>
<p class=MsoNormal style='margin-left:.5in'><font size=2 color=navy face=Arial><span
style='font-size:10.0pt;font-family:Arial;color:navy'>What I need to do is
create new varying numbers of registry nodes for some objects in my destination
model depending on patterns that I will match in my source model. I will
make up names for the registry keys based on the patterns as well. Is
this possible with UDM?</span></font></p>
<p class=MsoNormal style='margin-left:.5in'><font size=2 color=navy face=Arial><span
style='font-size:10.0pt;font-family:Arial;color:navy'> </span></font></p>
<p class=MsoNormal style='margin-left:1.0in'><font size=2 face=Tahoma><span
style='font-size:10.0pt;font-family:Tahoma'>-----Original Message-----<br>
<b><span style='font-weight:bold'>From:</span></b>
great-users-bounces@list.isis.vanderbilt.edu
[mailto:great-users-bounces@list.isis.vanderbilt.edu] <b><span
style='font-weight:bold'>On Behalf Of </span></b>Sandeep Neema<br>
<b><span style='font-weight:bold'>Sent:</span></b> Tuesday, September 28, 2004
7:34 PM<br>
<b><span style='font-weight:bold'>To:</span></b> great-users<br>
<b><span style='font-weight:bold'>Subject:</span></b> RE: [great-users] Editing
the GME registry in GReAT</span></font></p>
<p class=MsoNormal style='margin-left:1.0in'><font size=3 face="Times New Roman"><span
style='font-size:12.0pt'> </span></font></p>
<p class=MsoNormal style='margin-left:1.0in'><font size=2 color=navy
face=Arial><span style='font-size:10.0pt;font-family:Arial;color:navy'>As far
as I recall, in the UML diagram you can prefix an attribute with the
“registry” keyword (similar to the “volatile”). That
causes the attribute to be persisted in the GME registry.</span></font></p>
<p class=MsoNormal style='margin-left:1.0in'><font size=2 color=navy
face=Arial><span style='font-size:10.0pt;font-family:Arial;color:navy'> </span></font></p>
<p class=MsoNormal style='margin-left:1.0in'><font size=2 color=navy
face=Arial><span style='font-size:10.0pt;font-family:Arial;color:navy'>Sandeep</span></font></p>
<p class=MsoNormal style='margin-left:1.0in'><font size=2 color=navy
face=Arial><span style='font-size:10.0pt;font-family:Arial;color:navy'> </span></font></p>
<p class=MsoNormal style='margin-left:1.0in'><font size=2 color=navy
face=Arial><span style='font-size:10.0pt;font-family:Arial;color:navy'> </span></font></p>
<div>
<p class=MsoAutoSig style='margin-left:1.0in'><font size=2 color=navy
face=Arial><span style='font-size:10.0pt;font-family:Arial;color:navy'>--</span></font></p>
<p class=MsoAutoSig style='margin-left:1.0in'><font size=3 color=navy
face="Times New Roman"><span style='font-size:12.0pt;color:navy'>Sandeep Neema</span></font></p>
<p class=MsoAutoSig style='margin-left:1.0in'><font size=3 color=navy
face="Times New Roman"><span style='font-size:12.0pt;color:navy'>Research
Scientist,</span></font></p>
<p class=MsoAutoSig style='margin-left:1.0in'><font size=3 color=navy
face="Times New Roman"><span style='font-size:12.0pt;color:navy'>Institute of
Software Integrated Systems, Vanderbilt University</span></font></p>
<p class=MsoAutoSig style='margin-left:1.0in'><font size=3 color=navy
face="Times New Roman"><span style='font-size:12.0pt;color:navy'>Phone:
615-343-9996</span></font></p>
<p class=MsoAutoSig style='margin-left:1.0in'><font size=3 color=navy
face="Times New Roman"><span style='font-size:12.0pt;color:navy'>Email: <a
href="mailto:sandeep.k.neema@vanderbilt.edu">sandeep.k.neema@vanderbilt.edu</a></span></font></p>
</div>
<p class=MsoNormal style='margin-left:1.5in'><font size=2 face=Tahoma><span
style='font-size:10.0pt;font-family:Tahoma'>-----Original Message-----<br>
<b><span style='font-weight:bold'>From:</span></b>
great-users-bounces@list.isis.vanderbilt.edu
[mailto:great-users-bounces@list.isis.vanderbilt.edu] <b><span
style='font-weight:bold'>On Behalf Of </span></b>Aditya Agrawal<br>
<b><span style='font-weight:bold'>Sent:</span></b> Tuesday, September 28, 2004
4:39 PM<br>
<b><span style='font-weight:bold'>To:</span></b> great-users<br>
<b><span style='font-weight:bold'>Subject:</span></b> Re: [great-users] Editing
the GME registry in GReAT</span></font></p>
<p class=MsoNormal style='margin-left:1.5in'><font size=3 face="Times New Roman"><span
style='font-size:12.0pt'> </span></font></p>
<p class=MsoNormal style='margin-left:1.5in'><font size=3 face="Times New Roman"><span
style='font-size:12.0pt'><br>
</span></font><tt><font size=2 face="Courier New"><span style='font-size:10.0pt'>Mat
wrote on 09/28/2004 05:30:01 PM:</span></font></tt><font size=2
face="Courier New"><span style='font-size:10.0pt;font-family:"Courier New"'><br>
<br>
</span></font><tt><font size=2 face="Courier New"><span style='font-size:10.0pt'>>
I want to edit the GME registries of some objects I am creating in a</span></font></tt><font
size=2 face="Courier New"><span style='font-size:10.0pt;font-family:"Courier New"'><br>
</span></font><tt><font size=2 face="Courier New"><span style='font-size:10.0pt'>>
GReAT transformation by adding in some new key-value pairs. Is it </span></font></tt><font
size=2 face="Courier New"><span style='font-size:10.0pt;font-family:"Courier New"'><br>
</span></font><tt><font size=2 face="Courier New"><span style='font-size:10.0pt'>>
possible to do this in the attribute mapping using the UDM API? I </span></font></tt><font
size=2 face="Courier New"><span style='font-size:10.0pt;font-family:"Courier New"'><br>
</span></font><tt><font size=2 face="Courier New"><span style='font-size:10.0pt'>>
can’t find any methods in the UDM documentation to edit GME registry
entries.</span></font></tt><font size=2 face="Courier New"><span
style='font-size:10.0pt;font-family:"Courier New"'><br>
</span></font><br>
<tt><font size=2 face="Courier New"><span style='font-size:10.0pt'>Endre, you
once told me that GME registry values can be changed using UDM. I don't
remember the mechanism. Could you please tell us the procedure one again.</span></font></tt>
<br>
<br>
<tt><font size=2 face="Courier New"><span style='font-size:10.0pt'>Thanks,</span></font></tt>
<br>
<tt><font size=2 face="Courier New"><span style='font-size:10.0pt'>Adi</span></font></tt></p>
</div>
</body>
</html>