wt.graph.template
Interface ObjectGraphTemplate

All Superinterfaces:
Cloneable, GraphModel, GraphNodeModel, NetFactor, NodeExpander, ObjectGraph, ObjectGraphNode, ObjectMappable, Persistable, Serializable, Walker
All Known Implementing Classes:
AbstractObjectGraphTemplate

public interface ObjectGraphTemplate
extends ObjectGraph

Provides a top-level abstraction of an object graph template. That is it represents a static-based view of related persistable classes by means of associations between two persistable classes, and special aggregations and/or fields that result as object references. This structural definition is completely defined in the meta-model. And it is the essence of how to realize an object graph via an object graph template processor given a template and "root" persistable object.

The object graph template acts as the overall container where it references the root (node template) class of the structure of related classes. From the root node template the structure of the object graph template can span outwards and can consequently be traversed.

The object graph template is composed of node and edge templates. Much like the object graph each node template has an association to another node template that is represented as an edge template, which maintains the association. An edge template can be either unidirectional or bidirectional. An unidirectional edge template represents a type of object reference. A bidirectional edge template represents a type of link.



Supported API: false

Extendable: false


Field Summary
static String FRAGMENT_LIST
          Label for the attribute.
 
Fields inherited from interface wt.graph.ObjectGraph
NODE_EXPANDER, ROOT, ROOT_REFERENCE, VISITOR, WALKER_IMPL
 
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
 void defragment()
          

Supported API: false
 void fragment()
          

Supported API: false
 ObjectGraphTemplate[] getFragmentList()
          Gets the value of the attribute: FRAGMENT_LIST.
 boolean isFragmented()
          

Supported API: false
 void setFragmentList(ObjectGraphTemplate[] a_FragmentList)
          Sets the value of the attribute: FRAGMENT_LIST.
 
Methods inherited from interface wt.graph.ObjectGraph
getNodeExpander, getRoot, getRootReference, getVisitor, getWalkerImpl, setNodeExpander, setRoot, setRootReference, setVisitor, setWalkerImpl
 
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

FRAGMENT_LIST

public static final String FRAGMENT_LIST
Label for the attribute.

Supported API: false

See Also:
Constant Field Values
Method Detail

getFragmentList

public ObjectGraphTemplate[] getFragmentList()
Gets the value of the attribute: FRAGMENT_LIST.

Supported API: false

Returns:
ObjectGraphTemplate[]

setFragmentList

public void setFragmentList(ObjectGraphTemplate[] a_FragmentList)
Sets the value of the attribute: FRAGMENT_LIST.

Supported API: false

Parameters:
a_FragmentList -

fragment

public void fragment()
              throws WTException,
                     WTPropertyVetoException,
                     ObjectGraphException


Supported API: false

Throws:
WTException
WTPropertyVetoException
ObjectGraphException

defragment

public void defragment()
                throws WTException,
                       WTPropertyVetoException,
                       ObjectGraphException


Supported API: false

Throws:
WTException
WTPropertyVetoException
ObjectGraphException

isFragmented

public boolean isFragmented()


Supported API: false

Returns:
boolean