E - public class StringFilter<E> extends AbstractFilter<E,String>
| Modifier and Type | Class and Description |
|---|---|
static class |
StringFilter.Type |
| Modifier and Type | Field and Description |
|---|---|
protected StringFilter.Type |
type |
protected String |
value |
converter, enabled| Constructor and Description |
|---|
StringFilter(Converter<E,String> converter,
String value) |
StringFilter(Converter<E,String> converter,
StringFilter.Type type,
String value) |
| Modifier and Type | Method and Description |
|---|---|
StringFilter.Type |
getType() |
String |
getValue()
Accessor for the value
|
void |
setType(StringFilter.Type type) |
void |
setValue(String value) |
boolean |
test(E entity) |
getConverter, isEnabled, setConverter, setEnabledprotected StringFilter.Type type
protected String value
public StringFilter(@NotNull
Converter<E,String> converter,
@NotNull
StringFilter.Type type,
@NotNull
String value)
public String getValue()
Filterpublic void setValue(String value)
public StringFilter.Type getType()
public void setType(StringFilter.Type type)
public boolean test(E entity)
Copyright © 2018 Xalys. All rights reserved.