Class 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
    • Method Detail

      • getNamespace

        public java.lang.String getNamespace()
        Specified by:
        getNamespace in interface org.opennms.integration.api.v1.graph.Edge
      • getId

        public java.lang.String getId()
        Specified by:
        getId in interface org.opennms.integration.api.v1.graph.Edge
      • getSource

        public org.opennms.integration.api.v1.graph.VertexRef getSource()
        Specified by:
        getSource in interface org.opennms.integration.api.v1.graph.Edge
      • getTarget

        public org.opennms.integration.api.v1.graph.VertexRef getTarget()
        Specified by:
        getTarget in interface org.opennms.integration.api.v1.graph.Edge
      • 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)