de.topicmapslab.majortom.queued.store.index
Class ConcurrentSupertypeSubtypeIndex

java.lang.Object
  extended by de.topicmapslab.majortom.queued.store.index.ConcurentIndexImpl<de.topicmapslab.majortom.model.index.ISupertypeSubtypeIndex>
      extended by de.topicmapslab.majortom.queued.store.index.ConcurrentSupertypeSubtypeIndex
All Implemented Interfaces:
de.topicmapslab.majortom.model.index.IIndex, de.topicmapslab.majortom.model.index.ISupertypeSubtypeIndex, org.tmapi.index.Index

public class ConcurrentSupertypeSubtypeIndex
extends ConcurentIndexImpl<de.topicmapslab.majortom.model.index.ISupertypeSubtypeIndex>
implements de.topicmapslab.majortom.model.index.ISupertypeSubtypeIndex

Author:
Sven Krosse

Field Summary
 
Fields inherited from class de.topicmapslab.majortom.queued.store.index.ConcurentIndexImpl
lock
 
Constructor Summary
ConcurrentSupertypeSubtypeIndex(de.topicmapslab.majortom.model.index.ISupertypeSubtypeIndex parentIndex, java.util.concurrent.locks.Lock lock)
           
 
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.queued.store.index.ConcurentIndexImpl
clear, close, getParentIndex, 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

ConcurrentSupertypeSubtypeIndex

public ConcurrentSupertypeSubtypeIndex(de.topicmapslab.majortom.model.index.ISupertypeSubtypeIndex parentIndex,
                                       java.util.concurrent.locks.Lock lock)
Parameters:
parentIndex -
lock -
Method Detail

getSupertypes

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

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 type)

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... 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

getSubtypes

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

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 type)

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... 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