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 |
isSaved(Object onPojo)
Never saved
|
void |
set(Object pojo,
Object value)
Actually set the property (field or method) on an object
|
String |
toString() |
getAnnotation, getAnnotations, getLoadNames, getName
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)
Copyright © 2018. All rights reserved.