| java.lang.Object org.apache.commons.beanutils.BeanPredicate
BeanPredicate | public class BeanPredicate implements Predicate(Code) | | Predicate implementation that applies the given Predicate
to the result of calling the given property getter.
|
Constructor Summary | |
public | BeanPredicate(String propertyName, Predicate predicate) Constructs a BeanPredicate that applies the given
Predicate to the named property value. |
BeanPredicate | public BeanPredicate(String propertyName, Predicate predicate)(Code) | | Constructs a BeanPredicate that applies the given
Predicate to the named property value.
Parameters: propertyName - the name of the property whose value is to be predicated,not null Parameters: predicate - the Predicate to be applied,not null |
getPredicate | public Predicate getPredicate()(Code) | | Gets the Predicate to be applied to the value of the named property
during
BeanPredicate.evaluate .
Predicate , not null |
getPropertyName | public String getPropertyName()(Code) | | Gets the name of the property whose value is to be predicated.
in the evaluation.
the property name, not null |
setPredicate | public void setPredicate(Predicate predicate)(Code) | | Sets the Predicate to be applied to the value of the named property
during
BeanPredicate.evaluate(Object) .
Parameters: predicate - Predicate , not null |
setPropertyName | public void setPropertyName(String propertyName)(Code) | | Sets the name of the property whose value is to be predicated.
Parameters: propertyName - the name of the property whose value is to be predicated,not null |
|
|