public static class ItemFilters.Composite extends PersistableItemFilter
PersistableItemFilter.Kind
Modifier and Type | Field and Description |
---|---|
private IItemFilter[] |
filters |
KEY_END, KEY_FIELD, KEY_FILTER, KEY_START, KEY_TYPE, KEY_TYPE_MATCHES, KEY_VALUE, kind
Constructor and Description |
---|
Composite(PersistableItemFilter.Kind kind,
IItemFilter[] filters) |
Modifier and Type | Method and Description |
---|---|
IItemFilter[] |
getFilters() |
IPredicate<IItem> |
getPredicate(IType<IItem> type) |
boolean |
isUnion() |
protected void |
saveArgs(IWritableState memento) |
putValueType, readFrom, readValue, readValue, saveTo, toString, toString, writeValue, writeValue
private final IItemFilter[] filters
Composite(PersistableItemFilter.Kind kind, IItemFilter[] filters)
public boolean isUnion()
protected void saveArgs(IWritableState memento)
saveArgs
in class PersistableItemFilter
public IItemFilter[] getFilters()
public IPredicate<IItem> getPredicate(IType<IItem> type)
type
- the item type to get a predicate for