org.LexGrid.LexBIG.Impl.pagedgraph.paging.callback
Class ReferenceReturningCycleDetectingCallback

java.lang.Object
  extended by org.LexGrid.LexBIG.Impl.pagedgraph.paging.callback.AbstractCycleDetectingCallback
      extended by org.LexGrid.LexBIG.Impl.pagedgraph.paging.callback.ReferenceReturningCycleDetectingCallback
All Implemented Interfaces:
java.io.Serializable, CycleDetectingCallback

public class ReferenceReturningCycleDetectingCallback
extends AbstractCycleDetectingCallback

The Class ReferenceReturningCycleDetectingCallback.

Author:
Kevin Peterson
See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class org.LexGrid.LexBIG.Impl.pagedgraph.paging.callback.AbstractCycleDetectingCallback
AbstractCycleDetectingCallback.AssociatedConceptKey
 
Constructor Summary
ReferenceReturningCycleDetectingCallback()
           
 
Method Summary
 void addAssociatedConceptToGraph(java.lang.String associationName, AssociatedConcept associatedConcept)
          Adds the associated concept to graph.
 void clear()
           
 AssociatedConcept getAssociatedConceptInGraph(java.lang.String associationName, AssociatedConcept associatedConcept)
          Gets the associated concept in graph.
 boolean isAssociatedConceptAlreadyInGraph(java.lang.String associationName, AssociatedConcept associatedConcept)
          Checks if is associated concept already in graph.
 
Methods inherited from class org.LexGrid.LexBIG.Impl.pagedgraph.paging.callback.AbstractCycleDetectingCallback
toAssociatedConceptKey
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ReferenceReturningCycleDetectingCallback

public ReferenceReturningCycleDetectingCallback()
Method Detail

getAssociatedConceptInGraph

public AssociatedConcept getAssociatedConceptInGraph(java.lang.String associationName,
                                                     AssociatedConcept associatedConcept)
Description copied from interface: CycleDetectingCallback
Gets the associated concept in graph.

Parameters:
associationName - the association name
associatedConcept - the associated concept
Returns:
the associated concept in graph

addAssociatedConceptToGraph

public void addAssociatedConceptToGraph(java.lang.String associationName,
                                        AssociatedConcept associatedConcept)
Description copied from interface: CycleDetectingCallback
Adds the associated concept to graph.

Parameters:
associationName - the association name
associatedConcept - the associated concept

isAssociatedConceptAlreadyInGraph

public boolean isAssociatedConceptAlreadyInGraph(java.lang.String associationName,
                                                 AssociatedConcept associatedConcept)
Description copied from interface: CycleDetectingCallback
Checks if is associated concept already in graph.

Parameters:
associationName - the association name
associatedConcept - the associated concept
Returns:
true, if is associated concept already in graph

clear

public void clear()

Copyright: (c) 2004-2006 Mayo Foundation for Medical Education and Research (MFMER). All rights reserved. MAYO, MAYO CLINIC, and the triple-shield Mayo logo are trademarks and service marks of MFMER.