org.tm4j.topicmap.index.basic
Interface VariantDataIndex

All Superinterfaces:
Index

public interface VariantDataIndex
extends Index

Interface that provides an index of Variant instances by the data property of their child VariantName instance. For more advanced text indexing of variant names, use FullTextIndex

Since:
0.9.7

Method Summary
 java.util.Collection getVariantsByData(java.lang.String data)
          Returns the Variant instances in the indexed TopicMap where the data property value of the child VariantName object matches data.
 
Methods inherited from interface org.tm4j.topicmap.index.Index
close, isOpen, open, reindex
 

Method Detail

getVariantsByData

public java.util.Collection getVariantsByData(java.lang.String data)
Returns the Variant instances in the indexed TopicMap where the data property value of the child VariantName object matches data.

Parameters:
data - the index value to lookup
Returns:
an unmodifiable collection of Variant instances