Constructor and Description |
---|
Always() |
Modifier and Type | Method and Description |
---|---|
boolean |
matchesPojo(Object pojo)
Override this method to test a whole pojo for your condition.
|
boolean |
matchesValue(Object value)
Test a simple property value.
|
public boolean matchesValue(Object value)
If
matchesValue
in interface If<Object,Object>
value
- is the actual value of a particular fieldpublic boolean matchesPojo(Object pojo)
If
matchesPojo
in interface If<Object,Object>
pojo
- is the entity object on which the field/value existsCopyright © 2014. All rights reserved.