[great-users] matching archetypes

Attila Vizhanyo viza at isis.vanderbilt.edu
Thu May 5 12:08:09 CDT 2005


>Is it also possible to pass objects to an output port of a GReAT rule
from within an Attribute Mapping block?
No. You can't do that. You can pass along model objects found by the
pattern matcher only. 
You can specify a pattern only using classes and relations specified in
the UML class diagram of your domain(s)..
 

	-----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: Thursday, May 05, 2005 11:02
	To: great-users
	Subject: [great-users] matching archetypes
	
	

	I would like to construct a GReAT rule which takes as input a
class and then if the input is a GME type-instance outputs the
instance's archetype using the normal GReAT data flow ports. Then, in a
rule further downstream, I could bind to the archetype and do things
with it.

	 

	I know that it's possible to find the archetype of a GME
type-instance using the UDM APIs in side of an AttributeMapping block.
Is it also possible to pass objects to an output port of a GReAT rule
from within an Attribute Mapping block?

	 

	Matt Emerson

	ISIS-Vanderbilt University

	 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://list.isis.vanderbilt.edu/pipermail/great-users/attachments/20050505/4114e6bc/attachment.htm


More information about the great-users mailing list