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.


Field Summary
protected  LocatorIF baseloc
           
protected  TopicMapBuilderIF builder
           
protected  DeclarationContextIF dc
           
protected  java.util.Set dsCandidates
           
protected  java.lang.Object[] entityObjects
           
protected  java.util.Collection[] extents
           
protected static int MAX_DSCANDIDATES
           
protected  java.util.Collection newObjects
           
protected  java.util.Collection oldObjects
           
protected  java.util.Map oldValues
           
protected  QueryProcessorIF qp
           
protected  Relation relation
           
protected  RelationMapping rmapping
           
protected  TopicMapIF topicmap
           
 
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
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

rmapping

protected RelationMapping rmapping

relation

protected Relation relation

topicmap

protected TopicMapIF topicmap

baseloc

protected LocatorIF baseloc

builder

protected TopicMapBuilderIF builder

qp

protected QueryProcessorIF qp

dc

protected DeclarationContextIF dc

entityObjects

protected java.lang.Object[] entityObjects

extents

protected java.util.Collection[] extents

newObjects

protected java.util.Collection newObjects

oldObjects

protected java.util.Collection oldObjects

oldValues

protected java.util.Map oldValues

MAX_DSCANDIDATES

protected static final int MAX_DSCANDIDATES
See Also:
Constant Field Values

dsCandidates

protected java.util.Set dsCandidates
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-2012 Ontopia.