Class FlowDownModuleStoreIterator

java.lang.Object
   |
   +----java.util.VectorIterator
           |
           +----ModuleStoreIterator
                   |
                   +----FlowDownModuleStoreIterator

class FlowDownModuleStoreIterator
extends ModuleStoreIterator
FlowDownModuleStoreIterator is one of three classes that can be used to walk (depth first) through a network of modules. This class uses the action method on modules of this StoreIterator and proceeds to underlaying modules via the outconnectors by using the FlowDownOutConnectorStoreIterator.

See Also:
FlowDownOutConnectorStoreIterator, FlowDownConnectionStoreIterator, Module

Variable Index

 o flowDown
The flowDown object contains the specific methods that will be run when the action method is run from the action method defined in this class.

Constructor Index

 o FlowDownModuleStoreIterator(FlowIteration)

Method Index

 o action(Module)
In action the followAction method is run on all modules that fulfil the module PreCondition.

Variables

 o flowDown
 private FlowIteration flowDown
The flowDown object contains the specific methods that will be run when the action method is run from the action method defined in this class.

See Also:
FlowIteration, action

Constructors

 o FlowDownModuleStoreIterator
 FlowDownModuleStoreIterator(FlowIteration fd)
Parameters:
fd - The flowDown object contains the specific functions that will be run on each module. They will have to be passed on to the other FlowDown... Iterators in order to be known every time this class is used. They must be known in the action method of this class. (A less beautifull solution would have been to make the flowDown variable static.)
See Also:
FlowDown, action

Methods

 o action
 public void action(Module m)
In action the followAction method is run on all modules that fulfil the module PreCondition. Go to the next underlaying modules (via the out connectors of this module) when the modulePostCondition is fulfilled.

Overrides:
action in class ModuleStoreIterator
See Also:
FlowDownOutConnectorStoreIterator, FlowIteration