org.eclipse.stardust.engine.api.query
Class FilterAndTerm

java.lang.Object
  extended by org.eclipse.stardust.engine.api.query.FilterTerm
      extended by org.eclipse.stardust.engine.api.query.FilterAndTerm
All Implemented Interfaces:
Serializable, FilterCriterion

public final class FilterAndTerm
extends FilterTerm

Convenience class providing smoother handling of AND filter terms.

Version:
$Revision$
Author:
rsauer
See Also:
and(org.eclipse.stardust.engine.api.query.FilterCriterion), Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class org.eclipse.stardust.engine.api.query.FilterTerm
FilterTerm.Kind
 
Field Summary
 
Fields inherited from class org.eclipse.stardust.engine.api.query.FilterTerm
AND, ANDNOT, OR, ORNOT
 
Method Summary
 FilterAndTerm and(FilterCriterion filter)
          Convenience method for adding another filter criterion to this AND term, especially useful for chained calls like term.and(A).and(B).
 
Methods inherited from class org.eclipse.stardust.engine.api.query.FilterTerm
accept, add, addAndNotTerm, addAndTerm, addOrNotTerm, addOrTerm, getKind, getParts, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

and

public FilterAndTerm and(FilterCriterion filter)
                  throws UnsupportedFilterException
Convenience method for adding another filter criterion to this AND term, especially useful for chained calls like term.and(A).and(B).

Parameters:
filter - The filter criterion to be added.
Returns:
this to allow for chained calls.
Throws:
UnsupportedFilterException - if the filter criterion to be added is not valid for thes query this filter term belongs to


Copyright © 2017 Eclipse Stardust. All Rights Reserved.