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

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

public final class FilterOrTerm
extends FilterTerm

Convenience class providing smoother handling of OR filter terms.

Version:
$Revision$
Author:
rsauer
See Also:
or(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
 FilterOrTerm or(FilterCriterion filter)
          Convenience method for adding another filter criterion to this OR term, especially useful for chained calls like term.or(A).or(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

or

public FilterOrTerm or(FilterCriterion filter)
                throws UnsupportedFilterException
Convenience method for adding another filter criterion to this OR term, especially useful for chained calls like term.or(A).or(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.