public class MethodProperty extends AbstractProperty
Constructor and Description |
---|
MethodProperty(Method method) |
Modifier and Type | Method and Description |
---|---|
Object |
get(Object pojo)
Get the value of the property (field) if possible, or null if not possible (method)
|
Boolean |
getIndexInstruction(Object onPojo)
Since we are never saved this is never called
|
Type |
getType()
Get the real generic type of the field
|
boolean |
hasIgnoreSaveConditions()
Never saved, so never has conditions
|
boolean |
isSaved(Object onPojo)
Never saved
|
void |
set(Object pojo,
Object value)
Actually set the property (field or method) on an object
|
String |
toString() |
getAnnotation, getLoadNames, getName, shouldLoad
public MethodProperty(Method method)
public Type getType()
Property
public void set(Object pojo, Object value)
Property
public Object get(Object pojo)
Property
public boolean isSaved(Object onPojo)
public Boolean getIndexInstruction(Object onPojo)
public boolean hasIgnoreSaveConditions()
Copyright © 2014. All rights reserved.