public class TypeInstanceIndexImpl extends Object implements org.tmapi.index.TypeInstanceIndex
TypeInstanceIndex
interface
INTERNAL: OKS->TMAPI 2 object wrapper.Constructor and Description |
---|
TypeInstanceIndexImpl(TopicMapImpl topicMap) |
Modifier and Type | Method and Description |
---|---|
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() |
public TypeInstanceIndexImpl(TopicMapImpl topicMap)
public Collection<org.tmapi.core.Topic> getAssociationTypes()
getAssociationTypes
in interface org.tmapi.index.TypeInstanceIndex
public Collection<org.tmapi.core.Association> getAssociations(org.tmapi.core.Topic type)
getAssociations
in interface org.tmapi.index.TypeInstanceIndex
public Collection<org.tmapi.core.Topic> getNameTypes()
getNameTypes
in interface org.tmapi.index.TypeInstanceIndex
public Collection<org.tmapi.core.Name> getNames(org.tmapi.core.Topic type)
getNames
in interface org.tmapi.index.TypeInstanceIndex
public Collection<org.tmapi.core.Topic> getOccurrenceTypes()
getOccurrenceTypes
in interface org.tmapi.index.TypeInstanceIndex
public Collection<org.tmapi.core.Occurrence> getOccurrences(org.tmapi.core.Topic type)
getOccurrences
in interface org.tmapi.index.TypeInstanceIndex
public Collection<org.tmapi.core.Topic> getRoleTypes()
getRoleTypes
in interface org.tmapi.index.TypeInstanceIndex
public Collection<org.tmapi.core.Role> getRoles(org.tmapi.core.Topic type)
getRoles
in interface org.tmapi.index.TypeInstanceIndex
public Collection<org.tmapi.core.Topic> getTopicTypes()
getTopicTypes
in interface org.tmapi.index.TypeInstanceIndex
public Collection<org.tmapi.core.Topic> getTopics(org.tmapi.core.Topic type)
getTopics
in interface org.tmapi.index.TypeInstanceIndex
public Collection<org.tmapi.core.Topic> getTopics(org.tmapi.core.Topic[] types, boolean matchAll)
getTopics
in interface org.tmapi.index.TypeInstanceIndex
public void close()
close
in interface org.tmapi.index.Index
public boolean isAutoUpdated()
isAutoUpdated
in interface org.tmapi.index.Index
public boolean isOpen()
isOpen
in interface org.tmapi.index.Index
public void open()
open
in interface org.tmapi.index.Index
public void reindex()
reindex
in interface org.tmapi.index.Index