public final class ImmutableVertex extends ImmutableElement implements org.opennms.integration.api.v1.graph.Vertex
| Modifier and Type | Class and Description |
|---|---|
static class |
ImmutableVertex.Builder |
ImmutableElement.AbstractBuilder<T extends ImmutableElement.AbstractBuilder>properties| Modifier and Type | Method and Description |
|---|---|
static ImmutableVertex.Builder |
builder() |
String |
getId() |
String |
getNamespace() |
Optional<org.opennms.integration.api.v1.graph.NodeRef> |
getNodeRef() |
static org.opennms.integration.api.v1.graph.Vertex |
immutableCopy(org.opennms.integration.api.v1.graph.Vertex vertex) |
static ImmutableVertex.Builder |
newBuilder(String namespace,
String id) |
static ImmutableVertex.Builder |
newBuilderFrom(org.opennms.integration.api.v1.graph.Vertex fromVertex) |
String |
toString() |
equals, getProperties, getProperty, getProperty, hashCodepublic String getNamespace()
getNamespace in interface org.opennms.integration.api.v1.graph.VertexgetNamespace in interface org.opennms.integration.api.v1.graph.VertexRefpublic String getId()
getId in interface org.opennms.integration.api.v1.graph.VertexgetId in interface org.opennms.integration.api.v1.graph.VertexRefpublic Optional<org.opennms.integration.api.v1.graph.NodeRef> getNodeRef()
getNodeRef in interface org.opennms.integration.api.v1.graph.Vertexpublic String toString()
toString in class ImmutableElementpublic static ImmutableVertex.Builder builder()
public static ImmutableVertex.Builder newBuilder(String namespace, String id)
public static ImmutableVertex.Builder newBuilderFrom(org.opennms.integration.api.v1.graph.Vertex fromVertex)
public static org.opennms.integration.api.v1.graph.Vertex immutableCopy(org.opennms.integration.api.v1.graph.Vertex vertex)
Copyright © 2021. All rights reserved.