public class SetterAndFieldPropertyInfo extends FieldPropertyInfo
annotationMap, annotationsArray
Constructor and Description |
---|
SetterAndFieldPropertyInfo(PropertyInfo previous,
FieldInfo field) |
Modifier and Type | Method and Description |
---|---|
MethodInfo |
getSetter()
Get the setter
|
void |
set(Object bean,
Object value)
Set the property value
|
void |
setSetter(MethodInfo setter)
Set the setter
|
equals, get, getFieldInfo, getGetter, isReadable, isWritable, setGetter, 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 SetterAndFieldPropertyInfo(PropertyInfo previous, FieldInfo field)
public void set(Object bean, Object value) throws Throwable
PropertyInfo
set
in interface PropertyInfo
set
in class FieldPropertyInfo
bean
- the beanvalue
- the property valueThrowable
- for any errorpublic MethodInfo getSetter()
PropertyInfo
getSetter
in interface PropertyInfo
getSetter
in class FieldPropertyInfo
public void setSetter(MethodInfo setter)
PropertyInfo
setSetter
in interface PropertyInfo
setSetter
in class FieldPropertyInfo
setter
- the setterCopyright © 2016 JBoss by Red Hat. All rights reserved.