Class ScopedIndexImpl
- java.lang.Object
-
- net.ontopia.topicmaps.impl.tmapi2.index.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 TMAPI2ScopedIndex
interface. INTERNAL: OKS->TMAPI 2 object wrapper.
-
-
Constructor Summary
Constructors Constructor Description ScopedIndexImpl(TopicMapImpl topicMap)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
Collection<org.tmapi.core.Association>
getAssociations(org.tmapi.core.Topic theme)
Collection<org.tmapi.core.Association>
getAssociations(org.tmapi.core.Topic[] themes, boolean matchAll)
Collection<org.tmapi.core.Topic>
getAssociationThemes()
Collection<org.tmapi.core.Name>
getNames(org.tmapi.core.Topic theme)
Collection<org.tmapi.core.Name>
getNames(org.tmapi.core.Topic[] themes, boolean matchAll)
Collection<org.tmapi.core.Topic>
getNameThemes()
Collection<org.tmapi.core.Occurrence>
getOccurrences(org.tmapi.core.Topic theme)
Collection<org.tmapi.core.Occurrence>
getOccurrences(org.tmapi.core.Topic[] themes, boolean matchAll)
Collection<org.tmapi.core.Topic>
getOccurrenceThemes()
Collection<org.tmapi.core.Variant>
getVariants(org.tmapi.core.Topic theme)
Collection<org.tmapi.core.Variant>
getVariants(org.tmapi.core.Topic[] themes, boolean matchAll)
Collection<org.tmapi.core.Topic>
getVariantThemes()
ScopeIndexIF
getWrapped()
boolean
isAutoUpdated()
boolean
isOpen()
void
open()
void
reindex()
-
-
-
Constructor Detail
-
ScopedIndexImpl
public ScopedIndexImpl(TopicMapImpl topicMap)
-
-
Method Detail
-
getAssociationThemes
public Collection<org.tmapi.core.Topic> getAssociationThemes()
- Specified by:
getAssociationThemes
in interfaceorg.tmapi.index.ScopedIndex
-
getAssociations
public Collection<org.tmapi.core.Association> getAssociations(org.tmapi.core.Topic theme)
- Specified by:
getAssociations
in interfaceorg.tmapi.index.ScopedIndex
-
getAssociations
public Collection<org.tmapi.core.Association> getAssociations(org.tmapi.core.Topic[] themes, boolean matchAll)
- Specified by:
getAssociations
in interfaceorg.tmapi.index.ScopedIndex
-
getNameThemes
public Collection<org.tmapi.core.Topic> getNameThemes()
- Specified by:
getNameThemes
in interfaceorg.tmapi.index.ScopedIndex
-
getNames
public Collection<org.tmapi.core.Name> getNames(org.tmapi.core.Topic theme)
- Specified by:
getNames
in interfaceorg.tmapi.index.ScopedIndex
-
getNames
public Collection<org.tmapi.core.Name> getNames(org.tmapi.core.Topic[] themes, boolean matchAll)
- Specified by:
getNames
in interfaceorg.tmapi.index.ScopedIndex
-
getOccurrenceThemes
public Collection<org.tmapi.core.Topic> getOccurrenceThemes()
- Specified by:
getOccurrenceThemes
in interfaceorg.tmapi.index.ScopedIndex
-
getOccurrences
public Collection<org.tmapi.core.Occurrence> getOccurrences(org.tmapi.core.Topic theme)
- Specified by:
getOccurrences
in interfaceorg.tmapi.index.ScopedIndex
-
getOccurrences
public Collection<org.tmapi.core.Occurrence> getOccurrences(org.tmapi.core.Topic[] themes, boolean matchAll)
- Specified by:
getOccurrences
in interfaceorg.tmapi.index.ScopedIndex
-
getVariantThemes
public Collection<org.tmapi.core.Topic> getVariantThemes()
- Specified by:
getVariantThemes
in interfaceorg.tmapi.index.ScopedIndex
-
getVariants
public Collection<org.tmapi.core.Variant> getVariants(org.tmapi.core.Topic theme)
- Specified by:
getVariants
in interfaceorg.tmapi.index.ScopedIndex
-
getVariants
public Collection<org.tmapi.core.Variant> getVariants(org.tmapi.core.Topic[] themes, boolean matchAll)
- Specified by:
getVariants
in interfaceorg.tmapi.index.ScopedIndex
-
close
public void close()
- Specified by:
close
in interfaceorg.tmapi.index.Index
-
isAutoUpdated
public boolean isAutoUpdated()
- Specified by:
isAutoUpdated
in interfaceorg.tmapi.index.Index
-
isOpen
public boolean isOpen()
- Specified by:
isOpen
in interfaceorg.tmapi.index.Index
-
open
public void open()
- Specified by:
open
in interfaceorg.tmapi.index.Index
-
reindex
public void reindex()
- Specified by:
reindex
in interfaceorg.tmapi.index.Index
-
getWrapped
public ScopeIndexIF getWrapped()
-
-