org.dbunit.util.search
Interface IEdge

All Superinterfaces:
Comparable
All Known Implementing Classes:
Edge, FKRelationshipEdge, ForeignKeyRelationshipEdge

public interface IEdge
extends Comparable

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: 769 $
Author:
Felipe Leme (dbunit@felipeal.net)

Method Summary
 Object getFrom()
          Get the node this edge originates from.
 Object getTo()
          Get the node this edge points to.
 
Methods inherited from interface java.lang.Comparable
compareTo
 

Method Detail

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.


Copyright © 2002-2012. All Rights Reserved.