Package org.opennms.netmgt.graph.domain
Class AbstractDomainGraph.AbstractDomainGraphBuilder<T extends AbstractDomainGraph.AbstractDomainGraphBuilder,V extends AbstractDomainVertex,E extends AbstractDomainEdge>
- java.lang.Object
-
- org.opennms.netmgt.graph.domain.AbstractDomainGraph.AbstractDomainGraphBuilder<T,V,E>
-
- Direct Known Subclasses:
ApplicationGraph.ApplicationGraphBuilder
,BusinessServiceGraph.BusinessServiceGraphBuilder
,SimpleDomainGraph.SimpleDomainGraphBuilder
- Enclosing class:
- AbstractDomainGraph<V extends AbstractDomainVertex,E extends AbstractDomainEdge>
public static class AbstractDomainGraph.AbstractDomainGraphBuilder<T extends AbstractDomainGraph.AbstractDomainGraphBuilder,V extends AbstractDomainVertex,E extends AbstractDomainEdge> extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description protected GenericGraph.GenericGraphBuilder
delegate
-
Constructor Summary
Constructors Modifier Constructor Description protected
AbstractDomainGraphBuilder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description T
addEdge(E edge)
T
addEdges(java.util.Collection<E> edges)
T
addVertex(V vertex)
T
addVertices(java.util.Collection<V> vertices)
T
description(java.lang.String description)
GenericGraph.GenericGraphBuilder.FocusBuilder
focus()
VertexRef
getVertexRef(java.lang.String vertexId)
T
graphInfo(GraphInfo graphInfo)
T
id(java.lang.String id)
T
label(java.lang.String label)
T
namespace(java.lang.String namespace)
T
property(java.lang.String name, java.lang.String value)
T
removeEdge(E edge)
T
removeVertex(V vertex)
-
-
-
Field Detail
-
delegate
protected GenericGraph.GenericGraphBuilder delegate
-
-
Method Detail
-
id
public T id(java.lang.String id)
-
label
public T label(java.lang.String label)
-
namespace
public T namespace(java.lang.String namespace)
-
property
public T property(java.lang.String name, java.lang.String value)
-
description
public T description(java.lang.String description)
-
focus
public GenericGraph.GenericGraphBuilder.FocusBuilder focus()
-
getVertexRef
public VertexRef getVertexRef(java.lang.String vertexId)
-
-