HEADER

biouml.model
Class QueryEngineSupport

Direct Known Subclasses:
PathwayQueryEngine, StandardQueryEngine

public abstract class QueryEngineSupport
implements QueryEngine


Method Summary
 NodeInfo[]addLinked(Diagram diagram, Node start, NodeInfo[] linked)
          Appends linked nodes to the diagram.
 CompartmentgetCompartment(Node start, Base kernel)
          Should return the most suitable compartment where new node should be located.
 QueryOptionsgetDefaultQueryOptions(Class diagramType)
           
 abstract NodeInfo[]getLinked(Diagram diagram, NodeInfo node, QueryOptions opt)
           
 NodeInfo[]searchLinked(Diagram diagram, Node node, QueryOptions options)
           

Method Detail

addLinked

public NodeInfo[] addLinked(Diagram diagram, Node start, NodeInfo[] linked)
Appends linked nodes to the diagram.
Parameters:
diagram
linked
Returns: array of nodes added to diagram.

getCompartment

public Compartment getCompartment(Node start, Base kernel)
Should return the most suitable compartment where new node should be located. Here is a stub implimentation - start node compartemtn is returned.

getDefaultQueryOptions

public QueryOptions getDefaultQueryOptions(Class diagramType)

getLinked

public abstract NodeInfo[] getLinked(Diagram diagram, NodeInfo node, QueryOptions opt)
throws java.lang.Exception

searchLinked

public NodeInfo[] searchLinked(Diagram diagram, Node node, QueryOptions options)
throws java.lang.Exception

Association Links

to Class org.apache.log4j.Category


FOOTER

BOTTOM