[great-users] Editing the GME registry in GReAT

Sandeep Neema sandeep at isis.vanderbilt.edu
Wed Sep 29 18:00:50 CDT 2004


Matt,

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 -

 

Thanks,

Sandeep

 

 

--

Sandeep Neema

Research Scientist,

Institute of Software Integrated Systems, Vanderbilt University

Phone: 615-343-9996

Email: sandeep.k.neema at vanderbilt.edu

-----Original Message-----
From: great-users-bounces at list.isis.vanderbilt.edu
[mailto:great-users-bounces at list.isis.vanderbilt.edu] On Behalf Of
Matthew J. Emerson
Sent: Wednesday, September 29, 2004 4:43 PM
To: great-users
Subject: RE: [great-users] Editing the GME registry in GReAT

 

*       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.

 

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?

 

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?

 

-----Original Message-----
From: great-users-bounces at list.isis.vanderbilt.edu
[mailto:great-users-bounces at list.isis.vanderbilt.edu] On Behalf Of
Sandeep Neema
Sent: Tuesday, September 28, 2004 7:34 PM
To: great-users
Subject: RE: [great-users] Editing the GME registry in GReAT

 

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.

 

Sandeep

 

 

--

Sandeep Neema

Research Scientist,

Institute of Software Integrated Systems, Vanderbilt University

Phone: 615-343-9996

Email: sandeep.k.neema at vanderbilt.edu

-----Original Message-----
From: great-users-bounces at list.isis.vanderbilt.edu
[mailto:great-users-bounces at list.isis.vanderbilt.edu] On Behalf Of
Aditya Agrawal
Sent: Tuesday, September 28, 2004 4:39 PM
To: great-users
Subject: Re: [great-users] Editing the GME registry in GReAT

 


Mat wrote on 09/28/2004 05:30:01 PM:

> I want to edit the GME registries of some objects I am creating in a
> GReAT transformation by adding in some new key-value pairs.  Is it 
> possible to do this in the attribute mapping using the UDM API?  I 
> can't find any methods in the UDM documentation to edit GME registry
entries.

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. 

Thanks, 
Adi

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://list.isis.vanderbilt.edu/pipermail/great-users/attachments/20040929/96d26f06/attachment.htm


More information about the great-users mailing list