net.ontopia.topicmaps.impl.rdbms.index
Class NameIndex

java.lang.Object
  extended by net.ontopia.topicmaps.impl.utils.AbstractIndex
      extended by net.ontopia.topicmaps.impl.rdbms.index.RDBMSIndex
          extended by net.ontopia.topicmaps.impl.rdbms.index.NameIndex
All Implemented Interfaces:
IndexIF, NameIndexIF

public class NameIndex
extends RDBMSIndex
implements NameIndexIF

INTERNAL: The rdbms name index implementation.


Method Summary
 java.util.Collection<TopicNameIF> getTopicNames(java.lang.String 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.
 
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

getTopicNames

public java.util.Collection<TopicNameIF> getTopicNames(java.lang.String value)
Description copied from interface: NameIndexIF
PUBLIC: Gets all topic names that have the given name value (in any scope).

Specified by:
getTopicNames in interface NameIndexIF
Parameters:
value - A string; the value of a topic name.
Returns:
A collection of TopicNameIF objects with the given name value.

getVariants

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

Specified by:
getVariants in interface NameIndexIF
Returns:
A collection of VariantNameIF objects.

getVariants

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

Specified by:
getVariants in interface NameIndexIF
Returns:
A collection of VariantNameIF objects.


Copyright © 2000-2012 Ontopia.