|
JBoss Reflection 2.2.1.SP1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface PropertyInfo
Description of a property.
Method Summary | |
---|---|
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 |
Methods inherited from interface org.jboss.reflect.spi.AnnotatedInfo |
---|
getAnnotation, getAnnotations, getUnderlyingAnnotation, getUnderlyingAnnotations, isAnnotationPresent, isAnnotationPresent |
Methods inherited from interface org.jboss.util.JBossInterface |
---|
clone, toShortString, toShortString |
Method Detail |
---|
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 bean
Throwable
- for any errorvoid set(Object bean, Object value) throws Throwable
bean
- the beanvalue
- the property value
Throwable
- for any errorFieldInfo getFieldInfo()
|
JBoss Reflection 2.2.1.SP1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |