public class ScopeIndex extends BasicIndex implements ScopeIndexIF
BasicIndex.EventHandler<K,V>, BasicIndex.TypedPredicate| Modifier and Type | Field and Description |
|---|---|
protected CollectionMap<TopicIF,AssociationIF> |
assocs |
protected CollectionMap<TopicIF,TopicNameIF> |
basenames |
protected CollectionMap<TopicIF,OccurrenceIF> |
occurs |
protected CollectionMap<TopicIF,VariantNameIF> |
variants |
handlers| Modifier and Type | Method and Description |
|---|---|
Collection<AssociationIF> |
getAssociations(TopicIF theme)
PUBLIC: Gets all associations that have the given topic in their direct scope.
|
Collection<TopicIF> |
getAssociationThemes()
PUBLIC: Gets the set of all topics that are used in the direct scope
of at least one association.
|
Collection<OccurrenceIF> |
getOccurrences(TopicIF theme)
PUBLIC: Gets all occurrences that have the given topic in their direct scope.
|
Collection<TopicIF> |
getOccurrenceThemes()
PUBLIC: Gets the set of all topics that are used in the direct scope
of at least one occurrence.
|
Collection<TopicNameIF> |
getTopicNames(TopicIF theme)
PUBLIC: Gets all topic names that have the given topic in their direct
scope.
|
Collection<TopicIF> |
getTopicNameThemes()
PUBLIC: Gets the set of all topics that are used in the direct scope
of at least one topic name.
|
Collection<VariantNameIF> |
getVariants(TopicIF theme)
PUBLIC: Gets all variant names that have the given topic in their direct
scope.
|
Collection<TopicIF> |
getVariantThemes()
PUBLIC: Gets the set of all topics that are used in the direct scope
of at least one variant name.
|
boolean |
usedAsAssociationTheme(TopicIF topic)
PUBLIC: Returns true if the topic has been used in the direct scope of at
least one association.
|
boolean |
usedAsOccurrenceTheme(TopicIF topic)
PUBLIC: Returns true if the topic has been used in the direct scope of at
least one occurrence.
|
boolean |
usedAsTheme(TopicIF topic)
PUBLIC: Returns true if the topic has been used in a direct scope
somewhere in the topic map.
|
boolean |
usedAsTopicNameTheme(TopicIF topic)
PUBLIC: Returns true if the topic has been used in the direct scope of at
least one topic name.
|
boolean |
usedAsVariantTheme(TopicIF topic)
PUBLIC: Returns true if the topic has been used in the direct scope of at
least one variant name.
|
getIndex, processEventprotected CollectionMap<TopicIF,TopicNameIF> basenames
protected CollectionMap<TopicIF,VariantNameIF> variants
protected CollectionMap<TopicIF,OccurrenceIF> occurs
protected CollectionMap<TopicIF,AssociationIF> assocs
public Collection<TopicNameIF> getTopicNames(TopicIF theme)
ScopeIndexIFgetTopicNames in interface ScopeIndexIFtheme - The given topic.public Collection<VariantNameIF> getVariants(TopicIF theme)
ScopeIndexIFgetVariants in interface ScopeIndexIFtheme - The given topic.public Collection<OccurrenceIF> getOccurrences(TopicIF theme)
ScopeIndexIFgetOccurrences in interface ScopeIndexIFtheme - The given topic.public Collection<AssociationIF> getAssociations(TopicIF theme)
ScopeIndexIFgetAssociations in interface ScopeIndexIFtheme - The given topic.public Collection<TopicIF> getTopicNameThemes()
ScopeIndexIFgetTopicNameThemes in interface ScopeIndexIFpublic Collection<TopicIF> getVariantThemes()
ScopeIndexIFgetVariantThemes in interface ScopeIndexIFpublic Collection<TopicIF> getOccurrenceThemes()
ScopeIndexIFgetOccurrenceThemes in interface ScopeIndexIFpublic Collection<TopicIF> getAssociationThemes()
ScopeIndexIFgetAssociationThemes in interface ScopeIndexIFpublic boolean usedAsTopicNameTheme(TopicIF topic)
ScopeIndexIFusedAsTopicNameTheme in interface ScopeIndexIFpublic boolean usedAsVariantTheme(TopicIF topic)
ScopeIndexIFusedAsVariantTheme in interface ScopeIndexIFpublic boolean usedAsOccurrenceTheme(TopicIF topic)
ScopeIndexIFusedAsOccurrenceTheme in interface ScopeIndexIFpublic boolean usedAsAssociationTheme(TopicIF topic)
ScopeIndexIFusedAsAssociationTheme in interface ScopeIndexIFpublic boolean usedAsTheme(TopicIF topic)
ScopeIndexIFusedAsTheme in interface ScopeIndexIF