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

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

public class StubReturningCycleDetectingCallback
extends AbstractCycleDetectingCallback

The Class StubReturningCycleDetectingCallback.

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
StubReturningCycleDetectingCallback()
           
 
Method Summary
 void addAssociatedConceptToGraph(java.lang.String associationName, AssociatedConcept associatedConcept)
          Adds the associated concept to graph.
protected  AssociatedConcept buildStubAssociatedConcept(AssociatedConcept associatedConcept)
          Builds the stub associated concept.
 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

StubReturningCycleDetectingCallback

public StubReturningCycleDetectingCallback()
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

buildStubAssociatedConcept

protected AssociatedConcept buildStubAssociatedConcept(AssociatedConcept associatedConcept)
Builds the stub associated concept.

Parameters:
associatedConcept - the associated concept
Returns:
the associated concept

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.