java.lang.Object | |
↳ | org.apache.commons.beanutils.BeanPredicate |
Predicate implementation that applies the given Predicate
to the result of calling the given property getter.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Constructs a
BeanPredicate that applies the given
Predicate to the named property value. |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Evaluates the given object by applying the
getPredicate()
to a property value named by getPropertyName() . | |||||||||||
Gets the
Predicate to be applied to the value of the named property
during evaluate(Object) . | |||||||||||
Gets the name of the property whose value is to be predicated.
| |||||||||||
Sets the
Predicate to be applied to the value of the named property
during evaluate(Object) . | |||||||||||
Sets the name of the property whose value is to be predicated.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
From interface
org.apache.commons.collections.Predicate
|
Constructs a BeanPredicate
that applies the given
Predicate
to the named property value.
propertyName | the name of the property whose value is to be predicated, not null |
---|---|
predicate | the Predicate to be applied,
not null
|
Evaluates the given object by applying the getPredicate()
to a property value named by getPropertyName()
.
object | The object being evaluated |
---|
IllegalArgumentException | when the property cannot be evaluated |
---|
Gets the Predicate
to be applied to the value of the named property
during evaluate(Object)
.
Predicate
, not null
Gets the name of the property whose value is to be predicated. in the evaluation.
Sets the Predicate
to be applied to the value of the named property
during evaluate(Object)
.
predicate | Predicate , not null
|
---|
Sets the name of the property whose value is to be predicated.
propertyName | the name of the property whose value is to be predicated, not null |
---|