net.ontopia.topicmaps.impl.tmapi2.index
Class TypeInstanceIndexImpl

java.lang.Object
  extended by net.ontopia.topicmaps.impl.tmapi2.index.TypeInstanceIndexImpl
All Implemented Interfaces:
org.tmapi.index.Index, org.tmapi.index.TypeInstanceIndex

public class TypeInstanceIndexImpl
extends Object
implements org.tmapi.index.TypeInstanceIndex

Implementation of the TypeInstanceIndex interface INTERNAL: OKS->TMAPI 2 object wrapper.


Constructor Summary
TypeInstanceIndexImpl(TopicMapImpl topicMap)
           
 
Method Summary
 void close()
           
 Collection<org.tmapi.core.Association> getAssociations(org.tmapi.core.Topic type)
           
 Collection<org.tmapi.core.Topic> getAssociationTypes()
           
 Collection<org.tmapi.core.Name> getNames(org.tmapi.core.Topic type)
           
 Collection<org.tmapi.core.Topic> getNameTypes()
           
 Collection<org.tmapi.core.Occurrence> getOccurrences(org.tmapi.core.Topic type)
           
 Collection<org.tmapi.core.Topic> getOccurrenceTypes()
           
 Collection<org.tmapi.core.Role> getRoles(org.tmapi.core.Topic type)
           
 Collection<org.tmapi.core.Topic> getRoleTypes()
           
 Collection<org.tmapi.core.Topic> getTopics(org.tmapi.core.Topic type)
           
 Collection<org.tmapi.core.Topic> getTopics(org.tmapi.core.Topic[] types, boolean matchAll)
           
 Collection<org.tmapi.core.Topic> getTopicTypes()
           
 boolean isAutoUpdated()
           
 boolean isOpen()
           
 void open()
           
 void reindex()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TypeInstanceIndexImpl

public TypeInstanceIndexImpl(TopicMapImpl topicMap)
Method Detail

getAssociationTypes

public Collection<org.tmapi.core.Topic> getAssociationTypes()
Specified by:
getAssociationTypes in interface org.tmapi.index.TypeInstanceIndex

getAssociations

public Collection<org.tmapi.core.Association> getAssociations(org.tmapi.core.Topic type)
Specified by:
getAssociations in interface org.tmapi.index.TypeInstanceIndex

getNameTypes

public Collection<org.tmapi.core.Topic> getNameTypes()
Specified by:
getNameTypes in interface org.tmapi.index.TypeInstanceIndex

getNames

public Collection<org.tmapi.core.Name> getNames(org.tmapi.core.Topic type)
Specified by:
getNames in interface org.tmapi.index.TypeInstanceIndex

getOccurrenceTypes

public Collection<org.tmapi.core.Topic> getOccurrenceTypes()
Specified by:
getOccurrenceTypes in interface org.tmapi.index.TypeInstanceIndex

getOccurrences

public Collection<org.tmapi.core.Occurrence> getOccurrences(org.tmapi.core.Topic type)
Specified by:
getOccurrences in interface org.tmapi.index.TypeInstanceIndex

getRoleTypes

public Collection<org.tmapi.core.Topic> getRoleTypes()
Specified by:
getRoleTypes in interface org.tmapi.index.TypeInstanceIndex

getRoles

public Collection<org.tmapi.core.Role> getRoles(org.tmapi.core.Topic type)
Specified by:
getRoles in interface org.tmapi.index.TypeInstanceIndex

getTopicTypes

public Collection<org.tmapi.core.Topic> getTopicTypes()
Specified by:
getTopicTypes in interface org.tmapi.index.TypeInstanceIndex

getTopics

public Collection<org.tmapi.core.Topic> getTopics(org.tmapi.core.Topic type)
Specified by:
getTopics in interface org.tmapi.index.TypeInstanceIndex

getTopics

public Collection<org.tmapi.core.Topic> getTopics(org.tmapi.core.Topic[] types,
                                                  boolean matchAll)
Specified by:
getTopics in interface org.tmapi.index.TypeInstanceIndex

close

public void close()
Specified by:
close in interface org.tmapi.index.Index

isAutoUpdated

public boolean isAutoUpdated()
Specified by:
isAutoUpdated in interface org.tmapi.index.Index

isOpen

public boolean isOpen()
Specified by:
isOpen in interface org.tmapi.index.Index

open

public void open()
Specified by:
open in interface org.tmapi.index.Index

reindex

public void reindex()
Specified by:
reindex in interface org.tmapi.index.Index


Copyright © 2000-2012 Ontopia.