Class ImmutableEdge
- java.lang.Object
-
- org.opennms.integration.api.v1.graph.immutables.ImmutableElement
-
- org.opennms.integration.api.v1.graph.immutables.ImmutableEdge
-
- All Implemented Interfaces:
org.opennms.integration.api.v1.graph.Edge
public final class ImmutableEdge extends ImmutableElement implements org.opennms.integration.api.v1.graph.Edge
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classImmutableEdge.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 ImmutableEdge.Builderbuilder()booleanequals(java.lang.Object o)java.lang.StringgetId()java.lang.StringgetNamespace()org.opennms.integration.api.v1.graph.VertexRefgetSource()org.opennms.integration.api.v1.graph.VertexRefgetTarget()inthashCode()static org.opennms.integration.api.v1.graph.EdgeimmutableCopy(org.opennms.integration.api.v1.graph.Edge edge)static ImmutableEdge.BuildernewBuilder(java.lang.String namespace, java.lang.String id, org.opennms.integration.api.v1.graph.VertexRef source, org.opennms.integration.api.v1.graph.VertexRef target)static ImmutableEdge.BuildernewBuilderFrom(org.opennms.integration.api.v1.graph.Edge fromEdge)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.Edge
-
getId
public java.lang.String getId()
- Specified by:
getIdin interfaceorg.opennms.integration.api.v1.graph.Edge
-
getSource
public org.opennms.integration.api.v1.graph.VertexRef getSource()
- Specified by:
getSourcein interfaceorg.opennms.integration.api.v1.graph.Edge
-
getTarget
public org.opennms.integration.api.v1.graph.VertexRef getTarget()
- Specified by:
getTargetin interfaceorg.opennms.integration.api.v1.graph.Edge
-
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 ImmutableEdge.Builder newBuilder(java.lang.String namespace, java.lang.String id, org.opennms.integration.api.v1.graph.VertexRef source, org.opennms.integration.api.v1.graph.VertexRef target)
-
newBuilderFrom
public static ImmutableEdge.Builder newBuilderFrom(org.opennms.integration.api.v1.graph.Edge fromEdge)
-
immutableCopy
public static org.opennms.integration.api.v1.graph.Edge immutableCopy(org.opennms.integration.api.v1.graph.Edge edge)
-
builder
public static ImmutableEdge.Builder builder()
-
-