net.ontopia.topicmaps.db2tm
Class Context

java.lang.Object
  extended by net.ontopia.topicmaps.db2tm.Context

public class Context
extends java.lang.Object

INTERNAL: Object used to hold contextual information while processing tuples. Note that mapping, relation, topicMap and baseLocator are all required properties.


Method Summary
 void close()
           
 LocatorIF getBaseLocator()
          INTERNAL: Gets the base locator currently in use.
 DeclarationContextIF getDeclarationContext()
           
 RelationMapping getMapping()
          INTERNAL: Gets the relation mapping currently in use.
 QueryProcessorIF getQueryProcessor()
          INTERNAL: Gets the topic map query processor currently in use.
 TopicMapIF getTopicMap()
          INTERNAL: Gets the topic map currently in use.
 void loadExtents()
           
 void removeExtentObjects()
           
 void setBaseLocator(LocatorIF baseloc)
          INTERNAL: Sets the current base locator.
 void setMapping(RelationMapping rmapping)
          INTERNAL: Sets the current relation mapping.
 void setRelation(Relation relation)
          INTERNAL: Sets the current relation.
 void setTopicMap(TopicMapIF topicmap)
          INTERNAL: Sets the current topic map.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getMapping

public RelationMapping getMapping()
INTERNAL: Gets the relation mapping currently in use.


setMapping

public void setMapping(RelationMapping rmapping)
INTERNAL: Sets the current relation mapping.


setRelation

public void setRelation(Relation relation)
INTERNAL: Sets the current relation.


getTopicMap

public TopicMapIF getTopicMap()
INTERNAL: Gets the topic map currently in use.


setTopicMap

public void setTopicMap(TopicMapIF topicmap)
INTERNAL: Sets the current topic map.


getQueryProcessor

public QueryProcessorIF getQueryProcessor()
INTERNAL: Gets the topic map query processor currently in use.


getDeclarationContext

public DeclarationContextIF getDeclarationContext()

getBaseLocator

public LocatorIF getBaseLocator()
INTERNAL: Gets the base locator currently in use.


setBaseLocator

public void setBaseLocator(LocatorIF baseloc)
INTERNAL: Sets the current base locator.


loadExtents

public void loadExtents()

removeExtentObjects

public void removeExtentObjects()

close

public void close()


Copyright © 2000-2010 Ontopia.