java.lang.Object
org.identityconnectors.framework.common.objects.filter.CompositeFilter
org.identityconnectors.framework.common.objects.filter.AndFilter
All Implemented Interfaces:
Filter

public final class AndFilter extends CompositeFilter
  • Constructor Details

    • AndFilter

      public AndFilter(Filter left, Filter right)
      And the the left and right filters.
    • AndFilter

      public AndFilter(Collection<Filter> filters)
  • Method Details

    • accept

      public boolean accept(ConnectorObject obj)
      Ands the left and right filters.
      Parameters:
      obj - - The specified ConnectorObject.
      Returns:
      true if the object matches (that is, satisfies all selection criteria of) this filter; otherwise false.
      See Also:
    • accept

      public <R, P> R accept(FilterVisitor<R,P> v, P p)
      Description copied from interface: Filter
      Applies a FilterVisitor to this Filter.
      Type Parameters:
      R - The return type of the visitor's methods.
      P - The type of the additional parameters to the visitor's methods.
      Parameters:
      v - The filter visitor.
      p - Optional additional visitor parameter.
      Returns:
      A result as specified by the visitor.
    • getLeft

      public Filter getLeft()
      Overrides:
      getLeft in class CompositeFilter
      Returns:
      the left side of the composite.
    • getRight

      public Filter getRight()
      Overrides:
      getRight in class CompositeFilter
      Returns:
      the right side of the composite.
    • getFilters

      public Collection<Filter> getFilters()
      Overrides:
      getFilters in class CompositeFilter
    • toString

      public String toString()
      Overrides:
      toString in class Object