Class IfNotDefault
- All Implemented Interfaces:
If<Object,
,Object> InitializeIf
The opposite of IfDefault
- Author:
- Jeff Schnitzer invalid input: '<'[email protected]>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
init
(ObjectifyFactory fact, Field field) Instructs the condition instance which field it lives on.boolean
matchesValue
(Object value) Test a simple property value.Methods inherited from class com.googlecode.objectify.condition.ValueIf
matchesPojo
-
Constructor Details
-
IfNotDefault
public IfNotDefault()
-
-
Method Details
-
init
Description copied from interface:InitializeIf
Instructs the condition instance which field it lives on.- Specified by:
init
in interfaceInitializeIf
- Parameters:
fact
- is just handy to have aroundfield
- is the field which has the annotation with this condition.
-
matchesValue
Description copied from interface:If
Test a simple property value.- Specified by:
matchesValue
in interfaceIf<Object,
Object> - Parameters:
value
- is the actual value of a particular field- Returns:
- true if the value matches the condition defined by an instance of this interface.
-