Apache CXF API

org.apache.cxf.jaxrs.ext.search
Class AndSearchCondition<T>

java.lang.Object
  extended by org.apache.cxf.jaxrs.ext.search.AbstractComplexCondition<T>
      extended by org.apache.cxf.jaxrs.ext.search.AndSearchCondition<T>
All Implemented Interfaces:
SearchCondition<T>

public class AndSearchCondition<T>
extends AbstractComplexCondition<T>

Composite 'and' search condition


Field Summary
 
Fields inherited from class org.apache.cxf.jaxrs.ext.search.AbstractComplexCondition
conditions
 
Constructor Summary
AndSearchCondition()
           
AndSearchCondition(List<SearchCondition<T>> conditions)
           
 
Method Summary
 boolean isMet(T pojo)
          Checks if the given pojo instance meets this search condition
 
Methods inherited from class org.apache.cxf.jaxrs.ext.search.AbstractComplexCondition
findAll, getCondition, getConditionType, getSearchConditions, getStatement, setConditions, toSQL
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AndSearchCondition

public AndSearchCondition()

AndSearchCondition

public AndSearchCondition(List<SearchCondition<T>> conditions)
Method Detail

isMet

public boolean isMet(T pojo)
Description copied from interface: SearchCondition
Checks if the given pojo instance meets this search condition

Parameters:
pojo - the object which will be checked
Returns:
true if the pojo meets this search condition, false - otherwise

Apache CXF API

Apache CXF