public class ConstantValueFilter extends AbstractConstraintFilter
IRemoteFilter.AlwaysFilter, IRemoteFilter.NeverFilter
ALWAYS, NEVER
Constructor and Description |
---|
ConstantValueFilter()
Creates a constant value filter.
|
ConstantValueFilter(String propname,
Object value)
Creates a constant value filter.
|
Modifier and Type | Method and Description |
---|---|
void |
bind(Object value)
Binds the constant value.
|
IFuture<Boolean> |
doFilter(IService service,
Object value)
Test if an object passes the filter.
|
void |
unbind()
Unbinds the constant value.
|
filter, getValue, getValueName, setValue, setValueName
public ConstantValueFilter()
public IFuture<Boolean> doFilter(IService service, Object value)
doFilter
in class AbstractConstraintFilter
public void bind(Object value)
value
- The valuepublic void unbind()
Copyright © 2013. All Rights Reserved.