public interface Property
Modifier and Type | Method and Description |
---|---|
Object |
get(Object onPojo)
Get the value of the property (field) if possible, or null if not possible (method)
|
<A extends Annotation> |
getAnnotation(Class<A> annoType)
Get an annotation on this type, or null if there is no annotation of that type
|
Annotation[] |
getAnnotations()
Enumerate the annotations
|
Boolean |
getIndexInstruction(Object onPojo)
Gets the index instruction for this property, if there is one.
|
String[] |
getLoadNames()
Get all the names associated with this property (ie, due to @AlsoLoad).
|
String |
getName()
Get the primary name associated with this property
|
Type |
getType()
Get the real generic type of the field
|
boolean |
isSaved(Object onPojo) |
void |
set(Object onPojo,
Object value)
Actually set the property (field or method) on an object
|
String getName()
String[] getLoadNames()
<A extends Annotation> A getAnnotation(Class<A> annoType)
Annotation[] getAnnotations()
Type getType()
Object get(Object onPojo)
boolean isSaved(Object onPojo)
Boolean getIndexInstruction(Object onPojo)
Copyright © 2016. All rights reserved.