public abstract static class ItemFilters.AttributeValue<M> extends ItemFilters.AttributeFilter<M>
PersistableItemFilter.Kind| Modifier and Type | Field and Description |
|---|---|
protected M |
value |
attributekind| 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, getKindputValueType, readFrom, saveTo, toStringprotected 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.