public class ContainsAllValuesFilter extends AttributeFilter
Constructor and Description |
---|
ContainsAllValuesFilter(Attribute attr)
Public only as an artifact of the implementation.
|
Modifier and Type | Method and Description |
---|---|
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. |
<R,P> R |
accept(FilterVisitor<R,P> v,
P p)
Applies a
FilterVisitor to this Filter . |
String |
toString() |
getAttribute, getName, isPresent
public ContainsAllValuesFilter(Attribute attr)
FilterBuilder
to create an instance of
ContainsAllValuesFilter
.attr
- public boolean accept(ConnectorObject obj)
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.obj
- - The specified ConnectorObject.true
if the object matches (that is, satisfies all
selection criteria of) this filter; otherwise false
.public <R,P> R accept(FilterVisitor<R,P> v, P p)
Filter
FilterVisitor
to this Filter
.R
- The return type of the visitor's methods.P
- The type of the additional parameters to the visitor's
methods.v
- The filter visitor.p
- Optional additional visitor parameter.Copyright © 2019. All rights reserved.