|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Provides a top-level abstraction of an object graph. More specifically this abstraction represents an instance-based view of related persistable objects that form an associative structure. The object graph acts as the overall container where it references the root (node) object of the structure of related objects. From the root node the structure of the object graph can span outwards and can consequently be traversed.
The object graph is composed of nodes and edges. Each node has an association to another node that is represented as an edge, which maintains the association. An edge can be either unidirectional or bidirectional. An unidirectional edge represents a type of object reference. A bidirectional edge represents a type of link.
Field Summary | |
static String |
NODE_EXPANDER
Label for the attribute. |
static String |
ROOT
Label for the attribute. |
static String |
ROOT_REFERENCE
Label for the attribute. |
static String |
VISITOR
Label for the attribute. |
static String |
WALKER_IMPL
Label for the attribute. |
Fields inherited from interface wt.fc.Persistable |
IDENTITY, PERSIST_INFO, TYPE |
Fields inherited from interface wt.graph.ObjectGraphNode |
EXCLUDED, GRAPH, ID, INFO |
Fields inherited from interface wt.util.graph.GraphNodeModel |
NEIGHBOR |
Fields inherited from interface wt.util.graph.GraphModel |
EDGE_IMPL, EDGE_LIST, NODE_IMPL, NODE_LIST |
Method Summary | |
NodeExpander |
getNodeExpander()
Gets the object for the association that plays role: NODE_EXPANDER. |
ObjectGraphNode |
getRoot()
Gets the object for the association that plays role: ROOT. |
ObjectReference |
getRootReference()
Gets the value of the attribute: ROOT_REFERENCE. |
Visitor |
getVisitor()
Gets the object for the association that plays role: VISITOR. |
ObjectGraphWalker |
getWalkerImpl()
Gets the object for the association that plays role: WALKER_IMPL. |
void |
setNodeExpander(NodeExpander a_NodeExpander)
Sets the object for the association that plays role: NODE_EXPANDER. |
void |
setRoot(ObjectGraphNode a_Root)
Sets the object for the association that plays role: ROOT. |
void |
setRootReference(ObjectReference a_RootReference)
Sets the value of the attribute: ROOT_REFERENCE. |
void |
setVisitor(Visitor a_Visitor)
Sets the object for the association that plays role: VISITOR. |
void |
setWalkerImpl(ObjectGraphWalker a_WalkerImpl)
Sets the object for the association that plays role: WALKER_IMPL. |
Methods inherited from interface wt.fc.Persistable |
checkAttributes, getIdentity, getPersistInfo, getType, setPersistInfo |
Methods inherited from interface wt.fc.ObjectMappable |
readExternal, writeExternal |
Methods inherited from interface wt.fc.NetFactor |
getClassInfo, getConceptualClassname |
Methods inherited from interface wt.visitor.Walker |
traverse |
Methods inherited from interface wt.graph.ObjectGraphNode |
getGraph, getId, getInfo, isExcluded, setExcluded, setGraph, setId, setInfo |
Methods inherited from interface wt.visitor.NodeExpander |
expandNode |
Methods inherited from interface wt.util.graph.GraphNodeModel |
clone, equals |
Methods inherited from interface wt.util.graph.GraphModel |
clone, equals, getEdgeImpl, getEdgeList, getNodeImpl, getNodeList, setEdgeImpl, setEdgeList, setNodeImpl, setNodeList, traverse |
Field Detail |
public static final String ROOT
public static final String ROOT_REFERENCE
public static final String VISITOR
public static final String WALKER_IMPL
public static final String NODE_EXPANDER
Method Detail |
public ObjectGraphNode getRoot()
public void setRoot(ObjectGraphNode a_Root) throws WTException
a_Root
-
WTException
public ObjectReference getRootReference()
public void setRootReference(ObjectReference a_RootReference)
a_RootReference
- public Visitor getVisitor()
getVisitor
in interface Walker
public void setVisitor(Visitor a_Visitor)
setVisitor
in interface Walker
a_Visitor
- public ObjectGraphWalker getWalkerImpl()
public void setWalkerImpl(ObjectGraphWalker a_WalkerImpl)
a_WalkerImpl
- public NodeExpander getNodeExpander()
getNodeExpander
in interface Walker
public void setNodeExpander(NodeExpander a_NodeExpander)
setNodeExpander
in interface Walker
a_NodeExpander
-
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |