Class ExportedKeysSearchCallback

All Implemented Interfaces:
ISearchCallback

public class ExportedKeysSearchCallback extends AbstractMetaDataBasedSearchCallback
ISearchCallback implementation that get the nodes using direct foreign key dependency, i.e, if table A has a FK for a table B, then getNodes(B) will return A.
Since:
2.4.0
Version:
$Revision$ $Date$
Author:
gommma (gommma AT users.sourceforge.net), Last changed by: $Author$
  • Constructor Details

    • ExportedKeysSearchCallback

      public ExportedKeysSearchCallback(IDatabaseConnection connection)
      Creates a callback that gets the nodes reachable via exported (reverse) foreign keys.
      Parameters:
      connection - connection where the edges will be calculated from.
  • Method Details

    • getEdges

      public SortedSet getEdges(Object node) throws SearchException
      Description copied from interface: ISearchCallback
      Get the edges originating from a node.
      Parameters:
      node - node from
      Returns:
      all edges originating from this node.
      Throws:
      SearchException - if the edges originating from the node cannot be determined.