Class ContainsAllValuesFilter

    • Constructor Detail

      • ContainsAllValuesFilter

        public ContainsAllValuesFilter​(Attribute attr)
        Public only as an artifact of the implementation. Please use FilterBuilder to create an instance of ContainsAllValuesFilter.
        Parameters:
        attr -
    • Method Detail

      • accept

        public boolean accept​(ConnectorObject obj)
        Determine whether the specified ConnectorObject contains an Attribute that has the same name as and contains all of the values of the attribute that FilterBuilder placed into this filter. Determines whether the specified ConnectorObject matches this 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.
        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.