Class TypeInstanceIndexImpl

java.lang.Object
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 Details

    • TypeInstanceIndexImpl

      public TypeInstanceIndexImpl(TopicMapImpl topicMap)
  • Method Details

    • 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