net.ontopia.topicmaps.core.index
Interface NameIndexIF

All Superinterfaces:
IndexIF
All Known Implementing Classes:
NameIndex, NameIndex

public interface NameIndexIF
extends IndexIF

PUBLIC: Index that holds information about the names of topics in the topic map. The intention is to provide quick lookup of objects by name.


Method Summary
 java.util.Collection<TopicNameIF> getTopicNames(java.lang.String name_value)
          PUBLIC: Gets all topic names that have the given name value (in any scope).
 java.util.Collection<VariantNameIF> getVariants(java.lang.String value)
          INTERNAL: Gets all variants that have the specified value independent of datatype.
 java.util.Collection<VariantNameIF> getVariants(java.lang.String value, LocatorIF datatype)
          INTERNAL: Gets all variants that have the specified value and datatype.
 

Method Detail

getTopicNames

java.util.Collection<TopicNameIF> getTopicNames(java.lang.String name_value)
PUBLIC: Gets all topic names that have the given name value (in any scope).

Parameters:
name_value - A string; the value of a topic name.
Returns:
A collection of TopicNameIF objects with the given name value.

getVariants

java.util.Collection<VariantNameIF> getVariants(java.lang.String value)
INTERNAL: Gets all variants that have the specified value independent of datatype.

Returns:
A collection of VariantNameIF objects.

getVariants

java.util.Collection<VariantNameIF> getVariants(java.lang.String value,
                                                LocatorIF datatype)
INTERNAL: Gets all variants that have the specified value and datatype.

Returns:
A collection of VariantNameIF objects.
Since:
4.0


Copyright © 2000-2012 Ontopia.