public static class ItemFilters.Type extends PersistableItemFilter
PersistableItemFilter.Kind
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
typeId |
KEY_END, KEY_FIELD, KEY_FILTER, KEY_START, KEY_TYPE, KEY_TYPE_MATCHES, KEY_VALUE, kind
Constructor and Description |
---|
Type(java.lang.String typeId) |
Modifier and Type | Method and Description |
---|---|
IPredicate<IItem> |
getPredicate(IType<IItem> type) |
java.lang.String |
getTypeId() |
protected void |
saveArgs(IWritableState memento) |
putValueType, readFrom, readValue, readValue, saveTo, toString, toString, writeValue, writeValue
public java.lang.String getTypeId()
protected void saveArgs(IWritableState memento)
saveArgs
in class PersistableItemFilter
public IPredicate<IItem> getPredicate(IType<IItem> type)
type
- the item type to get a predicate for