public class GetterAndFieldPropertyInfo extends FieldPropertyInfo
annotationMap, annotationsArray
Constructor and Description |
---|
GetterAndFieldPropertyInfo(PropertyInfo previous,
FieldInfo field) |
Modifier and Type | Method and Description |
---|---|
Object |
get(Object bean)
Get the property value
|
MethodInfo |
getGetter()
Get the getter
|
void |
setGetter(MethodInfo getter)
Set the getter
|
equals, getFieldInfo, getSetter, isReadable, isWritable, set, setSetter, toString
getBeanInfo, getHashCode, getName, getType, getUpperName, init, setType, toShortString
getAnnotation, getAnnotations, isAnnotationPresent, setupAnnotations
getUnderlyingAnnotation, getUnderlyingAnnotations, isAnnotationPresent
cacheGetHashCode, cacheToString, clone, equals, flushJBossObjectCache, getClassShortName, hashCode, list, notEqual, toShortString, toString, toStringImplementation
finalize, getClass, notify, notifyAll, wait, wait, wait
getAnnotation, getAnnotations, getUnderlyingAnnotation, getUnderlyingAnnotations, isAnnotationPresent, isAnnotationPresent
public GetterAndFieldPropertyInfo(PropertyInfo previous, FieldInfo field)
public Object get(Object bean) throws Throwable
PropertyInfo
get
in interface PropertyInfo
get
in class FieldPropertyInfo
bean
- the beanThrowable
- for any errorpublic MethodInfo getGetter()
PropertyInfo
getGetter
in interface PropertyInfo
getGetter
in class FieldPropertyInfo
public void setGetter(MethodInfo getter)
PropertyInfo
setGetter
in interface PropertyInfo
setGetter
in class FieldPropertyInfo
getter
- the getterCopyright © 2016 JBoss by Red Hat. All rights reserved.