wt.visitor
Class ReverseOccurrencedConfigSpecNodeExpander

java.lang.Object
  extended by wt.visitor.ConfigSpecNodeExpander
      extended by wt.visitor.ReverseOccurrencedConfigSpecNodeExpander
All Implemented Interfaces:
Serializable, NodeExpander

public class ReverseOccurrencedConfigSpecNodeExpander
extends ConfigSpecNodeExpander
implements Serializable

This ConfigSpecNodeExpander class uses the Struct Service and a ConfigSpec to implement the expand operation. The node is assumed to be an Iteration and the "used by" link is navigated. It also takes into account occurrences.

Supported API: true

Extendable: false

See Also:
ConfigSpec, StructService, Serialized Form

Constructor Summary
ReverseOccurrencedConfigSpecNodeExpander(WTProductConfiguration a_Configuration)
          Constructs an instance.
 
Method Summary
 void expandNode(Persistable parentNode, Vector links, Vector nodes)
          Expands the node returning all of the links and nodes associated with the parent node.
 
Methods inherited from class wt.visitor.ConfigSpecNodeExpander
getConfigSpec, setConfigSpec
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ReverseOccurrencedConfigSpecNodeExpander

public ReverseOccurrencedConfigSpecNodeExpander(WTProductConfiguration a_Configuration)
                                         throws WTException,
                                                WTPropertyVetoException
Constructs an instance.

Supported API: true

Parameters:
a_Configuration -
Throws:
WTException
WTPropertyVetoException
Method Detail

expandNode

public void expandNode(Persistable parentNode,
                       Vector links,
                       Vector nodes)
                throws WTException
Expands the node returning all of the links and nodes associated with the parent node.

Supported API: true

Specified by:
expandNode in interface NodeExpander
Overrides:
expandNode in class ConfigSpecNodeExpander
Parameters:
parentNode -
links -
nodes -
Throws:
WTException