Apache CXF API

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

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

public class OrSearchCondition<T>
extends AbstractComplexCondition<T>

Composite 'or' search condition


Field Summary
 
Fields inherited from class org.apache.cxf.jaxrs.ext.search.AbstractComplexCondition
conditions
 
Constructor Summary
OrSearchCondition()
           
OrSearchCondition(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
accept, 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

OrSearchCondition

public OrSearchCondition()

OrSearchCondition

public OrSearchCondition(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