public final class ValuesFilter extends Filter
Modifier and Type | Method and Description |
---|---|
FilterType |
getFilterType()
Gets the
FilterType.VALUES value. |
List<Object> |
getValues()
Gets the list of values to filter by.
|
void |
setValues(Iterable items)
Sets the list of values to filter by.
|
void |
setValues(Object... items)
Sets the list of values to filter by.
|
String |
toString()
Returns a
String that represents this ValuesFilter instance. |
public FilterType getFilterType()
FilterType.VALUES
value.getFilterType
in class Filter
FilterType.VALUES
value.public List<Object> getValues()
Gets the list of values to filter by.
The list can contain null
, String
and DateTimeGroup
values.
public void setValues(Iterable items)
Sets the list of values to filter by.
The list can contain null
, String
and DateTimeGroup
values.
items
- The list of values to filter by.UnsupportedOperationException
- items
contains an item which is not null
, String
or DateTimeGroup
.public void setValues(Object... items)
Sets the list of values to filter by.
The list can contain null
, String
and DateTimeGroup
values.
items
- The list of values to filter by.UnsupportedOperationException
- items
contains an item which is not null
, String
or DateTimeGroup
.public String toString()
String
that represents this ValuesFilter
instance.
This method should be used primarily for debugging purposes and should be considered volatile (format of its return value might change in future versions).
toString
in class Filter
String
that represents this ValuesFilter
instance.© GemBox Ltd. — All rights reserved.