[MOBY-l] one more question

Edward Kawas edward.kawas at gmail.com
Mon Feb 4 23:54:55 UTC 2008


getAllChildren() gets only HAS/HASA relationships.

To get ISA relationships, you may have to recursively call getParent() on
the datatype until you hit Object.

Eddie 

-----Original Message-----
From: moby-l-bounces at lists.open-bio.org
[mailto:moby-l-bounces at lists.open-bio.org] On Behalf Of maliha aziz
Sent: January-31-08 4:47 PM
To: moby-l at biomoby.org
Subject: [MOBY-l] one more question

sorry for bombarding you with questions but i really need to find out the
answers  the function getAllChildren()... 

MobyRelationship[] dt=dttyp[countz].getAllChildren();

does it return children of all relation types or just HAS HASA... i know itz
written tht itz only HAS HASA types are returned but just wanted to confirm
and if I want to obtain children with ISA relationships which function shud
i use???

thnks

maliha



       
---------------------------------
Looking for last minute shopping deals?  Find them fast with Yahoo! Search.
_______________________________________________
moby-l mailing list
moby-l at lists.open-bio.org
http://lists.open-bio.org/mailman/listinfo/moby-l




More information about the moby-l mailing list