Hi All.

I have a scenario where I am stuck on trying to search within arrays of objects.

Here is the scenario:

We have three objects: Entity, Process, and Employee

An entity contains an array of sub-entities (itself), and an array of
processes, and processes contains an array of employees. For each
instance (document) there is one entity called globalEntity (that
contains an array of sub-entities).

Here's the challenge, when a user clicks a button to add an entity, a
process, or an employee, we need to search the globalEntity for the
clicked node's parent entity. What is the alogrithm for this search?
Sample code would be a big bonus.

Thanks alot.
--
Kirt Cathey
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to