public class InventoryFilter extends Object implements Serializable
Constructor and Description |
---|
InventoryFilter() |
InventoryFilter(InventoryFilterPredicate predicate) |
Modifier and Type | Method and Description |
---|---|
InventoryFilterPredicate |
getPredicate()
Returns the
InventoryFilterPredicate to be used when evaluating an inventory filter. |
void |
setPredicate(InventoryFilterPredicate predicate)
Sets the
InventoryFilterPredicate to be used when evaluating an inventory filter. |
InventoryFilter |
withPredicate(InventoryFilterPredicate predicate)
Sets the
InventoryFilterPredicate to be used when evaluating an inventory filter
and returns the InventoryFilter object for method chaining. |
public InventoryFilter()
public InventoryFilter(InventoryFilterPredicate predicate)
public InventoryFilterPredicate getPredicate()
InventoryFilterPredicate
to be used when evaluating an inventory filter.
The predicate should be of type InventoryPrefixPredicate
.public void setPredicate(InventoryFilterPredicate predicate)
InventoryFilterPredicate
to be used when evaluating an inventory filter.
The predicate should be of type InventoryPrefixPredicate
.public InventoryFilter withPredicate(InventoryFilterPredicate predicate)
InventoryFilterPredicate
to be used when evaluating an inventory filter
and returns the InventoryFilter
object for method chaining.
The predicate should be of type InventoryPrefixPredicate
.Copyright © 2024. All rights reserved.