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

public class PresenceFilter extends Object implements Filter
A PresenceFilter determines if the attribute provided is present in the ConnectorObject
Since:
1.5
  • Constructor Details

    • PresenceFilter

      public PresenceFilter(String attributeName)
  • Method Details

    • getName

      public String getName()
      Name of the attribute to find in the ConnectorObject.
    • accept

      public boolean accept(ConnectorObject obj)
      Determines if the attribute provided is present in the ConnectorObject.
      Specified by:
      accept in interface Filter
      Parameters:
      obj - - The specified ConnectorObject.
      Returns:
      true if the object matches (that is, satisfies all selection criteria of) this filter; otherwise false.
    • accept

      public <R, P> R accept(FilterVisitor<R,P> v, P p)
      Description copied from interface: Filter
      Applies a FilterVisitor to this Filter.
      Specified by:
      accept in interface 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.