public abstract class AbstractConstraintFilter<T> extends Object implements IRemoteFilter<T>
IRemoteFilter.AlwaysFilter, IRemoteFilter.NeverFilter
ALWAYS, NEVER
Constructor and Description |
---|
AbstractConstraintFilter()
Creates a constant value filter.
|
AbstractConstraintFilter(String propname,
Object value)
Creates a constant value filter.
|
Modifier and Type | Method and Description |
---|---|
abstract IFuture<Boolean> |
doFilter(IService service,
Object value)
Test if an object passes the filter.
|
IFuture<Boolean> |
filter(T service)
Test if an object passes the filter.
|
Object |
getValue()
Gets the value.
|
String |
getValueName()
Gets the valuename.
drag edge areadrag edge area
|
void |
setValue(Object value)
Sets the value.
|
void |
setValueName(String valuename)
Sets the valuename.
|
public AbstractConstraintFilter()
public final IFuture<Boolean> filter(T service)
filter
in interface IRemoteFilter<T>
public abstract IFuture<Boolean> doFilter(IService service, Object value)
public String getValueName()
public void setValueName(String valuename)
valuename
- The valuename to set.public Object getValue()
public void setValue(Object value)
value
- The value to set.Copyright © 2013. All Rights Reserved.