org.apache.slide.search.basic.expression
Class NotLikeExpression

java.lang.Object
  extended byorg.apache.slide.search.basic.expression.BasicExpression
      extended byorg.apache.slide.search.basic.expression.GenericBasicExpression
          extended byorg.apache.slide.search.basic.expression.CompareExpression
              extended byorg.apache.slide.search.basic.expression.ComparePropertyExpression
                  extended byorg.apache.slide.search.basic.expression.LikeExpression
                      extended byorg.apache.slide.search.basic.expression.NotLikeExpression
All Implemented Interfaces:
IBasicExpression

public class NotLikeExpression
extends LikeExpression

Implements the not-like operator.


Field Summary
 
Fields inherited from class org.apache.slide.search.basic.expression.ComparePropertyExpression
comparedProperty
 
Fields inherited from class org.apache.slide.search.basic.expression.CompareExpression
propertyProvider, requestedResourcesPool
 
Fields inherited from class org.apache.slide.search.basic.expression.BasicExpression
expressionElement, expressionFactory, resultSet
 
Constructor Summary
NotLikeExpression(org.jdom.Element e, ComparableResourcesPool requestedResourcesPool)
           
 
Method Summary
protected  boolean compare(ComparableResource item)
          The concrete CompareExpression must overwrite this.
 java.lang.String toString()
           
 
Methods inherited from class org.apache.slide.search.basic.expression.LikeExpression
main, wildcardEquals
 
Methods inherited from class org.apache.slide.search.basic.expression.ComparePropertyExpression
getLiteral, toString
 
Methods inherited from class org.apache.slide.search.basic.expression.CompareExpression
execute, getRequestedResourcePool, setRequestedResourcePool
 
Methods inherited from class org.apache.slide.search.basic.expression.BasicExpression
getFactory, setFactory
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

NotLikeExpression

public NotLikeExpression(org.jdom.Element e,
                         ComparableResourcesPool requestedResourcesPool)
                  throws InvalidQueryException
Method Detail

compare

protected boolean compare(ComparableResource item)
Description copied from class: ComparePropertyExpression
The concrete CompareExpression must overwrite this.

Overrides:
compare in class LikeExpression

toString

public java.lang.String toString()
Overrides:
toString in class LikeExpression