|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.ontopia.topicmaps.impl.utils.AbstractIndex
net.ontopia.topicmaps.impl.utils.BasicIndex
net.ontopia.topicmaps.impl.basic.index.ScopeIndex
public class ScopeIndex
INTERNAL: The basic dynamic scope index implementation.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class net.ontopia.topicmaps.impl.utils.BasicIndex |
|---|
BasicIndex.EventHandler |
| Field Summary | |
|---|---|
protected CollectionMap |
assocs
|
protected CollectionMap |
basenames
|
protected CollectionMap |
occurs
|
protected CollectionMap |
variants
|
| Fields inherited from class net.ontopia.topicmaps.impl.utils.BasicIndex |
|---|
handlers |
| Method Summary | |
|---|---|
Collection |
getAssociations(TopicIF theme)
PUBLIC: Gets all associations that have the given topic in their direct scope. |
Collection |
getAssociationThemes()
PUBLIC: Gets the set of all topics that are used in the direct scope of at least one association. |
Collection |
getOccurrences(TopicIF theme)
PUBLIC: Gets all occurrences that have the given topic in their direct scope. |
Collection |
getOccurrenceThemes()
PUBLIC: Gets the set of all topics that are used in the direct scope of at least one occurrence. |
Collection |
getTopicNames(TopicIF theme)
PUBLIC: Gets all topic names that have the given topic in their direct scope. |
Collection |
getTopicNameThemes()
PUBLIC: Gets the set of all topics that are used in the direct scope of at least one topic name. |
Collection |
getVariants(TopicIF theme)
PUBLIC: Gets all variant names that have the given topic in their direct scope. |
Collection |
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. |
| Methods inherited from class net.ontopia.topicmaps.impl.utils.BasicIndex |
|---|
getIndex, processEvent |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected CollectionMap basenames
protected CollectionMap variants
protected CollectionMap occurs
protected CollectionMap assocs
| Method Detail |
|---|
public Collection getTopicNames(TopicIF theme)
ScopeIndexIF
getTopicNames in interface ScopeIndexIFtheme - The given topic.
public Collection getVariants(TopicIF theme)
ScopeIndexIF
getVariants in interface ScopeIndexIFtheme - The given topic.
public Collection getOccurrences(TopicIF theme)
ScopeIndexIF
getOccurrences in interface ScopeIndexIFtheme - The given topic.
public Collection getAssociations(TopicIF theme)
ScopeIndexIF
getAssociations in interface ScopeIndexIFtheme - The given topic.
public Collection getTopicNameThemes()
ScopeIndexIF
getTopicNameThemes in interface ScopeIndexIFpublic Collection getVariantThemes()
ScopeIndexIF
getVariantThemes in interface ScopeIndexIFpublic Collection getOccurrenceThemes()
ScopeIndexIF
getOccurrenceThemes in interface ScopeIndexIFpublic Collection getAssociationThemes()
ScopeIndexIF
getAssociationThemes in interface ScopeIndexIFpublic boolean usedAsTopicNameTheme(TopicIF topic)
ScopeIndexIF
usedAsTopicNameTheme in interface ScopeIndexIFpublic boolean usedAsVariantTheme(TopicIF topic)
ScopeIndexIF
usedAsVariantTheme in interface ScopeIndexIFpublic boolean usedAsOccurrenceTheme(TopicIF topic)
ScopeIndexIF
usedAsOccurrenceTheme in interface ScopeIndexIFpublic boolean usedAsAssociationTheme(TopicIF topic)
ScopeIndexIF
usedAsAssociationTheme in interface ScopeIndexIFpublic boolean usedAsTheme(TopicIF topic)
ScopeIndexIF
usedAsTheme in interface ScopeIndexIF
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||