|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object i3.dragos.gm.core.WrapTool
public class WrapTool
Utility class to simplify the wrapping of collections of graph entities.
Constructor Summary | |
---|---|
WrapTool()
|
Method Summary | |
---|---|
static java.util.Collection<Attribute> |
wrapAllAttributes(java.util.Collection<? extends Attribute> c,
Wrapper wrapper)
All graph entities in the given collection are wrapped using the wrapper's Wrapper.wrapAttribute(Attribute) method. |
static java.util.Collection<EdgeClass> |
wrapAllEdgeClasses(java.util.Collection<? extends EdgeClass> c,
Wrapper wrapper)
All graph entities in the given collection are wrapped using the wrapper's Wrapper.wrapEdgeClass(EdgeClass) method. |
static java.util.Collection<Edge> |
wrapAllEdges(java.util.Collection<? extends Edge> c,
Wrapper wrapper)
All graph entities in the given collection are wrapped using the wrapper's Wrapper.wrapEdge(Edge) method. |
static java.util.Collection<GraphClass> |
wrapAllGraphClasses(java.util.Collection<? extends GraphClass> c,
Wrapper wrapper)
All graph entities in the given collection are wrapped using the wrapper's Wrapper.wrapGraphClass(GraphClass) method. |
static java.util.Collection<GraphEntity> |
wrapAllGraphEntities(java.util.Collection<? extends GraphEntity> c,
Wrapper wrapper)
All graph entities in the given collection are wrapped using the wrapper's Wrapper.wrapGraphEntity(GraphEntity) method. |
static java.util.Collection<GraphEntityClass> |
wrapAllGraphEntityClasses(java.util.Collection<? extends GraphEntityClass> c,
Wrapper wrapper)
All graph entities in the given collection are wrapped using the wrapper's Wrapper.wrapGraphEntityClass(GraphEntityClass) method. |
static java.util.Collection<Graph> |
wrapAllGraphs(java.util.Collection<? extends Graph> c,
Wrapper wrapper)
All graph entities in the given collection are wrapped using the wrapper's Wrapper.wrapGraph(Graph) method. |
static java.util.Collection<NodeClass> |
wrapAllNodeClasses(java.util.Collection<? extends NodeClass> c,
Wrapper wrapper)
All graph entities in the given collection are wrapped using the wrapper's Wrapper.wrapNodeClass(NodeClass) method. |
static java.util.Collection<Node> |
wrapAllNodes(java.util.Collection<? extends Node> c,
Wrapper wrapper)
All graph entities in the given collection are wrapped using the wrapper's Wrapper.wrapNode(Node) method. |
static java.util.Collection<RelationClass> |
wrapAllRelationClasses(java.util.Collection<? extends RelationClass> c,
Wrapper wrapper)
All graph entities in the given collection are wrapped using the wrapper's Wrapper.wrapRelationClass(RelationClass) method. |
static java.util.Collection<RelationEndClass> |
wrapAllRelationEndClasses(java.util.Collection<? extends RelationEndClass> c,
Wrapper wrapper)
All graph entities in the given collection are wrapped using the wrapper's Wrapper.wrapRelationEndClass(RelationEndClass) method. |
static java.util.Collection<RelationEnd> |
wrapAllRelationEnds(java.util.Collection<? extends RelationEnd> c,
Wrapper wrapper)
All graph entities in the given collection are wrapped using the wrapper's Wrapper.wrapRelationEnd(RelationEnd) method. |
static java.util.Collection<Relation> |
wrapAllRelations(java.util.Collection<? extends Relation> c,
Wrapper wrapper)
All graph entities in the given collection are wrapped using the wrapper's Wrapper.wrapRelation(Relation) method. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public WrapTool()
Method Detail |
---|
public static final java.util.Collection<GraphEntity> wrapAllGraphEntities(java.util.Collection<? extends GraphEntity> c, Wrapper wrapper) throws DragosException
Wrapper.wrapGraphEntity(GraphEntity)
method.
A new collection is returned containing the wrapped GraphEntity instances.
c
- A collection of GraphEntity instances.wrapper
- The wrapper to be applied on each contained entity.
DragosException
- if something went wrong.public static final java.util.Collection<Graph> wrapAllGraphs(java.util.Collection<? extends Graph> c, Wrapper wrapper) throws DragosException
Wrapper.wrapGraph(Graph)
method.
A new collection is returned containing the wrapped Graph instances.
c
- A collection of Graph instances.wrapper
- The wrapper to be applied on each contained entity.
DragosException
- if something went wrong.public static final java.util.Collection<Node> wrapAllNodes(java.util.Collection<? extends Node> c, Wrapper wrapper) throws DragosException
Wrapper.wrapNode(Node)
method.
A new collection is returned containing the wrapped Node instances.
c
- A collection of Node instances.wrapper
- The wrapper to be applied on each contained entity.
DragosException
- if something went wrong.public static final java.util.Collection<Edge> wrapAllEdges(java.util.Collection<? extends Edge> c, Wrapper wrapper) throws DragosException
Wrapper.wrapEdge(Edge)
method.
A new collection is returned containing the wrapped Edge instances.
c
- A collection of Edge instances.wrapper
- The wrapper to be applied on each contained entity.
DragosException
- if something went wrong.public static final java.util.Collection<Relation> wrapAllRelations(java.util.Collection<? extends Relation> c, Wrapper wrapper) throws DragosException
Wrapper.wrapRelation(Relation)
method.
A new collection is returned containing the wrapped Relation instances.
c
- A collection of Relation instances.wrapper
- The wrapper to be applied on each contained entity.
DragosException
- if something went wrong.public static final java.util.Collection<RelationEnd> wrapAllRelationEnds(java.util.Collection<? extends RelationEnd> c, Wrapper wrapper) throws DragosException
Wrapper.wrapRelationEnd(RelationEnd)
method.
A new collection is returned containing the wrapped RelationEnd instances.
c
- A collection of RelationEnd instances.wrapper
- The wrapper to be applied on each contained entity.
DragosException
- if something went wrong.public static final java.util.Collection<GraphEntityClass> wrapAllGraphEntityClasses(java.util.Collection<? extends GraphEntityClass> c, Wrapper wrapper) throws DragosException
Wrapper.wrapGraphEntityClass(GraphEntityClass)
method.
A new collection is returned containing the wrapped GraphEntityClass instances.
c
- A collection of GraphEntityClass instances.wrapper
- The wrapper to be applied on each contained entity.
DragosException
- if something went wrong.public static final java.util.Collection<GraphClass> wrapAllGraphClasses(java.util.Collection<? extends GraphClass> c, Wrapper wrapper) throws DragosException
Wrapper.wrapGraphClass(GraphClass)
method.
A new collection is returned containing the wrapped GraphClass instances.
c
- A collection of GraphClass instances.wrapper
- The wrapper to be applied on each contained entity.
DragosException
- if something went wrong.public static final java.util.Collection<NodeClass> wrapAllNodeClasses(java.util.Collection<? extends NodeClass> c, Wrapper wrapper) throws DragosException
Wrapper.wrapNodeClass(NodeClass)
method.
A new collection is returned containing the wrapped NodeClass instances.
c
- A collection of NodeClass instances.wrapper
- The wrapper to be applied on each contained entity.
DragosException
- if something went wrong.public static final java.util.Collection<EdgeClass> wrapAllEdgeClasses(java.util.Collection<? extends EdgeClass> c, Wrapper wrapper) throws DragosException
Wrapper.wrapEdgeClass(EdgeClass)
method.
A new collection is returned containing the wrapped EdgeClass instances.
c
- A collection of EdgeClass instances.wrapper
- The wrapper to be applied on each contained entity.
DragosException
- if something went wrong.public static final java.util.Collection<RelationClass> wrapAllRelationClasses(java.util.Collection<? extends RelationClass> c, Wrapper wrapper) throws DragosException
Wrapper.wrapRelationClass(RelationClass)
method.
A new collection is returned containing the wrapped RelationClass instances.
c
- A collection of RelationClass instances.wrapper
- The wrapper to be applied on each contained entity.
DragosException
- if something went wrong.public static final java.util.Collection<RelationEndClass> wrapAllRelationEndClasses(java.util.Collection<? extends RelationEndClass> c, Wrapper wrapper) throws DragosException
Wrapper.wrapRelationEndClass(RelationEndClass)
method.
A new collection is returned containing the wrapped RelationEndClass instances.
c
- A collection of RelationEndClass instances.wrapper
- The wrapper to be applied on each contained entity.
DragosException
- if something went wrong.public static final java.util.Collection<Attribute> wrapAllAttributes(java.util.Collection<? extends Attribute> c, Wrapper wrapper) throws DragosException
Wrapper.wrapAttribute(Attribute)
method.
A new collection is returned containing the wrapped Attribute instances.
c
- A collection of Attribute instances.wrapper
- The wrapper to be applied on each contained entity.
DragosException
- if something went wrong.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |