org.modeshape.graph.query.model
Class FullTextSearch.NegationTerm

java.lang.Object
  extended by org.modeshape.graph.query.model.FullTextSearch.NegationTerm
All Implemented Interfaces:
FullTextSearch.Term
Enclosing class:
FullTextSearch

public static class FullTextSearch.NegationTerm
extends Object
implements FullTextSearch.Term

A FullTextSearch.Term that represents a search term that requires another term to not appear.


Constructor Summary
FullTextSearch.NegationTerm(FullTextSearch.Term negatedTerm)
           
 
Method Summary
 boolean equals(Object obj)
          
 FullTextSearch.Term getNegatedTerm()
          Get the term that is negated.
 int hashCode()
          
 String toString()
          
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

FullTextSearch.NegationTerm

public FullTextSearch.NegationTerm(FullTextSearch.Term negatedTerm)
Method Detail

getNegatedTerm

public FullTextSearch.Term getNegatedTerm()
Get the term that is negated.

Returns:
the negated term; never null

hashCode

public int hashCode()

Overrides:
hashCode in class Object
See Also:
Object.hashCode()

equals

public boolean equals(Object obj)

Overrides:
equals in class Object
See Also:
Object.equals(java.lang.Object)

toString

public String toString()

Overrides:
toString in class Object
See Also:
Object.toString()


Copyright © 2008-2012 JBoss, a division of Red Hat. All Rights Reserved.