|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.ontopia.topicmaps.impl.utils.AbstractIndex net.ontopia.topicmaps.impl.rdbms.index.RDBMSIndex net.ontopia.topicmaps.impl.rdbms.index.ScopeIndex
public class ScopeIndex
INTERNAL: The rdbms scope index implementation.
Method Summary | |
---|---|
java.util.Collection<AssociationIF> |
getAssociations(TopicIF theme)
PUBLIC: Gets all associations that have the given topic in their direct scope. |
java.util.Collection<TopicIF> |
getAssociationThemes()
PUBLIC: Gets the set of all topics that are used in the direct scope of at least one association. |
java.util.Collection<OccurrenceIF> |
getOccurrences(TopicIF theme)
PUBLIC: Gets all occurrences that have the given topic in their direct scope. |
java.util.Collection<TopicIF> |
getOccurrenceThemes()
PUBLIC: Gets the set of all topics that are used in the direct scope of at least one occurrence. |
java.util.Collection<TopicNameIF> |
getTopicNames(TopicIF theme)
PUBLIC: Gets all topic names that have the given topic in their direct scope. |
java.util.Collection<TopicIF> |
getTopicNameThemes()
PUBLIC: Gets the set of all topics that are used in the direct scope of at least one topic name. |
java.util.Collection<VariantNameIF> |
getVariants(TopicIF theme)
PUBLIC: Gets all variant names that have the given topic in their direct scope. |
java.util.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. |
Methods inherited from class net.ontopia.topicmaps.impl.rdbms.index.RDBMSIndex |
---|
executeQuery, getIndex |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public java.util.Collection<TopicNameIF> getTopicNames(TopicIF theme)
ScopeIndexIF
getTopicNames
in interface ScopeIndexIF
theme
- The given topic.
public java.util.Collection<VariantNameIF> getVariants(TopicIF theme)
ScopeIndexIF
getVariants
in interface ScopeIndexIF
theme
- The given topic.
public java.util.Collection<OccurrenceIF> getOccurrences(TopicIF theme)
ScopeIndexIF
getOccurrences
in interface ScopeIndexIF
theme
- The given topic.
public java.util.Collection<AssociationIF> getAssociations(TopicIF theme)
ScopeIndexIF
getAssociations
in interface ScopeIndexIF
theme
- The given topic.
public java.util.Collection<TopicIF> getTopicNameThemes()
ScopeIndexIF
getTopicNameThemes
in interface ScopeIndexIF
public java.util.Collection<TopicIF> getVariantThemes()
ScopeIndexIF
getVariantThemes
in interface ScopeIndexIF
public java.util.Collection<TopicIF> getOccurrenceThemes()
ScopeIndexIF
getOccurrenceThemes
in interface ScopeIndexIF
public java.util.Collection<TopicIF> getAssociationThemes()
ScopeIndexIF
getAssociationThemes
in interface ScopeIndexIF
public boolean usedAsTopicNameTheme(TopicIF topic)
ScopeIndexIF
usedAsTopicNameTheme
in interface ScopeIndexIF
public boolean usedAsVariantTheme(TopicIF topic)
ScopeIndexIF
usedAsVariantTheme
in interface ScopeIndexIF
public boolean usedAsOccurrenceTheme(TopicIF topic)
ScopeIndexIF
usedAsOccurrenceTheme
in interface ScopeIndexIF
public boolean usedAsAssociationTheme(TopicIF topic)
ScopeIndexIF
usedAsAssociationTheme
in interface ScopeIndexIF
public 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 |