de.topicmapslab.majortom.inmemory.index
Class InMemorySupertypeSubtypeIndex

java.lang.Object
  extended by de.topicmapslab.majortom.index.IndexImpl<InMemoryTopicMapStore>
      extended by de.topicmapslab.majortom.inmemory.index.InMemorySupertypeSubtypeIndex
All Implemented Interfaces:
de.topicmapslab.majortom.model.index.IIndex, de.topicmapslab.majortom.model.index.ISupertypeSubtypeIndex, org.tmapi.index.Index

public class InMemorySupertypeSubtypeIndex
extends IndexImpl<InMemoryTopicMapStore>
implements de.topicmapslab.majortom.model.index.ISupertypeSubtypeIndex

Implementation of the ISupertypeSubtypeIndex

Author:
Sven Krosse

Constructor Summary
InMemorySupertypeSubtypeIndex(InMemoryTopicMapStore store)
          constructor
 
Method Summary
 java.util.Collection<org.tmapi.core.Topic> getDirectSubtypes(org.tmapi.core.Topic type)
          
 java.util.Collection<org.tmapi.core.Topic> getDirectSupertypes(org.tmapi.core.Topic type)
          
 java.util.Collection<org.tmapi.core.Topic> getSubtypes()
          
 java.util.Collection<org.tmapi.core.Topic> getSubtypes(java.util.Collection<? extends org.tmapi.core.Topic> types)
          
 java.util.Collection<org.tmapi.core.Topic> getSubtypes(java.util.Collection<? extends org.tmapi.core.Topic> types, boolean all)
          
 java.util.Collection<org.tmapi.core.Topic> getSubtypes(org.tmapi.core.Topic... types)
          
 java.util.Collection<org.tmapi.core.Topic> getSubtypes(org.tmapi.core.Topic type)
          
 java.util.Collection<org.tmapi.core.Topic> getSupertypes()
          
 java.util.Collection<org.tmapi.core.Topic> getSupertypes(java.util.Collection<? extends org.tmapi.core.Topic> types)
          
 java.util.Collection<org.tmapi.core.Topic> getSupertypes(java.util.Collection<? extends org.tmapi.core.Topic> types, boolean all)
          
 java.util.Collection<org.tmapi.core.Topic> getSupertypes(org.tmapi.core.Topic... types)
          
 java.util.Collection<org.tmapi.core.Topic> getSupertypes(org.tmapi.core.Topic type)
          
 
Methods inherited from class de.topicmapslab.majortom.index.IndexImpl
clear, close, getTopicMapStore, isAutoUpdated, isOpen, open, reindex
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface de.topicmapslab.majortom.model.index.IIndex
clear
 
Methods inherited from interface org.tmapi.index.Index
close, isAutoUpdated, isOpen, open, reindex
 

Constructor Detail

InMemorySupertypeSubtypeIndex

public InMemorySupertypeSubtypeIndex(InMemoryTopicMapStore store)
constructor

Parameters:
store - the in-memory store
Method Detail

getSubtypes

public java.util.Collection<org.tmapi.core.Topic> getSubtypes()

Specified by:
getSubtypes in interface de.topicmapslab.majortom.model.index.ISupertypeSubtypeIndex

getDirectSubtypes

public java.util.Collection<org.tmapi.core.Topic> getDirectSubtypes(org.tmapi.core.Topic type)

Specified by:
getDirectSubtypes in interface de.topicmapslab.majortom.model.index.ISupertypeSubtypeIndex

getSubtypes

public java.util.Collection<org.tmapi.core.Topic> getSubtypes(org.tmapi.core.Topic type)

Specified by:
getSubtypes in interface de.topicmapslab.majortom.model.index.ISupertypeSubtypeIndex

getSubtypes

public java.util.Collection<org.tmapi.core.Topic> getSubtypes(org.tmapi.core.Topic... types)

Specified by:
getSubtypes in interface de.topicmapslab.majortom.model.index.ISupertypeSubtypeIndex

getSubtypes

public java.util.Collection<org.tmapi.core.Topic> getSubtypes(java.util.Collection<? extends org.tmapi.core.Topic> types)

Specified by:
getSubtypes in interface de.topicmapslab.majortom.model.index.ISupertypeSubtypeIndex

getSubtypes

public java.util.Collection<org.tmapi.core.Topic> getSubtypes(java.util.Collection<? extends org.tmapi.core.Topic> types,
                                                              boolean all)

Specified by:
getSubtypes in interface de.topicmapslab.majortom.model.index.ISupertypeSubtypeIndex

getSupertypes

public java.util.Collection<org.tmapi.core.Topic> getSupertypes()

Specified by:
getSupertypes in interface de.topicmapslab.majortom.model.index.ISupertypeSubtypeIndex

getDirectSupertypes

public java.util.Collection<org.tmapi.core.Topic> getDirectSupertypes(org.tmapi.core.Topic type)

Specified by:
getDirectSupertypes in interface de.topicmapslab.majortom.model.index.ISupertypeSubtypeIndex

getSupertypes

public java.util.Collection<org.tmapi.core.Topic> getSupertypes(org.tmapi.core.Topic type)

Specified by:
getSupertypes in interface de.topicmapslab.majortom.model.index.ISupertypeSubtypeIndex

getSupertypes

public java.util.Collection<org.tmapi.core.Topic> getSupertypes(org.tmapi.core.Topic... types)

Specified by:
getSupertypes in interface de.topicmapslab.majortom.model.index.ISupertypeSubtypeIndex

getSupertypes

public java.util.Collection<org.tmapi.core.Topic> getSupertypes(java.util.Collection<? extends org.tmapi.core.Topic> types)

Specified by:
getSupertypes in interface de.topicmapslab.majortom.model.index.ISupertypeSubtypeIndex

getSupertypes

public java.util.Collection<org.tmapi.core.Topic> getSupertypes(java.util.Collection<? extends org.tmapi.core.Topic> types,
                                                                boolean all)

Specified by:
getSupertypes in interface de.topicmapslab.majortom.model.index.ISupertypeSubtypeIndex