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 java.lang.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(java.lang.Object obj)
           
 java.lang.Class getImpl()
          Represent the @FullTextFilterDef.impl class
abstract  int hashCode()
           
 void setImpl(java.lang.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 java.lang.Class getImpl()
Represent the @FullTextFilterDef.impl class


setImpl

public void setImpl(java.lang.Class impl)

hashCode

public abstract int hashCode()
Overrides:
hashCode in class java.lang.Object

equals

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


Copyright © 2006-2010 Hibernate. All Rights Reserved.