wt.graph
Class AbstractObjectGraphNode

java.lang.Object
  extended by wt.fc.WTObject
      extended by wt.graph.AbstractObjectGraphNode
All Implemented Interfaces:
Externalizable, Serializable, Cloneable, NetFactor, ObjectMappable, Persistable, wt.graph.ObjectGraphNode, DisplayIdentification, wt.util.graph.GraphNodeModel, NodeExpander

public abstract class AbstractObjectGraphNode
extends WTObject
implements wt.graph.ObjectGraphNode, Externalizable

Provides a value-add "basic" implementation of an object graph node abstraction. It wraps the object graph node factory, and extends the notion of persistability by being a type of WTObject.

This "basic" implementation can be the customizaton point of where to begin specializing. Or alternatively specialization could start at its supertype the object graph node for maximum flexibility.



Supported API: true

Extendable: false

See Also:
Serialized Form

Method Summary
 void expandNode(Persistable origin, Vector edges, Vector nodes)
          [Default implementation that] expands the node returning all of the links and nodes associated with the parent node.
 
Methods inherited from class wt.fc.WTObject
getDisplayIdentifier, getDisplayIdentity, getDisplayType
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Method Detail

expandNode

public void expandNode(Persistable origin,
                       Vector edges,
                       Vector nodes)
                throws WTException
[Default implementation that] expands the node returning all of the links and nodes associated with the parent node.

Supported API: true

Specified by:
expandNode in interface NodeExpander
Parameters:
origin -
edges -
nodes -
Throws:
WTException