Intuit Inc.
METHOD AND SYSTEM FOR TRAVERSING AN OBJECT GRAPH USING TRAVERSAL CONTEXT OBJECTS

Last updated:

Abstract:

Certain aspects of the present disclosure provide techniques for enumerating relationships in an object graph using traversal context objects that are decoupled from the implementation details of an object graph and the objects stored therein. An example method generally includes receiving a request to traverse an object graph, the object graph including a plurality of objects. A root context object is generated, and a traversal context object associated with a root node of the object graph is generated. The traversal context object is linked to the root context object and added to a traversal data structure. The graph is traversed by adding and removing traversal context objects to and from the traversal data structure until a terminating event occurs.

Status:
Application
Type:

Utility

Filling date:

21 May 2020

Issue date:

25 Nov 2021