public class FilterParamModel<M,T> extends Object implements Serializable
FilterAcceptor,
FilterModel,
Serialized Form| Modifier and Type | Class and Description |
|---|---|
static class |
FilterParamModel.ResultState |
static class |
FilterParamModel.State |
| Modifier and Type | Field and Description |
|---|---|
protected FilterAcceptor<M,T> |
acceptor
param acceptor
|
protected int |
hits
number of hits for this param
|
protected String |
paramKey
parameter identifier
|
protected FilterParamModel.ResultState |
resultState
current result state for this model
|
protected FilterParamModel.State |
state
current state for this model
|
protected T |
val
val coming fro ui
|
| Constructor and Description |
|---|
FilterParamModel(String paramKey,
Class<T> type,
ValueGetter<M,T> valueGetter) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
accept(M item) |
boolean |
canUse(String... val) |
void |
extractParam(Object... val) |
void |
reset() |
void |
resetResult() |
String |
toString() |
protected String paramKey
protected T val
protected FilterParamModel.State state
protected FilterParamModel.ResultState resultState
protected int hits
protected transient FilterAcceptor<M,T> acceptor
Copyright © 1999–2014 CodeLutin. All rights reserved.