Class BasicIndex

java.lang.Object
net.ontopia.topicmaps.impl.utils.AbstractIndex
net.ontopia.topicmaps.impl.utils.BasicIndex
All Implemented Interfaces:
IndexIF, EventListenerIF
Direct Known Subclasses:
ClassInstanceIndex, FulltextIndexManager, IdentifierIndex, NameIndex, OccurrenceIndex, ScopeIndex, StatisticsIndex

public abstract class BasicIndex extends AbstractIndex implements EventListenerIF
INTERNAL: An abstract dynamic index superclass.
  • Field Details

  • Constructor Details

    • BasicIndex

      public BasicIndex()
  • Method Details

    • getIndex

      public IndexIF getIndex()
      Description copied from class: AbstractIndex
      INTERNAL: Method used by IndexManagerIF to manage index creation. The idea behind this method is for the index itself to decide whether to create a new instance every time or the same one.
      Specified by:
      getIndex in class AbstractIndex
      Returns:
      Index instance.
    • processEvent

      public void processEvent(Object object, String event, Object new_value, Object old_value)
      Description copied from interface: EventListenerIF
      INTERNAL: A method that receives notification when an event has been triggered.
      Specified by:
      processEvent in interface EventListenerIF