org.tm4j.topicmap.index.basic
Interface OccurrenceDataIndex

All Superinterfaces:
Index

public interface OccurrenceDataIndex
extends Index

This interface provides an index of Occurrence instances by the full text value of the data property. For more advanced text indexing of occurrences, use FullTextIndex

Since:
0.9.3

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

Method Detail

getOccurrencesByData

public java.util.Collection getOccurrencesByData(java.lang.String data)
Returns all Occurrence instances in the indexed TopicMap where the value of the data property matches data.

Parameters:
data - the index value to lookup.
Returns:
an unmodifiable Collection of Occurrence instances.