|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Wrapper
A Wrapper
is used to dynamically extend the GM's functionality.
This is done by enclosing instances of graph entities and/or graph entity classes inside other graph entities /
graph entity classes. These wrapping instances can modify the behaviour of existing methods, or even introduce new
methods (see UnwrapTool
for more information on this).
There are two implementations of this interfaces included in the core GM: NullWrapper
and
MultiWrapper
Method Detail |
---|
GraphEntity wrapGraphEntity(GraphEntity g) throws DragosException
g
- The GraphEntity to wrap, must not be null
DragosException
- in case of errors during wrapping.Edge wrapEdge(Edge g) throws DragosException
wrapGraphEntity(GraphEntity)
to avoid casting.
g
- see wrapGraphEntity(GraphEntity)
for details
wrapGraphEntity(GraphEntity)
for details
DragosException
- in case of errors during wrapping.Graph wrapGraph(Graph g) throws DragosException
wrapGraphEntity(GraphEntity)
to avoid casting.
g
- see wrapGraphEntity(GraphEntity)
for details
wrapGraphEntity(GraphEntity)
for details
DragosException
- in case of errors during wrapping.Node wrapNode(Node g) throws DragosException
wrapGraphEntity(GraphEntity)
to avoid casting.
g
- see wrapGraphEntity(GraphEntity)
for details
wrapGraphEntity(GraphEntity)
for details
DragosException
- in case of errors during wrapping.Relation wrapRelation(Relation g) throws DragosException
wrapGraphEntity(GraphEntity)
to avoid casting.
g
- see wrapGraphEntity(GraphEntity)
for details
wrapGraphEntity(GraphEntity)
for details
DragosException
- in case of errors during wrapping.RelationEnd wrapRelationEnd(RelationEnd g) throws DragosException
wrapGraphEntity(GraphEntity)
to avoid casting.
g
- see wrapGraphEntity(GraphEntity)
for details
wrapGraphEntity(GraphEntity)
for details
DragosException
- in case of errors during wrapping.GraphEntityClass wrapGraphEntityClass(GraphEntityClass g) throws DragosException
g
- The GraphEntityClass to wrap, must not be null
DragosException
- in case of errors during wrapping.EdgeClass wrapEdgeClass(EdgeClass g) throws DragosException
wrapGraphEntityClass(GraphEntityClass)
to avoid casting.
g
- see wrapGraphEntity(GraphEntity)
for details
wrapGraphEntityClass(GraphEntityClass)
for details
DragosException
- in case of errors during wrapping.GraphClass wrapGraphClass(GraphClass g) throws DragosException
wrapGraphEntityClass(GraphEntityClass)
to avoid casting.
g
- see wrapGraphEntityClass(GraphEntityClass)
for details
wrapGraphEntityClass(GraphEntityClass)
for details
DragosException
- in case of errors during wrapping.NodeClass wrapNodeClass(NodeClass g) throws DragosException
wrapGraphEntityClass(GraphEntityClass)
to avoid casting.
g
- see wrapGraphEntityClass(GraphEntityClass)
for details
wrapGraphEntityClass(GraphEntityClass)
for details
DragosException
- in case of errors during wrapping.RelationClass wrapRelationClass(RelationClass g) throws DragosException
wrapGraphEntityClass(GraphEntityClass)
to avoid casting.
g
- see wrapGraphEntityClass(GraphEntityClass)
for details
wrapGraphEntityClass(GraphEntityClass)
for details
DragosException
- in case of errors during wrapping.RelationEndClass wrapRelationEndClass(RelationEndClass g) throws DragosException
wrapGraphEntityClass(GraphEntityClass)
to avoid casting.
g
- see wrapGraphEntityClass(GraphEntityClass)
for details
wrapGraphEntityClass(GraphEntityClass)
for details
DragosException
- in case of errors during wrapping.Attribute wrapAttribute(Attribute a) throws DragosException
a
- The Attribute to wrap, must not be null
DragosException
- in case of errors during wrapping.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |