public class Context extends Object
Modifier and Type | Field and Description |
---|---|
protected LocatorIF |
baseloc |
protected TopicMapBuilderIF |
builder |
protected DeclarationContextIF |
dc |
protected Set<TopicIF> |
dsCandidates |
protected Object[] |
entityObjects |
protected Collection<Object>[] |
extents |
protected static int |
MAX_DSCANDIDATES |
protected Collection<Object> |
newObjects |
protected Collection<Object> |
oldObjects |
protected Map<Object,List<?>[]> |
oldValues |
protected QueryProcessorIF |
qp |
protected Relation |
relation |
protected RelationMapping |
rmapping |
protected TopicMapIF |
topicmap |
Modifier and Type | Method and Description |
---|---|
protected void |
characteristicsChanged(TopicIF topic) |
void |
close() |
LocatorIF |
getBaseLocator()
INTERNAL: Gets the base locator currently in use.
|
protected TopicMapBuilderIF |
getBuilder()
INTERNAL: Gets the topic map builder currently in use.
|
DeclarationContextIF |
getDeclarationContext() |
protected Object |
getEntityObjectById(String id)
INTERNAL: Gets the entity object by id
|
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() |
protected void |
mergeTopics(TopicIF target,
TopicIF source)
INTERNAL: Merge two topics.
|
protected boolean |
registerNewObject(Object object)
INTERNAL: Register an object as a new topic map object (created
by db2tm).
|
protected void |
registerOldFieldValues(Object object,
List<?>[] values)
INTERNAL: Register the existing field values of an old object.
|
protected boolean |
registerOldObject(Object object)
INTERNAL: Register an object as an existing topic map object.
|
void |
removeExtentObjects() |
protected void |
removeOldValues() |
protected Object |
reuseOldFieldValue(Object object,
int fieldIndex)
INTERNAL: Return the existing field values of an old object.
|
void |
setBaseLocator(LocatorIF baseloc)
INTERNAL: Sets the current base locator.
|
protected void |
setEntityObject(int ix,
Object object)
INTERNAL: Sets the current entity object.
|
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.
|
protected RelationMapping rmapping
protected Relation relation
protected TopicMapIF topicmap
protected LocatorIF baseloc
protected TopicMapBuilderIF builder
protected QueryProcessorIF qp
protected DeclarationContextIF dc
protected Object[] entityObjects
protected Collection<Object>[] extents
protected Collection<Object> newObjects
protected Collection<Object> oldObjects
protected static final int MAX_DSCANDIDATES
public RelationMapping getMapping()
public void setMapping(RelationMapping rmapping)
public void setRelation(Relation relation)
public TopicMapIF getTopicMap()
public void setTopicMap(TopicMapIF topicmap)
public QueryProcessorIF getQueryProcessor()
public DeclarationContextIF getDeclarationContext()
public LocatorIF getBaseLocator()
public void setBaseLocator(LocatorIF baseloc)
protected TopicMapBuilderIF getBuilder()
protected void setEntityObject(int ix, Object object)
protected Object getEntityObjectById(String id)
protected void mergeTopics(TopicIF target, TopicIF source)
protected boolean registerOldObject(Object object)
protected boolean registerNewObject(Object object)
protected void registerOldFieldValues(Object object, List<?>[] values)
protected Object reuseOldFieldValue(Object object, int fieldIndex)
protected void removeOldValues()
public void loadExtents()
public void removeExtentObjects()
protected void characteristicsChanged(TopicIF topic)
public void close()