de.topicmapslab.majortom.index.paged
Class PagedLiteralIndexImpl<X extends de.topicmapslab.majortom.model.store.ITopicMapStore>

java.lang.Object
  extended by de.topicmapslab.majortom.index.IndexImpl<T>
      extended by de.topicmapslab.majortom.index.core.BaseCachedIndexImpl<X>
          extended by de.topicmapslab.majortom.index.core.BaseCachedLiteralIndexImpl<X>
              extended by de.topicmapslab.majortom.index.paged.PagedLiteralIndexImpl<X>
All Implemented Interfaces:
de.topicmapslab.majortom.model.event.ITopicMapListener, de.topicmapslab.majortom.model.index.IIndex, de.topicmapslab.majortom.model.index.paging.IPagedLiteralIndex, org.tmapi.index.Index
Direct Known Subclasses:
InMemoryPagedLiteralIndex, JdbcPagedLiteralIndex, PagedRedisLiteralIndex

public abstract class PagedLiteralIndexImpl<X extends de.topicmapslab.majortom.model.store.ITopicMapStore>
extends BaseCachedLiteralIndexImpl<X>
implements de.topicmapslab.majortom.model.index.paging.IPagedLiteralIndex

Author:
Sven Krosse

Field Summary
private  de.topicmapslab.majortom.model.index.ILiteralIndex parentIndex
           
 
Constructor Summary
PagedLiteralIndexImpl(X store, de.topicmapslab.majortom.model.index.ILiteralIndex parentIndex)
           
 
Method Summary
protected  java.util.List<de.topicmapslab.majortom.model.core.ICharacteristics> doGetBooleans(boolean value, int offset, int limit)
          Returns all characteristics with the given value and the datatype xsd:boolean.
protected  java.util.List<de.topicmapslab.majortom.model.core.ICharacteristics> doGetBooleans(boolean value, int offset, int limit, java.util.Comparator<de.topicmapslab.majortom.model.core.ICharacteristics> comparator)
          Returns all characteristics with the given value and the datatype xsd:boolean.
protected  java.util.List<de.topicmapslab.majortom.model.core.ICharacteristics> doGetCharacteristics(org.tmapi.core.Locator datatype, int offset, int limit)
          Returns all characteristics with the given datatype.
protected  java.util.List<de.topicmapslab.majortom.model.core.ICharacteristics> doGetCharacteristics(org.tmapi.core.Locator datatype, int offset, int limit, java.util.Comparator<de.topicmapslab.majortom.model.core.ICharacteristics> comparator)
          Returns all characteristics with the given datatype.
protected  java.util.List<de.topicmapslab.majortom.model.core.ICharacteristics> doGetCharacteristics(java.lang.String value, int offset, int limit)
          Returns all characteristics with the given value.
protected  java.util.List<de.topicmapslab.majortom.model.core.ICharacteristics> doGetCharacteristics(java.lang.String value, int offset, int limit, java.util.Comparator<de.topicmapslab.majortom.model.core.ICharacteristics> comparator)
          Returns all characteristics with the given value.
protected  java.util.List<de.topicmapslab.majortom.model.core.ICharacteristics> doGetCharacteristics(java.lang.String value, org.tmapi.core.Locator datatype, int offset, int limit)
          Returns all characteristics with the given value and the given datatype.
protected  java.util.List<de.topicmapslab.majortom.model.core.ICharacteristics> doGetCharacteristics(java.lang.String value, org.tmapi.core.Locator datatype, int offset, int limit, java.util.Comparator<de.topicmapslab.majortom.model.core.ICharacteristics> comparator)
          Returns all characteristics with the given value and the given datatype.
protected  java.util.List<de.topicmapslab.majortom.model.core.ICharacteristics> doGetCharacteristicsMatches(java.util.regex.Pattern regExp, int offset, int limit)
          Returns all characteristics which has a value matches the given regular expression.
protected  java.util.List<de.topicmapslab.majortom.model.core.ICharacteristics> doGetCharacteristicsMatches(java.util.regex.Pattern regExp, int offset, int limit, java.util.Comparator<de.topicmapslab.majortom.model.core.ICharacteristics> comparator)
          Returns all characteristics which has a value matches the given regular expression.
protected  java.util.List<de.topicmapslab.majortom.model.core.ICharacteristics> doGetCharacteristicsMatches(java.util.regex.Pattern regExp, org.tmapi.core.Locator datatype, int offset, int limit)
          Returns all characteristics which has a value matches the given regular expression and has the datatype.
protected  java.util.List<de.topicmapslab.majortom.model.core.ICharacteristics> doGetCharacteristicsMatches(java.util.regex.Pattern regExp, org.tmapi.core.Locator datatype, int offset, int limit, java.util.Comparator<de.topicmapslab.majortom.model.core.ICharacteristics> comparator)
          Returns all characteristics which has a value matches the given regular expression and has the datatype.
protected  java.util.List<de.topicmapslab.majortom.model.core.ICharacteristics> doGetCoordinates(de.topicmapslab.geotype.wgs84.Wgs84Coordinate value, double deviance, int offset, int limit)
          Returns all characteristics with the datatype xsd:integer and a geographical coordinate which has a lower or equal distance to the given coordinate like the given deviance.
protected  java.util.List<de.topicmapslab.majortom.model.core.ICharacteristics> doGetCoordinates(de.topicmapslab.geotype.wgs84.Wgs84Coordinate value, double deviance, int offset, int limit, java.util.Comparator<de.topicmapslab.majortom.model.core.ICharacteristics> comparator)
          Returns all characteristics with the datatype xsd:integer and a geographical coordinate which has a lower or equal distance to the given coordinate like the given deviance.
protected  java.util.List<de.topicmapslab.majortom.model.core.ICharacteristics> doGetCoordinates(de.topicmapslab.geotype.wgs84.Wgs84Coordinate value, int offset, int limit)
          Returns all characteristics with the given value and the datatype tm:geo.
protected  java.util.List<de.topicmapslab.majortom.model.core.ICharacteristics> doGetCoordinates(de.topicmapslab.geotype.wgs84.Wgs84Coordinate value, int offset, int limit, java.util.Comparator<de.topicmapslab.majortom.model.core.ICharacteristics> comparator)
          Returns all characteristics with the given value and the datatype tm:geo.
protected  java.util.List<de.topicmapslab.majortom.model.core.IDatatypeAware> doGetDatatypeAwares(org.tmapi.core.Locator dataType, int offset, int limit)
          Returns all variants and occurrences with the given data-type.
protected  java.util.List<de.topicmapslab.majortom.model.core.IDatatypeAware> doGetDatatypeAwares(org.tmapi.core.Locator dataType, int offset, int limit, java.util.Comparator<de.topicmapslab.majortom.model.core.IDatatypeAware> comparator)
          Returns all variants and occurrences with the given data-type.
protected  java.util.List<de.topicmapslab.majortom.model.core.ICharacteristics> doGetDateTime(java.util.Calendar value, java.util.Calendar deviance, int offset, int limit)
          Returns all characteristics with the datatype xsd:time and with a time value which has a difference from the given value lower or equals than the given deviance.
protected  java.util.List<de.topicmapslab.majortom.model.core.ICharacteristics> doGetDateTime(java.util.Calendar value, java.util.Calendar deviance, int offset, int limit, java.util.Comparator<de.topicmapslab.majortom.model.core.ICharacteristics> comparator)
          Returns all characteristics with the datatype xsd:time and with a time value which has a difference from the given value lower or equals than the given deviance.
protected  java.util.List<de.topicmapslab.majortom.model.core.ICharacteristics> doGetDateTime(java.util.Calendar value, int offset, int limit)
          Returns all characteristics with the given value and the datatype xsd:dateTime.
protected  java.util.List<de.topicmapslab.majortom.model.core.ICharacteristics> doGetDateTime(java.util.Calendar value, int offset, int limit, java.util.Comparator<de.topicmapslab.majortom.model.core.ICharacteristics> comparator)
          Returns all characteristics with the given value and the datatype xsd:dateTime.
protected  java.util.List<de.topicmapslab.majortom.model.core.ICharacteristics> doGetDoubles(double value, double deviance, int offset, int limit)
          Returns all characteristics with the datatype xsd:double and a value contained by the given range [value - deviance, value + deviance].
protected  java.util.List<de.topicmapslab.majortom.model.core.ICharacteristics> doGetDoubles(double value, double deviance, int offset, int limit, java.util.Comparator<de.topicmapslab.majortom.model.core.ICharacteristics> comparator)
          Returns all characteristics with the datatype xsd:double and a value contained by the given range [value - deviance, value + deviance].
protected  java.util.List<de.topicmapslab.majortom.model.core.ICharacteristics> doGetDoubles(double value, int offset, int limit)
          Returns all characteristics with the given value and the datatype xsd:double.
protected  java.util.List<de.topicmapslab.majortom.model.core.ICharacteristics> doGetDoubles(double value, int offset, int limit, java.util.Comparator<de.topicmapslab.majortom.model.core.ICharacteristics> comparator)
          Returns all characteristics with the given value and the datatype xsd:double.
protected  java.util.List<de.topicmapslab.majortom.model.core.ICharacteristics> doGetFloats(float value, double deviance, int offset, int limit)
          Returns all characteristics with the datatype xsd:float and a value contained by the given range [value - deviance, value + deviance].
protected  java.util.List<de.topicmapslab.majortom.model.core.ICharacteristics> doGetFloats(float value, double deviance, int offset, int limit, java.util.Comparator<de.topicmapslab.majortom.model.core.ICharacteristics> comparator)
          Returns all characteristics with the datatype xsd:float and a value contained by the given range [value - deviance, value + deviance].
protected  java.util.List<de.topicmapslab.majortom.model.core.ICharacteristics> doGetFloats(float value, int offset, int limit)
          Returns all characteristics with the given value and the datatype xsd:float.
protected  java.util.List<de.topicmapslab.majortom.model.core.ICharacteristics> doGetFloats(float value, int offset, int limit, java.util.Comparator<de.topicmapslab.majortom.model.core.ICharacteristics> comparator)
          Returns all characteristics with the given value and the datatype xsd:float.
protected  java.util.List<de.topicmapslab.majortom.model.core.ICharacteristics> doGetIntegers(int value, double deviance, int offset, int limit)
          Returns all characteristics with the datatype xsd:integer and a value contained by the given range [value - deviance, value + deviance].
protected  java.util.List<de.topicmapslab.majortom.model.core.ICharacteristics> doGetIntegers(int value, double deviance, int offset, int limit, java.util.Comparator<de.topicmapslab.majortom.model.core.ICharacteristics> comparator)
          Returns all characteristics with the datatype xsd:integer and a value contained by the given range [value - deviance, value + deviance].
protected  java.util.List<de.topicmapslab.majortom.model.core.ICharacteristics> doGetIntegers(int value, int offset, int limit)
          Returns all characteristics with the given value and the datatype xsd:integer.
protected  java.util.List<de.topicmapslab.majortom.model.core.ICharacteristics> doGetIntegers(int value, int offset, int limit, java.util.Comparator<de.topicmapslab.majortom.model.core.ICharacteristics> comparator)
          Returns all characteristics with the given value and the datatype xsd:integer.
protected  java.util.List<de.topicmapslab.majortom.model.core.ICharacteristics> doGetLongs(long value, double deviance, int offset, int limit)
          Returns all characteristics with the datatype xsd:long and a value contained by the given range [value - deviance, value + deviance].
protected  java.util.List<de.topicmapslab.majortom.model.core.ICharacteristics> doGetLongs(long value, double deviance, int offset, int limit, java.util.Comparator<de.topicmapslab.majortom.model.core.ICharacteristics> comparator)
          Returns all characteristics with the datatype xsd:long and a value contained by the given range [value - deviance, value + deviance].
protected  java.util.List<de.topicmapslab.majortom.model.core.ICharacteristics> doGetLongs(long value, int offset, int limit)
          Returns all characteristics with the given value and the datatype xsd:long.
protected  java.util.List<de.topicmapslab.majortom.model.core.ICharacteristics> doGetLongs(long value, int offset, int limit, java.util.Comparator<de.topicmapslab.majortom.model.core.ICharacteristics> comparator)
          Returns all characteristics with the given value and the datatype xsd:long.
protected  java.util.List<org.tmapi.core.Name> doGetNames(int offset, int limit)
          Return all names contained by the current topic map.
protected  java.util.List<org.tmapi.core.Name> doGetNames(int offset, int limit, java.util.Comparator<org.tmapi.core.Name> comparator)
          Return all names contained by the current topic map.
protected  java.util.List<org.tmapi.core.Occurrence> doGetOccurrences(int offset, int limit)
          Return all occurrences contained by the current topic map.
protected  java.util.List<org.tmapi.core.Occurrence> doGetOccurrences(int offset, int limit, java.util.Comparator<org.tmapi.core.Occurrence> comparator)
          Return all occurrences contained by the current topic map.
protected  java.util.List<de.topicmapslab.majortom.model.core.ICharacteristics> doGetUris(java.net.URI value, int offset, int limit)
          Returns all characteristics with the given value and the datatype xsd:anyURI.
protected  java.util.List<de.topicmapslab.majortom.model.core.ICharacteristics> doGetUris(java.net.URI value, int offset, int limit, java.util.Comparator<de.topicmapslab.majortom.model.core.ICharacteristics> comparator)
          Returns all characteristics with the given value and the datatype xsd:anyURI.
protected  java.util.List<org.tmapi.core.Variant> doGetVariants(int offset, int limit)
          Return all variants contained by the current topic map.
protected  java.util.List<org.tmapi.core.Variant> doGetVariants(int offset, int limit, java.util.Comparator<org.tmapi.core.Variant> comparator)
          Return all variants contained by the current topic map.
 java.util.List<de.topicmapslab.majortom.model.core.ICharacteristics> getBooleans(boolean value, int offset, int limit)
          
 java.util.List<de.topicmapslab.majortom.model.core.ICharacteristics> getBooleans(boolean value, int offset, int limit, java.util.Comparator<de.topicmapslab.majortom.model.core.ICharacteristics> comparator)
          
 java.util.List<de.topicmapslab.majortom.model.core.ICharacteristics> getCharacteristics(org.tmapi.core.Locator datatype, int offset, int limit)
          
 java.util.List<de.topicmapslab.majortom.model.core.ICharacteristics> getCharacteristics(org.tmapi.core.Locator datatype, int offset, int limit, java.util.Comparator<de.topicmapslab.majortom.model.core.ICharacteristics> comparator)
          
 java.util.List<de.topicmapslab.majortom.model.core.ICharacteristics> getCharacteristics(java.lang.String value, int offset, int limit)
          
 java.util.List<de.topicmapslab.majortom.model.core.ICharacteristics> getCharacteristics(java.lang.String value, int offset, int limit, java.util.Comparator<de.topicmapslab.majortom.model.core.ICharacteristics> comparator)
          
 java.util.List<de.topicmapslab.majortom.model.core.ICharacteristics> getCharacteristics(java.lang.String value, org.tmapi.core.Locator datatype, int offset, int limit)
          
 java.util.List<de.topicmapslab.majortom.model.core.ICharacteristics> getCharacteristics(java.lang.String value, org.tmapi.core.Locator datatype, int offset, int limit, java.util.Comparator<de.topicmapslab.majortom.model.core.ICharacteristics> comparator)
          
 java.util.List<de.topicmapslab.majortom.model.core.ICharacteristics> getCharacteristicsMatches(java.util.regex.Pattern regExp, int offset, int limit)
          
 java.util.List<de.topicmapslab.majortom.model.core.ICharacteristics> getCharacteristicsMatches(java.util.regex.Pattern regExp, int offset, int limit, java.util.Comparator<de.topicmapslab.majortom.model.core.ICharacteristics> comparator)
          
 java.util.List<de.topicmapslab.majortom.model.core.ICharacteristics> getCharacteristicsMatches(java.util.regex.Pattern regExp, org.tmapi.core.Locator datatype, int offset, int limit)
          
 java.util.List<de.topicmapslab.majortom.model.core.ICharacteristics> getCharacteristicsMatches(java.util.regex.Pattern regExp, org.tmapi.core.Locator datatype, int offset, int limit, java.util.Comparator<de.topicmapslab.majortom.model.core.ICharacteristics> comparator)
          
 java.util.List<de.topicmapslab.majortom.model.core.ICharacteristics> getCharacteristicsMatches(java.lang.String regExp, int offset, int limit)
          
 java.util.List<de.topicmapslab.majortom.model.core.ICharacteristics> getCharacteristicsMatches(java.lang.String regExp, int offset, int limit, java.util.Comparator<de.topicmapslab.majortom.model.core.ICharacteristics> comparator)
          
 java.util.List<de.topicmapslab.majortom.model.core.ICharacteristics> getCharacteristicsMatches(java.lang.String regExp, org.tmapi.core.Locator datatype, int offset, int limit)
          
 java.util.List<de.topicmapslab.majortom.model.core.ICharacteristics> getCharacteristicsMatches(java.lang.String regExp, org.tmapi.core.Locator datatype, int offset, int limit, java.util.Comparator<de.topicmapslab.majortom.model.core.ICharacteristics> comparator)
          
 java.util.List<de.topicmapslab.majortom.model.core.ICharacteristics> getCoordinates(de.topicmapslab.geotype.wgs84.Wgs84Coordinate value, double deviance, int offset, int limit)
          
 java.util.List<de.topicmapslab.majortom.model.core.ICharacteristics> getCoordinates(de.topicmapslab.geotype.wgs84.Wgs84Coordinate value, double deviance, int offset, int limit, java.util.Comparator<de.topicmapslab.majortom.model.core.ICharacteristics> comparator)
          
 java.util.List<de.topicmapslab.majortom.model.core.ICharacteristics> getCoordinates(de.topicmapslab.geotype.wgs84.Wgs84Coordinate value, int offset, int limit)
          
 java.util.List<de.topicmapslab.majortom.model.core.ICharacteristics> getCoordinates(de.topicmapslab.geotype.wgs84.Wgs84Coordinate value, int offset, int limit, java.util.Comparator<de.topicmapslab.majortom.model.core.ICharacteristics> comparator)
          
 java.util.List<de.topicmapslab.majortom.model.core.IDatatypeAware> getDatatypeAwares(org.tmapi.core.Locator dataType, int offset, int limit)
          
 java.util.List<de.topicmapslab.majortom.model.core.IDatatypeAware> getDatatypeAwares(org.tmapi.core.Locator dataType, int offset, int limit, java.util.Comparator<de.topicmapslab.majortom.model.core.IDatatypeAware> comparator)
          
 java.util.List<de.topicmapslab.majortom.model.core.ICharacteristics> getDateTime(java.util.Calendar value, java.util.Calendar deviance, int offset, int limit)
          
 java.util.List<de.topicmapslab.majortom.model.core.ICharacteristics> getDateTime(java.util.Calendar value, java.util.Calendar deviance, int offset, int limit, java.util.Comparator<de.topicmapslab.majortom.model.core.ICharacteristics> comparator)
          
 java.util.List<de.topicmapslab.majortom.model.core.ICharacteristics> getDateTime(java.util.Calendar value, int offset, int limit)
          
 java.util.List<de.topicmapslab.majortom.model.core.ICharacteristics> getDateTime(java.util.Calendar value, int offset, int limit, java.util.Comparator<de.topicmapslab.majortom.model.core.ICharacteristics> comparator)
          
 java.util.List<de.topicmapslab.majortom.model.core.ICharacteristics> getDoubles(double value, double deviance, int offset, int limit)
          
 java.util.List<de.topicmapslab.majortom.model.core.ICharacteristics> getDoubles(double value, double deviance, int offset, int limit, java.util.Comparator<de.topicmapslab.majortom.model.core.ICharacteristics> comparator)
          
 java.util.List<de.topicmapslab.majortom.model.core.ICharacteristics> getDoubles(double value, int offset, int limit)
          
 java.util.List<de.topicmapslab.majortom.model.core.ICharacteristics> getDoubles(double value, int offset, int limit, java.util.Comparator<de.topicmapslab.majortom.model.core.ICharacteristics> comparator)
          
 java.util.List<de.topicmapslab.majortom.model.core.ICharacteristics> getFloats(float value, double deviance, int offset, int limit)
          
 java.util.List<de.topicmapslab.majortom.model.core.ICharacteristics> getFloats(float value, double deviance, int offset, int limit, java.util.Comparator<de.topicmapslab.majortom.model.core.ICharacteristics> comparator)
          
 java.util.List<de.topicmapslab.majortom.model.core.ICharacteristics> getFloats(float value, int offset, int limit)
          
 java.util.List<de.topicmapslab.majortom.model.core.ICharacteristics> getFloats(float value, int offset, int limit, java.util.Comparator<de.topicmapslab.majortom.model.core.ICharacteristics> comparator)
          
 java.util.List<de.topicmapslab.majortom.model.core.ICharacteristics> getIntegers(int value, double deviance, int offset, int limit)
          
 java.util.List<de.topicmapslab.majortom.model.core.ICharacteristics> getIntegers(int value, double deviance, int offset, int limit, java.util.Comparator<de.topicmapslab.majortom.model.core.ICharacteristics> comparator)
          
 java.util.List<de.topicmapslab.majortom.model.core.ICharacteristics> getIntegers(int value, int offset, int limit)
          
 java.util.List<de.topicmapslab.majortom.model.core.ICharacteristics> getIntegers(int value, int offset, int limit, java.util.Comparator<de.topicmapslab.majortom.model.core.ICharacteristics> comparator)
          
 java.util.List<de.topicmapslab.majortom.model.core.ICharacteristics> getLongs(long value, double deviance, int offset, int limit)
          
 java.util.List<de.topicmapslab.majortom.model.core.ICharacteristics> getLongs(long value, double deviance, int offset, int limit, java.util.Comparator<de.topicmapslab.majortom.model.core.ICharacteristics> comparator)
          
 java.util.List<de.topicmapslab.majortom.model.core.ICharacteristics> getLongs(long value, int offset, int limit)
          
 java.util.List<de.topicmapslab.majortom.model.core.ICharacteristics> getLongs(long value, int offset, int limit, java.util.Comparator<de.topicmapslab.majortom.model.core.ICharacteristics> comparator)
          
 java.util.List<org.tmapi.core.Name> getNames(int offset, int limit)
          
 java.util.List<org.tmapi.core.Name> getNames(int offset, int limit, java.util.Comparator<org.tmapi.core.Name> comparator)
          
 java.util.List<org.tmapi.core.Occurrence> getOccurrences(int offset, int limit)
          
 java.util.List<org.tmapi.core.Occurrence> getOccurrences(int offset, int limit, java.util.Comparator<org.tmapi.core.Occurrence> comparator)
          
 de.topicmapslab.majortom.model.index.ILiteralIndex getParentIndex()
           
 java.util.List<de.topicmapslab.majortom.model.core.ICharacteristics> getUris(java.net.URI value, int offset, int limit)
          
 java.util.List<de.topicmapslab.majortom.model.core.ICharacteristics> getUris(java.net.URI value, int offset, int limit, java.util.Comparator<de.topicmapslab.majortom.model.core.ICharacteristics> comparator)
          
 java.util.List<org.tmapi.core.Variant> getVariants(int offset, int limit)
          
 java.util.List<org.tmapi.core.Variant> getVariants(int offset, int limit, java.util.Comparator<org.tmapi.core.Variant> comparator)
          
 void open()
          
 
Methods inherited from class de.topicmapslab.majortom.index.core.BaseCachedLiteralIndexImpl
cache, cache, cacheConstructs, cacheConstructs, cacheConstructs, cacheConstructs, clear, clearCache, close, read, read, readConstructs, readConstructs, readConstructs, readConstructs, topicMapChanged
 
Methods inherited from class de.topicmapslab.majortom.index.core.BaseCachedIndexImpl
isCachingEnabled, isOnTransactionContext, isOnTransactionContext, isOnTransactionContext, isOnTransactionContext, isOnTransactionContext
 
Methods inherited from class de.topicmapslab.majortom.index.IndexImpl
getTopicMapStore, isAutoUpdated, isOpen, 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, reindex
 

Field Detail

parentIndex

private final de.topicmapslab.majortom.model.index.ILiteralIndex parentIndex
Constructor Detail

PagedLiteralIndexImpl

public PagedLiteralIndexImpl(X store,
                             de.topicmapslab.majortom.model.index.ILiteralIndex parentIndex)
Parameters:
store -
parentIndex -
Method Detail

getParentIndex

public de.topicmapslab.majortom.model.index.ILiteralIndex getParentIndex()
Returns:
the parentIndex

getBooleans

public java.util.List<de.topicmapslab.majortom.model.core.ICharacteristics> getBooleans(boolean value,
                                                                                        int offset,
                                                                                        int limit)

Specified by:
getBooleans in interface de.topicmapslab.majortom.model.index.paging.IPagedLiteralIndex

getBooleans

public java.util.List<de.topicmapslab.majortom.model.core.ICharacteristics> getBooleans(boolean value,
                                                                                        int offset,
                                                                                        int limit,
                                                                                        java.util.Comparator<de.topicmapslab.majortom.model.core.ICharacteristics> comparator)

Specified by:
getBooleans in interface de.topicmapslab.majortom.model.index.paging.IPagedLiteralIndex

getCharacteristics

public java.util.List<de.topicmapslab.majortom.model.core.ICharacteristics> getCharacteristics(java.lang.String value,
                                                                                               int offset,
                                                                                               int limit)

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

getCharacteristics

public java.util.List<de.topicmapslab.majortom.model.core.ICharacteristics> getCharacteristics(java.lang.String value,
                                                                                               int offset,
                                                                                               int limit,
                                                                                               java.util.Comparator<de.topicmapslab.majortom.model.core.ICharacteristics> comparator)

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

getCharacteristics

public java.util.List<de.topicmapslab.majortom.model.core.ICharacteristics> getCharacteristics(org.tmapi.core.Locator datatype,
                                                                                               int offset,
                                                                                               int limit)

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

getCharacteristics

public java.util.List<de.topicmapslab.majortom.model.core.ICharacteristics> getCharacteristics(org.tmapi.core.Locator datatype,
                                                                                               int offset,
                                                                                               int limit,
                                                                                               java.util.Comparator<de.topicmapslab.majortom.model.core.ICharacteristics> comparator)

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

getCharacteristics

public java.util.List<de.topicmapslab.majortom.model.core.ICharacteristics> getCharacteristics(java.lang.String value,
                                                                                               org.tmapi.core.Locator datatype,
                                                                                               int offset,
                                                                                               int limit)

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

getCharacteristics

public java.util.List<de.topicmapslab.majortom.model.core.ICharacteristics> getCharacteristics(java.lang.String value,
                                                                                               org.tmapi.core.Locator datatype,
                                                                                               int offset,
                                                                                               int limit,
                                                                                               java.util.Comparator<de.topicmapslab.majortom.model.core.ICharacteristics> comparator)

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

getCharacteristicsMatches

public java.util.List<de.topicmapslab.majortom.model.core.ICharacteristics> getCharacteristicsMatches(java.lang.String regExp,
                                                                                                      int offset,
                                                                                                      int limit)

Specified by:
getCharacteristicsMatches in interface de.topicmapslab.majortom.model.index.paging.IPagedLiteralIndex

getCharacteristicsMatches

public java.util.List<de.topicmapslab.majortom.model.core.ICharacteristics> getCharacteristicsMatches(java.lang.String regExp,
                                                                                                      int offset,
                                                                                                      int limit,
                                                                                                      java.util.Comparator<de.topicmapslab.majortom.model.core.ICharacteristics> comparator)

Specified by:
getCharacteristicsMatches in interface de.topicmapslab.majortom.model.index.paging.IPagedLiteralIndex

getCharacteristicsMatches

public java.util.List<de.topicmapslab.majortom.model.core.ICharacteristics> getCharacteristicsMatches(java.lang.String regExp,
                                                                                                      org.tmapi.core.Locator datatype,
                                                                                                      int offset,
                                                                                                      int limit)

Specified by:
getCharacteristicsMatches in interface de.topicmapslab.majortom.model.index.paging.IPagedLiteralIndex

getCharacteristicsMatches

public java.util.List<de.topicmapslab.majortom.model.core.ICharacteristics> getCharacteristicsMatches(java.lang.String regExp,
                                                                                                      org.tmapi.core.Locator datatype,
                                                                                                      int offset,
                                                                                                      int limit,
                                                                                                      java.util.Comparator<de.topicmapslab.majortom.model.core.ICharacteristics> comparator)

Specified by:
getCharacteristicsMatches in interface de.topicmapslab.majortom.model.index.paging.IPagedLiteralIndex

getCharacteristicsMatches

public java.util.List<de.topicmapslab.majortom.model.core.ICharacteristics> getCharacteristicsMatches(java.util.regex.Pattern regExp,
                                                                                                      int offset,
                                                                                                      int limit)

Specified by:
getCharacteristicsMatches in interface de.topicmapslab.majortom.model.index.paging.IPagedLiteralIndex

getCharacteristicsMatches

public java.util.List<de.topicmapslab.majortom.model.core.ICharacteristics> getCharacteristicsMatches(java.util.regex.Pattern regExp,
                                                                                                      int offset,
                                                                                                      int limit,
                                                                                                      java.util.Comparator<de.topicmapslab.majortom.model.core.ICharacteristics> comparator)

Specified by:
getCharacteristicsMatches in interface de.topicmapslab.majortom.model.index.paging.IPagedLiteralIndex

getCharacteristicsMatches

public java.util.List<de.topicmapslab.majortom.model.core.ICharacteristics> getCharacteristicsMatches(java.util.regex.Pattern regExp,
                                                                                                      org.tmapi.core.Locator datatype,
                                                                                                      int offset,
                                                                                                      int limit)

Specified by:
getCharacteristicsMatches in interface de.topicmapslab.majortom.model.index.paging.IPagedLiteralIndex

getCharacteristicsMatches

public java.util.List<de.topicmapslab.majortom.model.core.ICharacteristics> getCharacteristicsMatches(java.util.regex.Pattern regExp,
                                                                                                      org.tmapi.core.Locator datatype,
                                                                                                      int offset,
                                                                                                      int limit,
                                                                                                      java.util.Comparator<de.topicmapslab.majortom.model.core.ICharacteristics> comparator)

Specified by:
getCharacteristicsMatches in interface de.topicmapslab.majortom.model.index.paging.IPagedLiteralIndex

getCoordinates

public java.util.List<de.topicmapslab.majortom.model.core.ICharacteristics> getCoordinates(de.topicmapslab.geotype.wgs84.Wgs84Coordinate value,
                                                                                           int offset,
                                                                                           int limit)

Specified by:
getCoordinates in interface de.topicmapslab.majortom.model.index.paging.IPagedLiteralIndex

getCoordinates

public java.util.List<de.topicmapslab.majortom.model.core.ICharacteristics> getCoordinates(de.topicmapslab.geotype.wgs84.Wgs84Coordinate value,
                                                                                           int offset,
                                                                                           int limit,
                                                                                           java.util.Comparator<de.topicmapslab.majortom.model.core.ICharacteristics> comparator)

Specified by:
getCoordinates in interface de.topicmapslab.majortom.model.index.paging.IPagedLiteralIndex

getCoordinates

public java.util.List<de.topicmapslab.majortom.model.core.ICharacteristics> getCoordinates(de.topicmapslab.geotype.wgs84.Wgs84Coordinate value,
                                                                                           double deviance,
                                                                                           int offset,
                                                                                           int limit)

Specified by:
getCoordinates in interface de.topicmapslab.majortom.model.index.paging.IPagedLiteralIndex

getCoordinates

public java.util.List<de.topicmapslab.majortom.model.core.ICharacteristics> getCoordinates(de.topicmapslab.geotype.wgs84.Wgs84Coordinate value,
                                                                                           double deviance,
                                                                                           int offset,
                                                                                           int limit,
                                                                                           java.util.Comparator<de.topicmapslab.majortom.model.core.ICharacteristics> comparator)

Specified by:
getCoordinates in interface de.topicmapslab.majortom.model.index.paging.IPagedLiteralIndex

getDatatypeAwares

public java.util.List<de.topicmapslab.majortom.model.core.IDatatypeAware> getDatatypeAwares(org.tmapi.core.Locator dataType,
                                                                                            int offset,
                                                                                            int limit)

Specified by:
getDatatypeAwares in interface de.topicmapslab.majortom.model.index.paging.IPagedLiteralIndex

getDatatypeAwares

public java.util.List<de.topicmapslab.majortom.model.core.IDatatypeAware> getDatatypeAwares(org.tmapi.core.Locator dataType,
                                                                                            int offset,
                                                                                            int limit,
                                                                                            java.util.Comparator<de.topicmapslab.majortom.model.core.IDatatypeAware> comparator)

Specified by:
getDatatypeAwares in interface de.topicmapslab.majortom.model.index.paging.IPagedLiteralIndex

getDateTime

public java.util.List<de.topicmapslab.majortom.model.core.ICharacteristics> getDateTime(java.util.Calendar value,
                                                                                        int offset,
                                                                                        int limit)

Specified by:
getDateTime in interface de.topicmapslab.majortom.model.index.paging.IPagedLiteralIndex

getDateTime

public java.util.List<de.topicmapslab.majortom.model.core.ICharacteristics> getDateTime(java.util.Calendar value,
                                                                                        int offset,
                                                                                        int limit,
                                                                                        java.util.Comparator<de.topicmapslab.majortom.model.core.ICharacteristics> comparator)

Specified by:
getDateTime in interface de.topicmapslab.majortom.model.index.paging.IPagedLiteralIndex

getDateTime

public java.util.List<de.topicmapslab.majortom.model.core.ICharacteristics> getDateTime(java.util.Calendar value,
                                                                                        java.util.Calendar deviance,
                                                                                        int offset,
                                                                                        int limit)

Specified by:
getDateTime in interface de.topicmapslab.majortom.model.index.paging.IPagedLiteralIndex

getDateTime

public java.util.List<de.topicmapslab.majortom.model.core.ICharacteristics> getDateTime(java.util.Calendar value,
                                                                                        java.util.Calendar deviance,
                                                                                        int offset,
                                                                                        int limit,
                                                                                        java.util.Comparator<de.topicmapslab.majortom.model.core.ICharacteristics> comparator)

Specified by:
getDateTime in interface de.topicmapslab.majortom.model.index.paging.IPagedLiteralIndex

getDoubles

public java.util.List<de.topicmapslab.majortom.model.core.ICharacteristics> getDoubles(double value,
                                                                                       int offset,
                                                                                       int limit)

Specified by:
getDoubles in interface de.topicmapslab.majortom.model.index.paging.IPagedLiteralIndex

getDoubles

public java.util.List<de.topicmapslab.majortom.model.core.ICharacteristics> getDoubles(double value,
                                                                                       int offset,
                                                                                       int limit,
                                                                                       java.util.Comparator<de.topicmapslab.majortom.model.core.ICharacteristics> comparator)

Specified by:
getDoubles in interface de.topicmapslab.majortom.model.index.paging.IPagedLiteralIndex

getDoubles

public java.util.List<de.topicmapslab.majortom.model.core.ICharacteristics> getDoubles(double value,
                                                                                       double deviance,
                                                                                       int offset,
                                                                                       int limit)

Specified by:
getDoubles in interface de.topicmapslab.majortom.model.index.paging.IPagedLiteralIndex

getDoubles

public java.util.List<de.topicmapslab.majortom.model.core.ICharacteristics> getDoubles(double value,
                                                                                       double deviance,
                                                                                       int offset,
                                                                                       int limit,
                                                                                       java.util.Comparator<de.topicmapslab.majortom.model.core.ICharacteristics> comparator)

Specified by:
getDoubles in interface de.topicmapslab.majortom.model.index.paging.IPagedLiteralIndex

getFloats

public java.util.List<de.topicmapslab.majortom.model.core.ICharacteristics> getFloats(float value,
                                                                                      int offset,
                                                                                      int limit)

Specified by:
getFloats in interface de.topicmapslab.majortom.model.index.paging.IPagedLiteralIndex

getFloats

public java.util.List<de.topicmapslab.majortom.model.core.ICharacteristics> getFloats(float value,
                                                                                      int offset,
                                                                                      int limit,
                                                                                      java.util.Comparator<de.topicmapslab.majortom.model.core.ICharacteristics> comparator)

Specified by:
getFloats in interface de.topicmapslab.majortom.model.index.paging.IPagedLiteralIndex

getFloats

public java.util.List<de.topicmapslab.majortom.model.core.ICharacteristics> getFloats(float value,
                                                                                      double deviance,
                                                                                      int offset,
                                                                                      int limit)

Specified by:
getFloats in interface de.topicmapslab.majortom.model.index.paging.IPagedLiteralIndex

getFloats

public java.util.List<de.topicmapslab.majortom.model.core.ICharacteristics> getFloats(float value,
                                                                                      double deviance,
                                                                                      int offset,
                                                                                      int limit,
                                                                                      java.util.Comparator<de.topicmapslab.majortom.model.core.ICharacteristics> comparator)

Specified by:
getFloats in interface de.topicmapslab.majortom.model.index.paging.IPagedLiteralIndex

getIntegers

public java.util.List<de.topicmapslab.majortom.model.core.ICharacteristics> getIntegers(int value,
                                                                                        int offset,
                                                                                        int limit)

Specified by:
getIntegers in interface de.topicmapslab.majortom.model.index.paging.IPagedLiteralIndex

getIntegers

public java.util.List<de.topicmapslab.majortom.model.core.ICharacteristics> getIntegers(int value,
                                                                                        int offset,
                                                                                        int limit,
                                                                                        java.util.Comparator<de.topicmapslab.majortom.model.core.ICharacteristics> comparator)

Specified by:
getIntegers in interface de.topicmapslab.majortom.model.index.paging.IPagedLiteralIndex

getIntegers

public java.util.List<de.topicmapslab.majortom.model.core.ICharacteristics> getIntegers(int value,
                                                                                        double deviance,
                                                                                        int offset,
                                                                                        int limit)

Specified by:
getIntegers in interface de.topicmapslab.majortom.model.index.paging.IPagedLiteralIndex

getIntegers

public java.util.List<de.topicmapslab.majortom.model.core.ICharacteristics> getIntegers(int value,
                                                                                        double deviance,
                                                                                        int offset,
                                                                                        int limit,
                                                                                        java.util.Comparator<de.topicmapslab.majortom.model.core.ICharacteristics> comparator)

Specified by:
getIntegers in interface de.topicmapslab.majortom.model.index.paging.IPagedLiteralIndex

getLongs

public java.util.List<de.topicmapslab.majortom.model.core.ICharacteristics> getLongs(long value,
                                                                                     int offset,
                                                                                     int limit)

Specified by:
getLongs in interface de.topicmapslab.majortom.model.index.paging.IPagedLiteralIndex

getLongs

public java.util.List<de.topicmapslab.majortom.model.core.ICharacteristics> getLongs(long value,
                                                                                     int offset,
                                                                                     int limit,
                                                                                     java.util.Comparator<de.topicmapslab.majortom.model.core.ICharacteristics> comparator)

Specified by:
getLongs in interface de.topicmapslab.majortom.model.index.paging.IPagedLiteralIndex

getLongs

public java.util.List<de.topicmapslab.majortom.model.core.ICharacteristics> getLongs(long value,
                                                                                     double deviance,
                                                                                     int offset,
                                                                                     int limit)

Specified by:
getLongs in interface de.topicmapslab.majortom.model.index.paging.IPagedLiteralIndex

getLongs

public java.util.List<de.topicmapslab.majortom.model.core.ICharacteristics> getLongs(long value,
                                                                                     double deviance,
                                                                                     int offset,
                                                                                     int limit,
                                                                                     java.util.Comparator<de.topicmapslab.majortom.model.core.ICharacteristics> comparator)

Specified by:
getLongs in interface de.topicmapslab.majortom.model.index.paging.IPagedLiteralIndex

getNames

public java.util.List<org.tmapi.core.Name> getNames(int offset,
                                                    int limit)

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

getNames

public java.util.List<org.tmapi.core.Name> getNames(int offset,
                                                    int limit,
                                                    java.util.Comparator<org.tmapi.core.Name> comparator)

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

getOccurrences

public java.util.List<org.tmapi.core.Occurrence> getOccurrences(int offset,
                                                                int limit)

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

getOccurrences

public java.util.List<org.tmapi.core.Occurrence> getOccurrences(int offset,
                                                                int limit,
                                                                java.util.Comparator<org.tmapi.core.Occurrence> comparator)

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

getUris

public java.util.List<de.topicmapslab.majortom.model.core.ICharacteristics> getUris(java.net.URI value,
                                                                                    int offset,
                                                                                    int limit)

Specified by:
getUris in interface de.topicmapslab.majortom.model.index.paging.IPagedLiteralIndex

getUris

public java.util.List<de.topicmapslab.majortom.model.core.ICharacteristics> getUris(java.net.URI value,
                                                                                    int offset,
                                                                                    int limit,
                                                                                    java.util.Comparator<de.topicmapslab.majortom.model.core.ICharacteristics> comparator)

Specified by:
getUris in interface de.topicmapslab.majortom.model.index.paging.IPagedLiteralIndex

getVariants

public java.util.List<org.tmapi.core.Variant> getVariants(int offset,
                                                          int limit)

Specified by:
getVariants in interface de.topicmapslab.majortom.model.index.paging.IPagedLiteralIndex

getVariants

public java.util.List<org.tmapi.core.Variant> getVariants(int offset,
                                                          int limit,
                                                          java.util.Comparator<org.tmapi.core.Variant> comparator)

Specified by:
getVariants in interface de.topicmapslab.majortom.model.index.paging.IPagedLiteralIndex

open

public void open()

Specified by:
open in interface org.tmapi.index.Index
Overrides:
open in class BaseCachedLiteralIndexImpl<X extends de.topicmapslab.majortom.model.store.ITopicMapStore>

doGetCharacteristics

protected java.util.List<de.topicmapslab.majortom.model.core.ICharacteristics> doGetCharacteristics(java.lang.String value,
                                                                                                    int offset,
                                                                                                    int limit)
Returns all characteristics with the given value.

Parameters:
value - the value of the characteristics
offset - the index of the first item
limit - the maximum count of returned values
Returns:
the characteristics within the given range

doGetCharacteristics

protected java.util.List<de.topicmapslab.majortom.model.core.ICharacteristics> doGetCharacteristics(java.lang.String value,
                                                                                                    int offset,
                                                                                                    int limit,
                                                                                                    java.util.Comparator<de.topicmapslab.majortom.model.core.ICharacteristics> comparator)
Returns all characteristics with the given value.

Parameters:
value - the value of the characteristics
offset - the index of the first item
limit - the maximum count of returned values
comparator - the comparator
Returns:
the characteristics within the given range

doGetCharacteristics

protected java.util.List<de.topicmapslab.majortom.model.core.ICharacteristics> doGetCharacteristics(org.tmapi.core.Locator datatype,
                                                                                                    int offset,
                                                                                                    int limit)
Returns all characteristics with the given datatype.

Parameters:
datatype - the datatype
offset - the index of the first item
limit - the maximum count of returned values
Returns:
the characteristics within the given range

doGetCharacteristics

protected java.util.List<de.topicmapslab.majortom.model.core.ICharacteristics> doGetCharacteristics(org.tmapi.core.Locator datatype,
                                                                                                    int offset,
                                                                                                    int limit,
                                                                                                    java.util.Comparator<de.topicmapslab.majortom.model.core.ICharacteristics> comparator)
Returns all characteristics with the given datatype.

Parameters:
datatype - the datatype
offset - the index of the first item
limit - the maximum count of returned values
comparator - the comparator
Returns:
the characteristics within the given range

doGetCharacteristics

protected java.util.List<de.topicmapslab.majortom.model.core.ICharacteristics> doGetCharacteristics(java.lang.String value,
                                                                                                    org.tmapi.core.Locator datatype,
                                                                                                    int offset,
                                                                                                    int limit)
Returns all characteristics with the given value and the given datatype.

Parameters:
value - the value of the characteristics
datatype - the datatype
offset - the index of the first item
limit - the maximum count of returned values
Returns:
the characteristics within the given range

doGetCharacteristics

protected java.util.List<de.topicmapslab.majortom.model.core.ICharacteristics> doGetCharacteristics(java.lang.String value,
                                                                                                    org.tmapi.core.Locator datatype,
                                                                                                    int offset,
                                                                                                    int limit,
                                                                                                    java.util.Comparator<de.topicmapslab.majortom.model.core.ICharacteristics> comparator)
Returns all characteristics with the given value and the given datatype.

Parameters:
value - the value of the characteristics
datatype - the datatype
offset - the index of the first item
limit - the maximum count of returned values
comparator - the comparator
Returns:
the characteristics within the given range

doGetCharacteristicsMatches

protected java.util.List<de.topicmapslab.majortom.model.core.ICharacteristics> doGetCharacteristicsMatches(java.util.regex.Pattern regExp,
                                                                                                           int offset,
                                                                                                           int limit)
Returns all characteristics which has a value matches the given regular expression.

Parameters:
regExp - the regular expression
offset - the index of the first item
limit - the maximum count of returned values
Returns:
the characteristics within the given range with matching values

doGetCharacteristicsMatches

protected java.util.List<de.topicmapslab.majortom.model.core.ICharacteristics> doGetCharacteristicsMatches(java.util.regex.Pattern regExp,
                                                                                                           int offset,
                                                                                                           int limit,
                                                                                                           java.util.Comparator<de.topicmapslab.majortom.model.core.ICharacteristics> comparator)
Returns all characteristics which has a value matches the given regular expression.

Parameters:
regExp - the regular expression
offset - the index of the first item
limit - the maximum count of returned values
comparator - the comparator
Returns:
the characteristics within the given range with matching values

doGetCharacteristicsMatches

protected java.util.List<de.topicmapslab.majortom.model.core.ICharacteristics> doGetCharacteristicsMatches(java.util.regex.Pattern regExp,
                                                                                                           org.tmapi.core.Locator datatype,
                                                                                                           int offset,
                                                                                                           int limit)
Returns all characteristics which has a value matches the given regular expression and has the datatype.

Parameters:
regExp - the regular expression
datatype - the datatype
offset - the index of the first item
limit - the maximum count of returned values
Returns:
the characteristics within the given range with matching values

doGetCharacteristicsMatches

protected java.util.List<de.topicmapslab.majortom.model.core.ICharacteristics> doGetCharacteristicsMatches(java.util.regex.Pattern regExp,
                                                                                                           org.tmapi.core.Locator datatype,
                                                                                                           int offset,
                                                                                                           int limit,
                                                                                                           java.util.Comparator<de.topicmapslab.majortom.model.core.ICharacteristics> comparator)
Returns all characteristics which has a value matches the given regular expression and has the datatype.

Parameters:
regExp - the regular expression
datatype - the datatype
offset - the index of the first item
limit - the maximum count of returned values
comparator - the comparator
Returns:
the characteristics within the given range with matching values

doGetUris

protected java.util.List<de.topicmapslab.majortom.model.core.ICharacteristics> doGetUris(java.net.URI value,
                                                                                         int offset,
                                                                                         int limit)
Returns all characteristics with the given value and the datatype xsd:anyURI.

Parameters:
value - the value
offset - the index of the first item
limit - the maximum count of returned values
Returns:
the characteristics within the given range with the URI value

doGetUris

protected java.util.List<de.topicmapslab.majortom.model.core.ICharacteristics> doGetUris(java.net.URI value,
                                                                                         int offset,
                                                                                         int limit,
                                                                                         java.util.Comparator<de.topicmapslab.majortom.model.core.ICharacteristics> comparator)
Returns all characteristics with the given value and the datatype xsd:anyURI.

Parameters:
value - the value
offset - the index of the first item
limit - the maximum count of returned values
comparator - the comparator
Returns:
the characteristics within the given range with the URI value

doGetIntegers

protected java.util.List<de.topicmapslab.majortom.model.core.ICharacteristics> doGetIntegers(int value,
                                                                                             int offset,
                                                                                             int limit)
Returns all characteristics with the given value and the datatype xsd:integer.

Parameters:
value - the value
offset - the index of the first item
limit - the maximum count of returned values
Returns:
the characteristics within the given range with the integer value

doGetIntegers

protected java.util.List<de.topicmapslab.majortom.model.core.ICharacteristics> doGetIntegers(int value,
                                                                                             int offset,
                                                                                             int limit,
                                                                                             java.util.Comparator<de.topicmapslab.majortom.model.core.ICharacteristics> comparator)
Returns all characteristics with the given value and the datatype xsd:integer.

Parameters:
value - the value
offset - the index of the first item
limit - the maximum count of returned values
comparator - the comparator
Returns:
the characteristics within the given range with the integer value

doGetIntegers

protected java.util.List<de.topicmapslab.majortom.model.core.ICharacteristics> doGetIntegers(int value,
                                                                                             double deviance,
                                                                                             int offset,
                                                                                             int limit)
Returns all characteristics with the datatype xsd:integer and a value contained by the given range [value - deviance, value + deviance].

Parameters:
value - the value
deviance - the maximum difference
offset - the index of the first item
limit - the maximum count of returned values
Returns:
the characteristics within the given range

doGetIntegers

protected java.util.List<de.topicmapslab.majortom.model.core.ICharacteristics> doGetIntegers(int value,
                                                                                             double deviance,
                                                                                             int offset,
                                                                                             int limit,
                                                                                             java.util.Comparator<de.topicmapslab.majortom.model.core.ICharacteristics> comparator)
Returns all characteristics with the datatype xsd:integer and a value contained by the given range [value - deviance, value + deviance].

Parameters:
value - the value
deviance - the maximum difference
offset - the index of the first item
limit - the maximum count of returned values
comparator - the comparator
Returns:
the characteristics within the given range

doGetLongs

protected java.util.List<de.topicmapslab.majortom.model.core.ICharacteristics> doGetLongs(long value,
                                                                                          int offset,
                                                                                          int limit)
Returns all characteristics with the given value and the datatype xsd:long.

Parameters:
value - the value
offset - the index of the first item
limit - the maximum count of returned values
Returns:
the characteristics within the given range with the long value

doGetLongs

protected java.util.List<de.topicmapslab.majortom.model.core.ICharacteristics> doGetLongs(long value,
                                                                                          int offset,
                                                                                          int limit,
                                                                                          java.util.Comparator<de.topicmapslab.majortom.model.core.ICharacteristics> comparator)
Returns all characteristics with the given value and the datatype xsd:long.

Parameters:
value - the value
offset - the index of the first item
limit - the maximum count of returned values
comparator - the comparator
Returns:
the characteristics within the given range with the long value

doGetLongs

protected java.util.List<de.topicmapslab.majortom.model.core.ICharacteristics> doGetLongs(long value,
                                                                                          double deviance,
                                                                                          int offset,
                                                                                          int limit)
Returns all characteristics with the datatype xsd:long and a value contained by the given range [value - deviance, value + deviance].

Parameters:
value - the value
deviance - the maximum difference
offset - the index of the first item
limit - the maximum count of returned values
Returns:
the characteristics within the given range

doGetLongs

protected java.util.List<de.topicmapslab.majortom.model.core.ICharacteristics> doGetLongs(long value,
                                                                                          double deviance,
                                                                                          int offset,
                                                                                          int limit,
                                                                                          java.util.Comparator<de.topicmapslab.majortom.model.core.ICharacteristics> comparator)
Returns all characteristics with the datatype xsd:long and a value contained by the given range [value - deviance, value + deviance].

Parameters:
value - the value
deviance - the maximum difference
offset - the index of the first item
limit - the maximum count of returned values
comparator - the comparator
Returns:
the characteristics within the given range

doGetFloats

protected java.util.List<de.topicmapslab.majortom.model.core.ICharacteristics> doGetFloats(float value,
                                                                                           int offset,
                                                                                           int limit)
Returns all characteristics with the given value and the datatype xsd:float.

Parameters:
value - the value
offset - the index of the first item
limit - the maximum count of returned values
comparator - the comparator
Returns:
the characteristics within the given range with the float value

doGetFloats

protected java.util.List<de.topicmapslab.majortom.model.core.ICharacteristics> doGetFloats(float value,
                                                                                           int offset,
                                                                                           int limit,
                                                                                           java.util.Comparator<de.topicmapslab.majortom.model.core.ICharacteristics> comparator)
Returns all characteristics with the given value and the datatype xsd:float.

Parameters:
value - the value
offset - the index of the first item
limit - the maximum count of returned values
comparator - the comparator
Returns:
the characteristics within the given range with the float value

doGetFloats

protected java.util.List<de.topicmapslab.majortom.model.core.ICharacteristics> doGetFloats(float value,
                                                                                           double deviance,
                                                                                           int offset,
                                                                                           int limit)
Returns all characteristics with the datatype xsd:float and a value contained by the given range [value - deviance, value + deviance].

Parameters:
value - the value
deviance - the maximum difference
offset - the index of the first item
limit - the maximum count of returned values
comparator - the comparator
Returns:
the characteristics within the given range

doGetFloats

protected java.util.List<de.topicmapslab.majortom.model.core.ICharacteristics> doGetFloats(float value,
                                                                                           double deviance,
                                                                                           int offset,
                                                                                           int limit,
                                                                                           java.util.Comparator<de.topicmapslab.majortom.model.core.ICharacteristics> comparator)
Returns all characteristics with the datatype xsd:float and a value contained by the given range [value - deviance, value + deviance].

Parameters:
value - the value
deviance - the maximum difference
offset - the index of the first item
limit - the maximum count of returned values
comparator - the comparator
Returns:
the characteristics within the given range

doGetDoubles

protected java.util.List<de.topicmapslab.majortom.model.core.ICharacteristics> doGetDoubles(double value,
                                                                                            int offset,
                                                                                            int limit)
Returns all characteristics with the given value and the datatype xsd:double.

Parameters:
value - the value
offset - the index of the first item
limit - the maximum count of returned values
Returns:
the characteristics within the given range with the double value

doGetDoubles

protected java.util.List<de.topicmapslab.majortom.model.core.ICharacteristics> doGetDoubles(double value,
                                                                                            int offset,
                                                                                            int limit,
                                                                                            java.util.Comparator<de.topicmapslab.majortom.model.core.ICharacteristics> comparator)
Returns all characteristics with the given value and the datatype xsd:double.

Parameters:
value - the value
offset - the index of the first item
limit - the maximum count of returned values
comparator - the comparator
Returns:
the characteristics within the given range with the double value

doGetDoubles

protected java.util.List<de.topicmapslab.majortom.model.core.ICharacteristics> doGetDoubles(double value,
                                                                                            double deviance,
                                                                                            int offset,
                                                                                            int limit)
Returns all characteristics with the datatype xsd:double and a value contained by the given range [value - deviance, value + deviance].

Parameters:
value - the value
deviance - the maximum difference
offset - the index of the first item
limit - the maximum count of returned values
Returns:
the characteristics within the given range

doGetDoubles

protected java.util.List<de.topicmapslab.majortom.model.core.ICharacteristics> doGetDoubles(double value,
                                                                                            double deviance,
                                                                                            int offset,
                                                                                            int limit,
                                                                                            java.util.Comparator<de.topicmapslab.majortom.model.core.ICharacteristics> comparator)
Returns all characteristics with the datatype xsd:double and a value contained by the given range [value - deviance, value + deviance].

Parameters:
value - the value
deviance - the maximum difference
offset - the index of the first item
limit - the maximum count of returned values
comparator - the comparator
Returns:
the characteristics within the given range

doGetDateTime

protected java.util.List<de.topicmapslab.majortom.model.core.ICharacteristics> doGetDateTime(java.util.Calendar value,
                                                                                             int offset,
                                                                                             int limit)
Returns all characteristics with the given value and the datatype xsd:dateTime.

Parameters:
value - the value
offset - the index of the first item
limit - the maximum count of returned values
Returns:
the characteristics within the given range with the dateTime value

doGetDateTime

protected java.util.List<de.topicmapslab.majortom.model.core.ICharacteristics> doGetDateTime(java.util.Calendar value,
                                                                                             int offset,
                                                                                             int limit,
                                                                                             java.util.Comparator<de.topicmapslab.majortom.model.core.ICharacteristics> comparator)
Returns all characteristics with the given value and the datatype xsd:dateTime.

Parameters:
value - the value
offset - the index of the first item
limit - the maximum count of returned values
comparator - the comparator
Returns:
the characteristics within the given range with the dateTime value

doGetDateTime

protected java.util.List<de.topicmapslab.majortom.model.core.ICharacteristics> doGetDateTime(java.util.Calendar value,
                                                                                             java.util.Calendar deviance,
                                                                                             int offset,
                                                                                             int limit)
Returns all characteristics with the datatype xsd:time and with a time value which has a difference from the given value lower or equals than the given deviance. The given deviance calendar will be interpreted as maximum difference from the given value. Each time information handled as difference. For example if the difference should be lower than one day, one hour and 10 minutes the dateTime literal should be 0000-00-01T01:10:00.

Parameters:
value - the value
deviance - the maximum difference
offset - the index of the first item
limit - the maximum count of returned values
Returns:
the characteristics within the given range with the time value

doGetDateTime

protected java.util.List<de.topicmapslab.majortom.model.core.ICharacteristics> doGetDateTime(java.util.Calendar value,
                                                                                             java.util.Calendar deviance,
                                                                                             int offset,
                                                                                             int limit,
                                                                                             java.util.Comparator<de.topicmapslab.majortom.model.core.ICharacteristics> comparator)
Returns all characteristics with the datatype xsd:time and with a time value which has a difference from the given value lower or equals than the given deviance. The given deviance calendar will be interpreted as maximum difference from the given value. Each time information handled as difference. For example if the difference should be lower than one day, one hour and 10 minutes the dateTime literal should be 0000-00-01T01:10:00.

Parameters:
value - the value
deviance - the maximum difference
offset - the index of the first item
limit - the maximum count of returned values
comparator - the comparator
Returns:
the characteristics within the given range with the time value

doGetBooleans

protected java.util.List<de.topicmapslab.majortom.model.core.ICharacteristics> doGetBooleans(boolean value,
                                                                                             int offset,
                                                                                             int limit)
Returns all characteristics with the given value and the datatype xsd:boolean.

Parameters:
value - the value
offset - the index of the first item
limit - the maximum count of returned values
Returns:
the characteristics within the given range with the boolean value

doGetBooleans

protected java.util.List<de.topicmapslab.majortom.model.core.ICharacteristics> doGetBooleans(boolean value,
                                                                                             int offset,
                                                                                             int limit,
                                                                                             java.util.Comparator<de.topicmapslab.majortom.model.core.ICharacteristics> comparator)
Returns all characteristics with the given value and the datatype xsd:boolean.

Parameters:
value - the value
offset - the index of the first item
limit - the maximum count of returned values
comparator - the comparator
Returns:
the characteristics within the given range with the boolean value

doGetCoordinates

protected java.util.List<de.topicmapslab.majortom.model.core.ICharacteristics> doGetCoordinates(de.topicmapslab.geotype.wgs84.Wgs84Coordinate value,
                                                                                                int offset,
                                                                                                int limit)
Returns all characteristics with the given value and the datatype tm:geo.

Parameters:
value - the value
offset - the index of the first item
limit - the maximum count of returned values
Returns:
the characteristics within the given range with the geographic coordinates

doGetCoordinates

protected java.util.List<de.topicmapslab.majortom.model.core.ICharacteristics> doGetCoordinates(de.topicmapslab.geotype.wgs84.Wgs84Coordinate value,
                                                                                                int offset,
                                                                                                int limit,
                                                                                                java.util.Comparator<de.topicmapslab.majortom.model.core.ICharacteristics> comparator)
Returns all characteristics with the given value and the datatype tm:geo.

Parameters:
value - the value
offset - the index of the first item
limit - the maximum count of returned values
comparator - the comparator
Returns:
the characteristics within the given range with the geographic coordinates

doGetCoordinates

protected java.util.List<de.topicmapslab.majortom.model.core.ICharacteristics> doGetCoordinates(de.topicmapslab.geotype.wgs84.Wgs84Coordinate value,
                                                                                                double deviance,
                                                                                                int offset,
                                                                                                int limit)
Returns all characteristics with the datatype xsd:integer and a geographical coordinate which has a lower or equal distance to the given coordinate like the given deviance.

Parameters:
value - the value
deviance - the maximum distance
offset - the index of the first item
limit - the maximum count of returned values
Returns:
the characteristics within the given range

doGetCoordinates

protected java.util.List<de.topicmapslab.majortom.model.core.ICharacteristics> doGetCoordinates(de.topicmapslab.geotype.wgs84.Wgs84Coordinate value,
                                                                                                double deviance,
                                                                                                int offset,
                                                                                                int limit,
                                                                                                java.util.Comparator<de.topicmapslab.majortom.model.core.ICharacteristics> comparator)
Returns all characteristics with the datatype xsd:integer and a geographical coordinate which has a lower or equal distance to the given coordinate like the given deviance.

Parameters:
value - the value
deviance - the maximum distance
offset - the index of the first item
limit - the maximum count of returned values
comparator - the comparator
Returns:
the characteristics within the given range

doGetDatatypeAwares

protected java.util.List<de.topicmapslab.majortom.model.core.IDatatypeAware> doGetDatatypeAwares(org.tmapi.core.Locator dataType,
                                                                                                 int offset,
                                                                                                 int limit)
Returns all variants and occurrences with the given data-type.

Parameters:
dataType - the data type
offset - the index of the first item
limit - the maximum count of returned values
Returns:
a collection of all matching variants and occurrences within the given range

doGetDatatypeAwares

protected java.util.List<de.topicmapslab.majortom.model.core.IDatatypeAware> doGetDatatypeAwares(org.tmapi.core.Locator dataType,
                                                                                                 int offset,
                                                                                                 int limit,
                                                                                                 java.util.Comparator<de.topicmapslab.majortom.model.core.IDatatypeAware> comparator)
Returns all variants and occurrences with the given data-type.

Parameters:
dataType - the data type
offset - the index of the first item
limit - the maximum count of returned values
comparator - the comparator
Returns:
a collection of all matching variants and occurrences within the given range

doGetNames

protected java.util.List<org.tmapi.core.Name> doGetNames(int offset,
                                                         int limit)
Return all names contained by the current topic map.

Parameters:
offset - the index of the first item
limit - the maximum count of returned values
Returns:
all names within the given range of the topic map

doGetNames

protected java.util.List<org.tmapi.core.Name> doGetNames(int offset,
                                                         int limit,
                                                         java.util.Comparator<org.tmapi.core.Name> comparator)
Return all names contained by the current topic map.

Parameters:
offset - the index of the first item
limit - the maximum count of returned values
comparator - the comparator
Returns:
all names within the given range of the topic map

doGetOccurrences

protected java.util.List<org.tmapi.core.Occurrence> doGetOccurrences(int offset,
                                                                     int limit)
Return all occurrences contained by the current topic map.

Parameters:
offset - the index of the first item
limit - the maximum count of returned values
Returns:
all occurrences within the given range of the topic map

doGetOccurrences

protected java.util.List<org.tmapi.core.Occurrence> doGetOccurrences(int offset,
                                                                     int limit,
                                                                     java.util.Comparator<org.tmapi.core.Occurrence> comparator)
Return all occurrences contained by the current topic map.

Parameters:
offset - the index of the first item
limit - the maximum count of returned values
comparator - the comparator
Returns:
all occurrences within the given range of the topic map

doGetVariants

protected java.util.List<org.tmapi.core.Variant> doGetVariants(int offset,
                                                               int limit)
Return all variants contained by the current topic map.

Parameters:
offset - the index of the first item
limit - the maximum count of returned values
Returns:
all variants within the given range of the topic map

doGetVariants

protected java.util.List<org.tmapi.core.Variant> doGetVariants(int offset,
                                                               int limit,
                                                               java.util.Comparator<org.tmapi.core.Variant> comparator)
Return all variants contained by the current topic map.

Parameters:
offset - the index of the first item
limit - the maximum count of returned values
comparator - the comparator
Returns:
all variants within the given range of the topic map