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

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

public class TransactionTransitiveTypeInstanceIndex
extends TransactionTypeInstanceIndex
implements de.topicmapslab.majortom.model.index.ITransitiveTypeInstanceIndex

Author:
Sven Krosse

Constructor Summary
TransactionTransitiveTypeInstanceIndex(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 type)
          
 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.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.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.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> 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)
          
 
Methods inherited from class de.topicmapslab.majortom.database.transaction.index.TransactionTypeInstanceIndex
getAssociationTypes, getCharacteristicTypes, getNameTypes, getOccurrenceTypes, getRoleTypes, 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.ITypeInstanceIndex
getCharacteristicTypes
 
Methods inherited from interface org.tmapi.index.TypeInstanceIndex
getAssociationTypes, getNameTypes, getOccurrenceTypes, getRoleTypes, getTopicTypes
 
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

TransactionTransitiveTypeInstanceIndex

public TransactionTransitiveTypeInstanceIndex(TransactionTopicMapStore store)
constructor

Parameters:
store - the parent in-memory topic map store
Method Detail

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
Overrides:
getAssociations in class TransactionTypeInstanceIndex

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
Overrides:
getAssociations in class TransactionTypeInstanceIndex

getAssociations

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

Specified by:
getAssociations in interface org.tmapi.index.TypeInstanceIndex
Overrides:
getAssociations in class TransactionTypeInstanceIndex

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
Overrides:
getCharacteristics in class TransactionTypeInstanceIndex

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
Overrides:
getCharacteristics in class TransactionTypeInstanceIndex

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
Overrides:
getCharacteristics in class TransactionTypeInstanceIndex

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
Overrides:
getRoles in class TransactionTypeInstanceIndex

getRoles

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

Specified by:
getRoles in interface org.tmapi.index.TypeInstanceIndex
Overrides:
getRoles in class TransactionTypeInstanceIndex

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
Overrides:
getRoles in class TransactionTypeInstanceIndex

getNames

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

Specified by:
getNames in interface org.tmapi.index.TypeInstanceIndex
Overrides:
getNames in class TransactionTypeInstanceIndex

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
Overrides:
getNames in class TransactionTypeInstanceIndex

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
Overrides:
getNames in class TransactionTypeInstanceIndex

getOccurrences

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

Specified by:
getOccurrences in interface org.tmapi.index.TypeInstanceIndex
Overrides:
getOccurrences in class TransactionTypeInstanceIndex

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
Overrides:
getOccurrences in class TransactionTypeInstanceIndex

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
Overrides:
getOccurrences in class TransactionTypeInstanceIndex

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
Overrides:
getTopics in class TransactionTypeInstanceIndex

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
Overrides:
getTopics in class TransactionTypeInstanceIndex

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
Overrides:
getTopics in class TransactionTypeInstanceIndex

getTopics

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

Specified by:
getTopics in interface org.tmapi.index.TypeInstanceIndex
Overrides:
getTopics in class TransactionTypeInstanceIndex

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
Overrides:
getTopics in class TransactionTypeInstanceIndex