Class ScopedIndexImpl

  • All Implemented Interfaces:
    org.tmapi.index.Index, org.tmapi.index.ScopedIndex

    public class ScopedIndexImpl
    extends Object
    implements org.tmapi.index.ScopedIndex
    This is the implementation for the TMAPI2 ScopedIndex interface. INTERNAL: OKS->TMAPI 2 object wrapper.
    • Constructor Detail

      • ScopedIndexImpl

        public ScopedIndexImpl​(TopicMapImpl topicMap)
    • Method Detail

      • getAssociationThemes

        public Collection<org.tmapi.core.Topic> getAssociationThemes()
        Specified by:
        getAssociationThemes in interface org.tmapi.index.ScopedIndex
      • getAssociations

        public Collection<org.tmapi.core.Association> getAssociations​(org.tmapi.core.Topic theme)
        Specified by:
        getAssociations in interface org.tmapi.index.ScopedIndex
      • getAssociations

        public Collection<org.tmapi.core.Association> getAssociations​(org.tmapi.core.Topic[] themes,
                                                                      boolean matchAll)
        Specified by:
        getAssociations in interface org.tmapi.index.ScopedIndex
      • getNameThemes

        public Collection<org.tmapi.core.Topic> getNameThemes()
        Specified by:
        getNameThemes in interface org.tmapi.index.ScopedIndex
      • getNames

        public Collection<org.tmapi.core.Name> getNames​(org.tmapi.core.Topic theme)
        Specified by:
        getNames in interface org.tmapi.index.ScopedIndex
      • getNames

        public Collection<org.tmapi.core.Name> getNames​(org.tmapi.core.Topic[] themes,
                                                        boolean matchAll)
        Specified by:
        getNames in interface org.tmapi.index.ScopedIndex
      • getOccurrenceThemes

        public Collection<org.tmapi.core.Topic> getOccurrenceThemes()
        Specified by:
        getOccurrenceThemes in interface org.tmapi.index.ScopedIndex
      • getOccurrences

        public Collection<org.tmapi.core.Occurrence> getOccurrences​(org.tmapi.core.Topic theme)
        Specified by:
        getOccurrences in interface org.tmapi.index.ScopedIndex
      • getOccurrences

        public Collection<org.tmapi.core.Occurrence> getOccurrences​(org.tmapi.core.Topic[] themes,
                                                                    boolean matchAll)
        Specified by:
        getOccurrences in interface org.tmapi.index.ScopedIndex
      • getVariantThemes

        public Collection<org.tmapi.core.Topic> getVariantThemes()
        Specified by:
        getVariantThemes in interface org.tmapi.index.ScopedIndex
      • getVariants

        public Collection<org.tmapi.core.Variant> getVariants​(org.tmapi.core.Topic theme)
        Specified by:
        getVariants in interface org.tmapi.index.ScopedIndex
      • getVariants

        public Collection<org.tmapi.core.Variant> getVariants​(org.tmapi.core.Topic[] themes,
                                                              boolean matchAll)
        Specified by:
        getVariants in interface org.tmapi.index.ScopedIndex
      • 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