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
Methods inherited from interface wt.util.graph.GraphModel |
clone, equals, getEdgeImpl, getEdgeList, getNodeImpl, getNodeList, setEdgeImpl, setEdgeList, setNodeImpl, setNodeList, traverse |
FRAGMENT_LIST
public static final String FRAGMENT_LIST
- Label for the attribute.
Supported API: false
- See Also:
- Constant Field Values
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