[gme-users] Re: Traversing model

Adi Mallikarjuna Reddy V adimallikarjunareddy at gmail.com
Mon Oct 23 23:09:11 CDT 2006


Is anyone in the list know about the following problem.



1. Hashtable outConne= atomNames[i].getOutConnections();

2. Vector list = (Vector)outConne.get(atomName[i]);
Are the above statements correct?
I am getting null in the 2 statement. Is it the right way to access the
hashtable list?

Regards
Adi

On 10/21/06, Adi Mallikarjuna Reddy V <adimallikarjunareddy at gmail.com>
wrote:
>
> Hi all,
> I got API that I required to traverse the model. But I am facing some
> problems. When I tried accessing Connections (In and Out) of an Object
> (Atom, Model), I am getting null as a result. I tried the following APIs
>
> getOutConnections(String name) one which returns Vector
> getOutConnections() one which returns Hashtable
>
> this two functions I tried using the instance of (JBuilderAtom or
> JBuilderModel).
>
> I would be helpful if you can help me in this regard.
>
>
> Regards
> Adi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://list.isis.vanderbilt.edu/pipermail/gme-users/attachments/20061023/22178b97/attachment.htm


More information about the gme-users mailing list