org.gcube.dataaccess.spd.havingengine.exl
Class HavingStatementFactoryEXL.HavingStatementJEXL<T>

java.lang.Object
  extended by org.gcube.dataaccess.spd.havingengine.exl.HavingStatementFactoryEXL.HavingStatementJEXL<T>
All Implemented Interfaces:
HavingStatement<T>
Enclosing class:
HavingStatementFactoryEXL

protected class HavingStatementFactoryEXL.HavingStatementJEXL<T>
extends Object
implements HavingStatement<T>


Field Summary
protected  org.apache.commons.jexl2.JexlEngine engine
           
protected  org.apache.commons.jexl2.Expression expression
           
protected  org.slf4j.Logger logger
           
 
Method Summary
 boolean accept(T element)
          Checks if the passed element can be accepted.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

logger

protected org.slf4j.Logger logger

engine

protected org.apache.commons.jexl2.JexlEngine engine

expression

protected org.apache.commons.jexl2.Expression expression
Method Detail

accept

public boolean accept(T element)
Checks if the passed element can be accepted.

Specified by:
accept in interface HavingStatement<T>
Parameters:
element - the element to check.
Returns:
true if it is accepted, false otherwise.


Copyright © 2013. All Rights Reserved.