Class GenericVertex.GenericVertexBuilder
- java.lang.Object
-
- org.opennms.netmgt.graph.api.generic.GenericElement.GenericElementBuilder<GenericVertex.GenericVertexBuilder>
-
- org.opennms.netmgt.graph.api.generic.GenericVertex.GenericVertexBuilder
-
- Enclosing class:
- GenericVertex
public static final class GenericVertex.GenericVertexBuilder extends GenericElement.GenericElementBuilder<GenericVertex.GenericVertexBuilder>
-
-
Field Summary
-
Fields inherited from class org.opennms.netmgt.graph.api.generic.GenericElement.GenericElementBuilder
namespaceValidator, properties
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GenericVertex
build()
GenericVertex.GenericVertexBuilder
id(String id)
GenericVertex.GenericVertexBuilder
nodeRef(String foreignSource, String foreignId)
GenericVertex.GenericVertexBuilder
vertex(GenericVertex vertex)
-
Methods inherited from class org.opennms.netmgt.graph.api.generic.GenericElement.GenericElementBuilder
getId, getNamespace, label, namespace, properties, property
-
-
-
-
Method Detail
-
id
public GenericVertex.GenericVertexBuilder id(String id)
- Overrides:
id
in classGenericElement.GenericElementBuilder<GenericVertex.GenericVertexBuilder>
-
vertex
public GenericVertex.GenericVertexBuilder vertex(GenericVertex vertex)
-
nodeRef
public GenericVertex.GenericVertexBuilder nodeRef(String foreignSource, String foreignId)
-
build
public GenericVertex build()
-
-