Package wt.graph

Class AbstractObjectGraphNode

java.lang.Object
wt.fc._WTObject
wt.fc.WTObject
wt.graph.AbstractObjectGraphNode
All Implemented Interfaces:
Externalizable, Serializable, Cloneable, wt.fc._NetFactor, wt.fc._ObjectMappable, wt.fc._Persistable, 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:
  • Method Details

    • 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