[great-users] matching "any object"
Aditya Agrawal
aagrawa at us.ibm.com
Tue May 24 12:25:43 CDT 2005
Dear Tivadar,
You are right in you assessment that a MgaObject is meta specific. Thus
for each meta you will have to create a rule.
Mat's suggestion is actually quite interesting and it might do the trick.
I don't know if inheritance is supported across packages.
The Udm:Object class is the base class of all UDM objects. If we can
express this in a pattern then you should be able to match it.
Unfortunately we didn't implement anything like this either.
Sorry for not having a solution for this one.
Thanks,
Adi
-----------------------------------
Aditya Agrawal
Researcher
IBM T. J. Watson
mailto:aagrawa at us.ibm.com
+1 (914) 784-6068 (TL 863)
great-users-bounces at list.isis.vanderbilt.edu wrote on 05/24/2005 11:17:57
AM:
> I guess inside the crosslinks folder you can create a super-type for all
> of the MgaObjects from the different metas, and use the super-type in
> the generic rule.
>
> --Matt
>
> > -----Original Message-----
> > From: great-users-bounces at list.isis.vanderbilt.edu
> [mailto:great-users-
> > bounces at list.isis.vanderbilt.edu] On Behalf Of Tivadar Szemethy
> > Sent: Tuesday, May 24, 2005 10:15 AM
> > To: great-users
> > Subject: [great-users] matching "any object"
> >
> > Hi All,
> >
> > Is there a way to match "any object" in GReAT ?
> >
> > It looks like MgaObjects are meta-specific, so if I want to create a
> > generic rule, I have to create it for each MgaObject from each meta I
> have
> > in the transformation.
> > Is this observation correct ?
> >
> > What I wanted to do was to create a reusable rule to generate screen
> > coordinates (position) for my objects just created by GReAT. In this
> > context, the actual meta is irrelevant, but I still have to specify
> it.
> >
> >
> > Thanks,
> > Tivadar
> >
> > _______________________________________________
> > great-users mailing list
> > great-users at list.isis.vanderbilt.edu
> > http://list.isis.vanderbilt.edu/mailman/listinfo/great-users
>
> _______________________________________________
> great-users mailing list
> great-users at list.isis.vanderbilt.edu
> http://list.isis.vanderbilt.edu/mailman/listinfo/great-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://list.isis.vanderbilt.edu/pipermail/great-users/attachments/20050524/cb6455da/attachment.htm
More information about the great-users
mailing list