Class ImmutableGraph
- java.lang.Object
-
- org.opennms.integration.api.v1.graph.immutables.ImmutableElement
-
- org.opennms.integration.api.v1.graph.immutables.ImmutableGraph
-
- All Implemented Interfaces:
org.opennms.integration.api.v1.graph.Graph,org.opennms.integration.api.v1.graph.GraphInfo
public final class ImmutableGraph extends ImmutableElement implements org.opennms.integration.api.v1.graph.Graph
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classImmutableGraph.Builder-
Nested classes/interfaces inherited from class org.opennms.integration.api.v1.graph.immutables.ImmutableElement
ImmutableElement.AbstractBuilder<T extends ImmutableElement.AbstractBuilder>
-
-
Field Summary
-
Fields inherited from class org.opennms.integration.api.v1.graph.immutables.ImmutableElement
properties
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ImmutableGraph.Builderbuilder()booleanequals(java.lang.Object o)java.util.List<org.opennms.integration.api.v1.graph.VertexRef>getDefaultFocus()java.lang.StringgetDescription()org.opennms.integration.api.v1.graph.EdgegetEdge(java.lang.String id)java.util.List<org.opennms.integration.api.v1.graph.Edge>getEdges()java.lang.StringgetLabel()java.lang.StringgetNamespace()org.opennms.integration.api.v1.graph.VertexgetVertex(java.lang.String id)java.util.List<org.opennms.integration.api.v1.graph.Vertex>getVertices()inthashCode()static org.opennms.integration.api.v1.graph.GraphimmutableCopy(org.opennms.integration.api.v1.graph.Graph graph)static ImmutableGraph.BuildernewBuilder(org.opennms.integration.api.v1.graph.GraphInfo graphInfo)static ImmutableGraph.BuildernewBuilderFrom(org.opennms.integration.api.v1.graph.Graph graph)java.lang.StringtoString()-
Methods inherited from class org.opennms.integration.api.v1.graph.immutables.ImmutableElement
getProperties, getProperty, getProperty
-
-
-
-
Method Detail
-
getNamespace
public java.lang.String getNamespace()
- Specified by:
getNamespacein interfaceorg.opennms.integration.api.v1.graph.GraphInfo
-
getLabel
public java.lang.String getLabel()
- Specified by:
getLabelin interfaceorg.opennms.integration.api.v1.graph.GraphInfo
-
getDescription
public java.lang.String getDescription()
- Specified by:
getDescriptionin interfaceorg.opennms.integration.api.v1.graph.GraphInfo
-
getVertices
public java.util.List<org.opennms.integration.api.v1.graph.Vertex> getVertices()
- Specified by:
getVerticesin interfaceorg.opennms.integration.api.v1.graph.Graph
-
getEdges
public java.util.List<org.opennms.integration.api.v1.graph.Edge> getEdges()
- Specified by:
getEdgesin interfaceorg.opennms.integration.api.v1.graph.Graph
-
getVertex
public org.opennms.integration.api.v1.graph.Vertex getVertex(java.lang.String id)
- Specified by:
getVertexin interfaceorg.opennms.integration.api.v1.graph.Graph
-
getEdge
public org.opennms.integration.api.v1.graph.Edge getEdge(java.lang.String id)
- Specified by:
getEdgein interfaceorg.opennms.integration.api.v1.graph.Graph
-
getDefaultFocus
public java.util.List<org.opennms.integration.api.v1.graph.VertexRef> getDefaultFocus()
- Specified by:
getDefaultFocusin interfaceorg.opennms.integration.api.v1.graph.Graph
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classImmutableElement
-
hashCode
public int hashCode()
- Overrides:
hashCodein classImmutableElement
-
toString
public java.lang.String toString()
- Overrides:
toStringin classImmutableElement
-
newBuilder
public static ImmutableGraph.Builder newBuilder(org.opennms.integration.api.v1.graph.GraphInfo graphInfo)
-
newBuilderFrom
public static ImmutableGraph.Builder newBuilderFrom(org.opennms.integration.api.v1.graph.Graph graph)
-
immutableCopy
public static org.opennms.integration.api.v1.graph.Graph immutableCopy(org.opennms.integration.api.v1.graph.Graph graph)
-
builder
public static ImmutableGraph.Builder builder()
-
-