org.hibernate.search.filter
Class FilterKey

java.lang.Object
  extended by org.hibernate.search.filter.FilterKey
Direct Known Subclasses:
StandardFilterKey

public abstract class FilterKey
extends Object

The key object must implement equals / hashcode so that 2 keys are equals if and only if the given Filter types are the same and the set of parameters are the same.

The FilterKey creator (ie the @Key method) does not have to inject impl It will be done by Hibernate Search

Author:
Emmanuel Bernard

Constructor Summary
FilterKey()
           
 
Method Summary
abstract  boolean equals(Object obj)
           
 Class<?> getImpl()
           
abstract  int hashCode()
           
 void setImpl(Class<?> impl)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FilterKey

public FilterKey()
Method Detail

getImpl

public Class<?> getImpl()
Returns:
the @FullTextFilterDef.impl class

setImpl

public void setImpl(Class<?> impl)

hashCode

public abstract int hashCode()
Overrides:
hashCode in class Object

equals

public abstract boolean equals(Object obj)
Overrides:
equals in class Object


Copyright © 2006-2012 Red Hat Middleware, LLC. All Rights Reserved