public class IfNotDefault extends ValueIf<Object> implements InitializeIf
The opposite of IfDefault
Constructor and Description |
---|
IfNotDefault() |
Modifier and Type | Method and Description |
---|---|
void |
init(ObjectifyFactory fact,
Field field)
Instructs the condition instance which field it lives on.
|
boolean |
matchesValue(Object value)
Test a simple property value.
|
matchesPojo
public void init(ObjectifyFactory fact, Field field)
InitializeIf
init
in interface InitializeIf
fact
- is just handy to have aroundfield
- is the field which has the annotation with this condition.public boolean matchesValue(Object value)
If
matchesValue
in interface If<Object,Object>
value
- is the actual value of a particular fieldCopyright © 2016. All rights reserved.