Package org.dbunit.util.search
Class Edge
java.lang.Object
org.dbunit.util.search.Edge
- All Implemented Interfaces:
Comparable<Object>,IEdge
- Direct Known Subclasses:
FKRelationshipEdge,ForeignKeyRelationshipEdge
Basic implementation of the
IEdge interface.- Since:
- 2.2.0 (Aug 25, 2005)
- Version:
- $Revision$ $Date$
- Author:
- Felipe Leme (dbunit@felipeal.net), Last changed by: $Author$
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
Edge
- Parameters:
nodeFrom-nodeTo-
-
-
Method Details
-
getFrom
Description copied from interface:IEdgeGet the node this edge originates from. -
getTo
Description copied from interface:IEdgeGet the node this edge points to. -
toString
-
compareTo
Compares this edge to the given one using thenodes first. If those are equal thegetFrom()is used for comparison.getTo()}- Specified by:
compareToin interfaceComparable<Object>- See Also:
-
hashCode
public int hashCode() -
equals
-