Package com.googlecode.objectify.impl
Class MethodProperty
java.lang.Object
com.googlecode.objectify.impl.AbstractProperty
com.googlecode.objectify.impl.MethodProperty
- All Implemented Interfaces:
Property
Property which encapsulates a method with an @AlsoLoad parameter.
If you try to get() the value it is always null.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the value of the property (field) if possible, or null if not possible (method)getIndexInstruction
(Object onPojo) Since we are never saved this is never calledgetType()
Get the real generic type of the fieldboolean
Never savedvoid
Actually set the property (field or method) on an objecttoString()
Methods inherited from class com.googlecode.objectify.impl.AbstractProperty
getAnnotation, getAnnotations, getLoadNames, getName
-
Constructor Details
-
MethodProperty
-
-
Method Details
-
getType
Description copied from interface:Property
Get the real generic type of the field -
set
Description copied from interface:Property
Actually set the property (field or method) on an object -
get
Description copied from interface:Property
Get the value of the property (field) if possible, or null if not possible (method) -
toString
-
isSaved
Never saved- Returns:
- true if this field should be saved, false if not
-
getIndexInstruction
Since we are never saved this is never called- Returns:
- true if this field should be indexed, false if it should be unindexed, null is "no information, continue with defaults".
-