de.topicmapslab.majortom.index.core
Class ScopesCacheKey

java.lang.Object
  extended by de.topicmapslab.majortom.index.core.ScopesCacheKey

 class ScopesCacheKey
extends java.lang.Object

internal cache key class for scope cache keys

Author:
Sven Krosse

Field Summary
(package private)  java.lang.Class<? extends de.topicmapslab.majortom.model.core.IScopable> clazz
           
(package private)  java.util.Comparator<?> comparator
           
(package private)  java.lang.Object filter
           
(package private)  java.lang.Integer limit
           
(package private)  java.lang.Boolean multiMatch
           
(package private)  java.lang.Integer offset
           
 
Constructor Summary
ScopesCacheKey(java.lang.Class<? extends de.topicmapslab.majortom.model.core.IScopable> clazz, java.lang.Object filter, java.lang.Boolean multiMatch, java.lang.Integer offset, java.lang.Integer limit, java.util.Comparator<?> comparator)
          constructor
 
Method Summary
 boolean equals(java.lang.Object obj)
          
 int hashCode()
          
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

comparator

java.util.Comparator<?> comparator

clazz

java.lang.Class<? extends de.topicmapslab.majortom.model.core.IScopable> clazz

offset

java.lang.Integer offset

limit

java.lang.Integer limit

filter

java.lang.Object filter

multiMatch

java.lang.Boolean multiMatch
Constructor Detail

ScopesCacheKey

public ScopesCacheKey(java.lang.Class<? extends de.topicmapslab.majortom.model.core.IScopable> clazz,
                      java.lang.Object filter,
                      java.lang.Boolean multiMatch,
                      java.lang.Integer offset,
                      java.lang.Integer limit,
                      java.util.Comparator<?> comparator)
constructor

Parameters:
clazz - the type of construct
filter - a filter criteria (a theme, a collection, a scope )
multiMatch - flag indicates if the filter is a collection of themes if themes should matching all
offset - the offset or null
limit - the limit or null
comparator - the comparator or null
Method Detail

equals

public boolean equals(java.lang.Object obj)

Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()

Overrides:
hashCode in class java.lang.Object