org.dbunit.util.search
Interface IEdge

All Superinterfaces:
java.lang.Comparable
All Known Implementing Classes:
Edge, FKRelationshipEdge, ForeignKeyRelationshipEdge

public interface IEdge
extends java.lang.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: 493 $
Author:
Felipe Leme

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

Method Detail

getFrom

java.lang.Object getFrom()
Get the node this edge originates from.

Returns:
node this edge originates from.

getTo

java.lang.Object getTo()
Get the node this edge points to.

Returns:
node this edge points to.


Copyright © 2002-2006 null. All Rights Reserved.