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