com.oakgrovesystems.reactor.client
Class ProcessNavigator

java.lang.Object
  |
  +--com.oakgrovesystems.reactor.client.ProcessNavigator

public class ProcessNavigator
extends java.lang.Object


Field Summary
protected  java.util.Map objectMap
           
 
Constructor Summary
ProcessNavigator()
           
ProcessNavigator(java.util.Map objectMap)
           
 
Method Summary
 java.util.Set getDescendantAssociations(com.oakgrovesystems.reactor.ReactorObjectId processId)
          Returns a Set of ReactorObjectIds for all descendant objects using ReactorObjectId.dereference(Process.class, map) to descend the descendant tree.
 java.util.Set getDescendantProcesses(com.oakgrovesystems.reactor.ReactorObjectId processId)
          Returns a Set of ReactorObjectIds for all descendant processes using ReactorObjectId.dereference(Process.class, map) to descend the descendant tree.
 java.util.Map getObjectMap()
           
 java.util.Set getSiblings(com.oakgrovesystems.reactor.ReactorObjectId processId)
          Gets the siblings by calling parent.dereference(Process.class, map) Returns ReactorObjectIds for this object's siblings Returns null if parent==null.
 void setObjectMap(java.util.Map objectMap)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

objectMap

protected java.util.Map objectMap
Constructor Detail

ProcessNavigator

public ProcessNavigator()

ProcessNavigator

public ProcessNavigator(java.util.Map objectMap)
Method Detail

setObjectMap

public void setObjectMap(java.util.Map objectMap)

getObjectMap

public java.util.Map getObjectMap()

getDescendantProcesses

public java.util.Set getDescendantProcesses(com.oakgrovesystems.reactor.ReactorObjectId processId)
                                     throws ObjectDereferencingException
Returns a Set of ReactorObjectIds for all descendant processes using ReactorObjectId.dereference(Process.class, map) to descend the descendant tree. Throws an ObjectDereferencingException if the lookup of a decendant process fails. Throws IllegalArgumentException if ReactorObjectId is null.

ObjectDereferencingException

getDescendantAssociations

public java.util.Set getDescendantAssociations(com.oakgrovesystems.reactor.ReactorObjectId processId)
                                        throws ObjectDereferencingException
Returns a Set of ReactorObjectIds for all descendant objects using ReactorObjectId.dereference(Process.class, map) to descend the descendant tree. Throws an ObjectDereferencingException if the lookup of a decendant process fails. Throws IllegalArgumentException if ReactorObjectId is null.

ObjectDereferencingException

getSiblings

public java.util.Set getSiblings(com.oakgrovesystems.reactor.ReactorObjectId processId)
                          throws ObjectDereferencingException
Gets the siblings by calling parent.dereference(Process.class, map) Returns ReactorObjectIds for this object's siblings Returns null if parent==null. Returns empty set if only child. Throws IllegalArgumentException if ReactorObjectId is null. Throws ObjectDereferencingException if dereferencing of parent fails.

ObjectDereferencingException


Copyright (c) 1999-2004 Oak Grove Systems. All Rights Reserved.