de.topicmapslab.majortom.database.transaction.index
Class TransactionTypeInstanceIndex

java.lang.Object
  extended by de.topicmapslab.majortom.index.IndexImpl<TransactionTopicMapStore>
      extended by de.topicmapslab.majortom.database.transaction.index.TransactionTypeInstanceIndex
All Implemented Interfaces:
de.topicmapslab.majortom.model.index.IIndex, de.topicmapslab.majortom.model.index.ITypeInstanceIndex, org.tmapi.index.Index, org.tmapi.index.TypeInstanceIndex
Direct Known Subclasses:
TransactionTransitiveTypeInstanceIndex

public class TransactionTypeInstanceIndex
extends IndexImpl<TransactionTopicMapStore>
implements de.topicmapslab.majortom.model.index.ITypeInstanceIndex

Implementation of in memory type-instance index.

Author:
Sven Krosse

Constructor Summary
TransactionTypeInstanceIndex(TransactionTopicMapStore store)
          constructor
 
Method Summary
 java.util.Collection<org.tmapi.core.Association> getAssociations(java.util.Collection<? extends org.tmapi.core.Topic> types)
          
 java.util.Collection<org.tmapi.core.Association> getAssociations(org.tmapi.core.Topic... types)
          
 java.util.Collection<org.tmapi.core.Association> getAssociations(org.tmapi.core.Topic arg0)
          
 java.util.Collection<org.tmapi.core.Topic> getAssociationTypes()
          
 java.util.Collection<de.topicmapslab.majortom.model.core.ICharacteristics> getCharacteristics(java.util.Collection<? extends org.tmapi.core.Topic> types)
          
 java.util.Collection<de.topicmapslab.majortom.model.core.ICharacteristics> getCharacteristics(org.tmapi.core.Topic... types)
          
 java.util.Collection<de.topicmapslab.majortom.model.core.ICharacteristics> getCharacteristics(org.tmapi.core.Topic type)
          
 java.util.Collection<org.tmapi.core.Topic> getCharacteristicTypes()
          
 java.util.Collection<org.tmapi.core.Name> getNames(java.util.Collection<? extends org.tmapi.core.Topic> types)
          
 java.util.Collection<org.tmapi.core.Name> getNames(org.tmapi.core.Topic... types)
          
 java.util.Collection<org.tmapi.core.Name> getNames(org.tmapi.core.Topic type)
          
 java.util.Collection<org.tmapi.core.Topic> getNameTypes()
          
 java.util.Collection<org.tmapi.core.Occurrence> getOccurrences(java.util.Collection<? extends org.tmapi.core.Topic> types)
          
 java.util.Collection<org.tmapi.core.Occurrence> getOccurrences(org.tmapi.core.Topic... types)
          
 java.util.Collection<org.tmapi.core.Occurrence> getOccurrences(org.tmapi.core.Topic type)
          
 java.util.Collection<org.tmapi.core.Topic> getOccurrenceTypes()
          
 java.util.Collection<org.tmapi.core.Role> getRoles(java.util.Collection<? extends org.tmapi.core.Topic> types)
          
 java.util.Collection<org.tmapi.core.Role> getRoles(org.tmapi.core.Topic... types)
          
 java.util.Collection<org.tmapi.core.Role> getRoles(org.tmapi.core.Topic type)
          
 java.util.Collection<org.tmapi.core.Topic> getRoleTypes()
          
 java.util.Collection<org.tmapi.core.Topic> getTopics(java.util.Collection<org.tmapi.core.Topic> types)
          
 java.util.Collection<org.tmapi.core.Topic> getTopics(java.util.Collection<org.tmapi.core.Topic> types, boolean all)
          
 java.util.Collection<org.tmapi.core.Topic> getTopics(org.tmapi.core.Topic... types)
          
 java.util.Collection<org.tmapi.core.Topic> getTopics(org.tmapi.core.Topic type)
          
 java.util.Collection<org.tmapi.core.Topic> getTopics(org.tmapi.core.Topic[] types, boolean all)
          
 java.util.Collection<org.tmapi.core.Topic> getTopicTypes()
          
 
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

TransactionTypeInstanceIndex

public TransactionTypeInstanceIndex(TransactionTopicMapStore store)
constructor

Parameters:
store - the in-memory-store
Method Detail

getAssociationTypes

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

Specified by:
getAssociationTypes in interface org.tmapi.index.TypeInstanceIndex

getAssociations

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

Specified by:
getAssociations in interface de.topicmapslab.majortom.model.index.ITypeInstanceIndex

getAssociations

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

Specified by:
getAssociations in interface de.topicmapslab.majortom.model.index.ITypeInstanceIndex

getAssociations

public java.util.Collection<org.tmapi.core.Association> getAssociations(org.tmapi.core.Topic arg0)

Specified by:
getAssociations in interface org.tmapi.index.TypeInstanceIndex

getCharacteristicTypes

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

Specified by:
getCharacteristicTypes in interface de.topicmapslab.majortom.model.index.ITypeInstanceIndex

getCharacteristics

public java.util.Collection<de.topicmapslab.majortom.model.core.ICharacteristics> getCharacteristics(org.tmapi.core.Topic type)

Specified by:
getCharacteristics in interface de.topicmapslab.majortom.model.index.ITypeInstanceIndex

getCharacteristics

public java.util.Collection<de.topicmapslab.majortom.model.core.ICharacteristics> getCharacteristics(org.tmapi.core.Topic... types)

Specified by:
getCharacteristics in interface de.topicmapslab.majortom.model.index.ITypeInstanceIndex

getCharacteristics

public java.util.Collection<de.topicmapslab.majortom.model.core.ICharacteristics> getCharacteristics(java.util.Collection<? extends org.tmapi.core.Topic> types)

Specified by:
getCharacteristics in interface de.topicmapslab.majortom.model.index.ITypeInstanceIndex

getRoleTypes

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

Specified by:
getRoleTypes in interface org.tmapi.index.TypeInstanceIndex

getRoles

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

Specified by:
getRoles in interface de.topicmapslab.majortom.model.index.ITypeInstanceIndex

getRoles

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

Specified by:
getRoles in interface org.tmapi.index.TypeInstanceIndex

getRoles

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

Specified by:
getRoles in interface de.topicmapslab.majortom.model.index.ITypeInstanceIndex

getNameTypes

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

Specified by:
getNameTypes in interface org.tmapi.index.TypeInstanceIndex

getNames

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

Specified by:
getNames in interface org.tmapi.index.TypeInstanceIndex

getNames

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

Specified by:
getNames in interface de.topicmapslab.majortom.model.index.ITypeInstanceIndex

getNames

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

Specified by:
getNames in interface de.topicmapslab.majortom.model.index.ITypeInstanceIndex

getOccurrenceTypes

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

Specified by:
getOccurrenceTypes in interface org.tmapi.index.TypeInstanceIndex

getOccurrences

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

Specified by:
getOccurrences in interface org.tmapi.index.TypeInstanceIndex

getOccurrences

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

Specified by:
getOccurrences in interface de.topicmapslab.majortom.model.index.ITypeInstanceIndex

getOccurrences

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

Specified by:
getOccurrences in interface de.topicmapslab.majortom.model.index.ITypeInstanceIndex

getTopicTypes

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

Specified by:
getTopicTypes in interface org.tmapi.index.TypeInstanceIndex

getTopics

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

Specified by:
getTopics in interface de.topicmapslab.majortom.model.index.ITypeInstanceIndex

getTopics

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

Specified by:
getTopics in interface de.topicmapslab.majortom.model.index.ITypeInstanceIndex

getTopics

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

Specified by:
getTopics in interface de.topicmapslab.majortom.model.index.ITypeInstanceIndex

getTopics

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

Specified by:
getTopics in interface org.tmapi.index.TypeInstanceIndex

getTopics

public java.util.Collection<org.tmapi.core.Topic> getTopics(org.tmapi.core.Topic[] types,
                                                            boolean all)

Specified by:
getTopics in interface org.tmapi.index.TypeInstanceIndex