Interface ConnectedEdge

  • All Known Implementing Classes:
    ConnectedEdgeImpl

    public interface ConnectedEdge
    Connected Edge class is the connected version of the Edge class from the graph yang model.

    It is composed of a reference to the associated Edge class from the Graph class, a unique Key identifier in the associated Connected Graph, and two references to the associated Connected Vertex in the connected Graph: source and destination.

     
     ---------------------------                        --------------------------------
     | Source Connected Vertex |---- Connected Edge --->| Destination Connected Vertex |
     ---------------------------                        --------------------------------
     
     
    Author:
    Olivier Dugeon, Philippe Niger
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      @Nullable ConnectedVertex getDestination()
      Returns the destination Connected Vertex from the Connected Graph associated to this Connected Edge.
      @NonNull Edge getEdge()
      Returns the Edge from the Graph associated to this connection.
      @NonNull Long getKey()
      Returns unique key associated to this Connected Edge.
      @Nullable ConnectedVertex getSource()
      Returns the source Connected Vertex from the Connected Graph associated to this Connected Edge.
    • Method Detail

      • getKey

        @NonNull Long getKey()
        Returns unique key associated to this Connected Edge.
        Returns:
        Edge Key
      • getEdge

        @NonNull Edge getEdge()
        Returns the Edge from the Graph associated to this connection.
        Returns:
        Edge associated to this connection
      • getSource

        @Nullable ConnectedVertex getSource()
        Returns the source Connected Vertex from the Connected Graph associated to this Connected Edge.
        Returns:
        Source Connected Vertex
      • getDestination

        @Nullable ConnectedVertex getDestination()
        Returns the destination Connected Vertex from the Connected Graph associated to this Connected Edge.
        Returns:
        Destination Connected Vertex