public abstract static class ItemFilters.AttributeValue<M> extends ItemFilters.AttributeFilter<M>
PersistableItemFilter.Kind
Modifier and Type | Field and Description |
---|---|
protected M |
value |
attribute
kind
Modifier and Type | Method and Description |
---|---|
protected abstract IPredicate<IItem> |
getPredicate(IMemberAccessor<? extends M,IItem> accessor,
M value) |
IPredicate<IItem> |
getPredicate(IType<IItem> type) |
M |
getValue() |
protected void |
saveArgs(IWritableState memento) |
String |
toString() |
getAttribute, getKind
putValueType, readFrom, saveTo, toString
protected final M value
public M getValue()
protected void saveArgs(IWritableState memento)
saveArgs
in class ItemFilters.AttributeFilter<M>
public IPredicate<IItem> getPredicate(IType<IItem> type)
type
- the item type to get a predicate forprotected abstract IPredicate<IItem> getPredicate(IMemberAccessor<? extends M,IItem> accessor, M value)
public String toString()
toString
in class ItemFilters.AttributeFilter<M>
Copyright © 2020. All rights reserved.