Class Always
- java.lang.Object
-
- com.googlecode.objectify.condition.Always
-
-
Constructor Summary
Constructors Constructor Description Always()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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.
-
-
-
Method Detail
-
matchesValue
public boolean matchesValue(Object value)
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.
-
matchesPojo
public boolean matchesPojo(Object pojo)
Description copied from interface:If
Override this method to test a whole pojo for your condition. The pojo might be an entity or an embedded class object - whichever holds the field being tested.- Specified by:
matchesPojo
in interfaceIf<Object,Object>
- Parameters:
pojo
- is the entity object on which the field/value exists- Returns:
- true if the value matches the condition defined by an instance of this interface.
-
-