Interface IEdge

All Superinterfaces:
Comparable<Object>
All Known Implementing Classes:
Edge, FKRelationshipEdge, ForeignKeyRelationshipEdge

public interface IEdge extends Comparable<Object>
A bidirectional edge on the graph to be searched.
It must implement Comparable so the ISearchCallback can properly order the dependencies of a node (so, typically, the implementations will compare the getTo() node).
Since:
Aug 25, 2005
Version:
$Revision$
Author:
Felipe Leme (dbunit@felipeal.net)
  • Method Summary

    Modifier and Type
    Method
    Description
    Get the node this edge originates from.
    Get the node this edge points to.

    Methods inherited from interface java.lang.Comparable

    compareTo
  • Method Details

    • getFrom

      Object getFrom()
      Get the node this edge originates from.
      Returns:
      node this edge originates from.
    • getTo

      Object getTo()
      Get the node this edge points to.
      Returns:
      node this edge points to.