com.sri.emo.commandline
Interface NodeTracker

All Known Implementing Classes:
InMemoryNodeTracker

public interface NodeTracker

Tracks which nodes have been duplicated.

Author:
Michael Rimov

Method Summary
 boolean isObjectVisited(DBObject dbobj)
          Checks to see if a given node has been visited.
 void markObjectAsVisited(DBObject dbobj)
          Adds the dbobject class and id into internal storage that prevents duplication.
 

Method Detail

isObjectVisited

boolean isObjectVisited(DBObject dbobj)
                        throws DBException
Checks to see if a given node has been visited.

Returns:
true if object was visited
Throws:
DBException

markObjectAsVisited

void markObjectAsVisited(DBObject dbobj)
                         throws DBException
Adds the dbobject class and id into internal storage that prevents duplication.

Throws:
DBException


Copyright © 2004-2006 Codeguild, Inc.. All Rights Reserved.