public interface PropertyInfo extends AnnotatedInfo
Modifier and Type | Method and Description |
---|---|
Object |
get(Object bean)
Get the property value
|
BeanInfo |
getBeanInfo()
Get the BeanInfo
|
FieldInfo |
getFieldInfo()
Get the field info
in case impl uses field to
handle property ops.
|
MethodInfo |
getGetter()
Get the getter
|
String |
getName()
Get the property name
|
MethodInfo |
getSetter()
Get the setter
|
TypeInfo |
getType()
Get the type
|
String |
getUpperName()
Get the uppercase version of the property name
|
boolean |
isReadable()
Is property readable.
|
boolean |
isWritable()
Is property writable.
|
void |
set(Object bean,
Object value)
Set the property value
|
void |
setGetter(MethodInfo getter)
Set the getter
|
void |
setSetter(MethodInfo setter)
Set the setter
|
getAnnotation, getAnnotations, getUnderlyingAnnotation, getUnderlyingAnnotations, isAnnotationPresent, isAnnotationPresent
BeanInfo getBeanInfo()
String getName()
String getUpperName()
TypeInfo getType()
MethodInfo getGetter()
void setGetter(MethodInfo getter)
getter
- the getterMethodInfo getSetter()
void setSetter(MethodInfo setter)
setter
- the setterboolean isReadable()
boolean isWritable()
Object get(Object bean) throws Throwable
bean
- the beanThrowable
- for any errorvoid set(Object bean, Object value) throws Throwable
bean
- the beanvalue
- the property valueThrowable
- for any errorFieldInfo getFieldInfo()
Copyright © 2016 JBoss by Red Hat. All rights reserved.