Links are not objects in the Ptolemy II abstract syntax.
Relations are objects...

Relations contain a list of references to ports that they
are linked to, and the ports contain a list of the relations
that they are linked to.

Edward

At 02:25 PM 2/15/2006, Chad Berkley wrote:
Hi,

I'm trying to find a programatic way to access the links that are
contained in a composite.  The only method I see that kind of does this
is CompositeEntity.exportLinks() which just returns a string moml
description of the links, but no objects.  Is there a way to get an
object representation of links?

thanks,
chad
_______________________________________________
Kepler-dev mailing list
[EMAIL PROTECTED]
http://mercury.nceas.ucsb.edu/ecoinformatics/mailman/listinfo/kepler-dev

------------
Edward A. Lee
Professor, Chair of the EE Division, Associate Chair of EECS
231 Cory Hall, UC Berkeley, Berkeley, CA 94720
phone: 510-642-0253 or 510-642-0455, fax: 510-642-2845
[EMAIL PROTECTED], http://ptolemy.eecs.berkeley.edu/~eal

----------------------------------------------------------------------------
Posted to the ptolemy-hackers mailing list.  Please send administrative
mail for this list to: [EMAIL PROTECTED]

Reply via email to