public final class ImmutableEdge extends ImmutableElement implements org.opennms.integration.api.v1.graph.Edge
| Modifier and Type | Class and Description |
|---|---|
static class |
ImmutableEdge.Builder |
ImmutableElement.AbstractBuilder<T extends ImmutableElement.AbstractBuilder>properties| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
String |
getId() |
String |
getNamespace() |
org.opennms.integration.api.v1.graph.VertexRef |
getSource() |
org.opennms.integration.api.v1.graph.VertexRef |
getTarget() |
int |
hashCode() |
static org.opennms.integration.api.v1.graph.Edge |
immutableCopy(org.opennms.integration.api.v1.graph.Edge edge) |
static ImmutableEdge.Builder |
newBuilder(String namespace,
String id,
org.opennms.integration.api.v1.graph.VertexRef source,
org.opennms.integration.api.v1.graph.VertexRef target) |
static ImmutableEdge.Builder |
newBuilderFrom(org.opennms.integration.api.v1.graph.Edge fromEdge) |
String |
toString() |
getProperties, getProperty, getPropertypublic String getNamespace()
getNamespace in interface org.opennms.integration.api.v1.graph.Edgepublic String getId()
getId in interface org.opennms.integration.api.v1.graph.Edgepublic org.opennms.integration.api.v1.graph.VertexRef getSource()
getSource in interface org.opennms.integration.api.v1.graph.Edgepublic org.opennms.integration.api.v1.graph.VertexRef getTarget()
getTarget in interface org.opennms.integration.api.v1.graph.Edgepublic boolean equals(Object o)
equals in class ImmutableElementpublic int hashCode()
hashCode in class ImmutableElementpublic String toString()
toString in class ImmutableElementpublic static ImmutableEdge.Builder newBuilder(String namespace, String id, org.opennms.integration.api.v1.graph.VertexRef source, org.opennms.integration.api.v1.graph.VertexRef target)
public static ImmutableEdge.Builder newBuilderFrom(org.opennms.integration.api.v1.graph.Edge fromEdge)
public static org.opennms.integration.api.v1.graph.Edge immutableCopy(org.opennms.integration.api.v1.graph.Edge edge)
Copyright © 2020. All rights reserved.