org.apache.cxf.jaxrs.ext.search
Class AndSearchCondition<T>
java.lang.Object
org.apache.cxf.jaxrs.ext.search.AbstractComplexCondition<T>
org.apache.cxf.jaxrs.ext.search.AndSearchCondition<T>
- All Implemented Interfaces:
- SearchCondition<T>
public class AndSearchCondition<T>
- extends AbstractComplexCondition<T>
Composite 'and' search condition
Method Summary |
boolean |
isMet(T pojo)
Checks if the given pojo instance meets this search condition |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AndSearchCondition
public AndSearchCondition()
AndSearchCondition
public AndSearchCondition(List<SearchCondition<T>> conditions)
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