public class NestedPropertyInfo extends org.jboss.util.JBossObject implements PropertyInfo, Serializable
| Constructor and Description |
|---|
NestedPropertyInfo(String name,
BeanInfo beanInfo)
Deprecated.
|
NestedPropertyInfo(String name,
String upperName,
BeanInfo beanInfo) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object object) |
Object |
get(Object bean)
Get the property value
|
AnnotationValue |
getAnnotation(String annotationName)
Get an annotation
|
AnnotationValue[] |
getAnnotations()
Get the annotations
|
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
|
int |
getHashCode() |
String |
getName()
Get the property name
|
MethodInfo |
getSetter()
Get the setter
|
TypeInfo |
getType()
In this case it is better to return null
then to throw an exception, since we might still have
enough information to use this class to set the value.
|
<T extends Annotation> |
getUnderlyingAnnotation(Class<T> annotationType)
Get an underlying annotation
|
Annotation[] |
getUnderlyingAnnotations()
Get the underlying annotations
|
String |
getUpperName()
Get the uppercase version of the property name
|
boolean |
isAnnotationPresent(Class<? extends Annotation> annotationType)
Test whether an annotation is present
|
boolean |
isAnnotationPresent(String annotationName)
Test whether an annotation is present
|
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
|
void |
toShortString(org.jboss.util.JBossStringBuilder buffer) |
void |
toString(org.jboss.util.JBossStringBuilder buffer) |
cacheGetHashCode, cacheToString, clone, equals, flushJBossObjectCache, getClassShortName, hashCode, list, notEqual, toShortString, toString, toStringImplementation@Deprecated public NestedPropertyInfo(String name, BeanInfo beanInfo)
public BeanInfo getBeanInfo()
PropertyInfogetBeanInfo in interface PropertyInfopublic String getName()
PropertyInfogetName in interface PropertyInfopublic String getUpperName()
PropertyInfogetUpperName in interface PropertyInfopublic TypeInfo getType()
getType in interface PropertyInfopublic void set(Object bean, Object value) throws Throwable
PropertyInfoset in interface PropertyInfobean - the beanvalue - the property valueThrowable - for any errorpublic void toString(org.jboss.util.JBossStringBuilder buffer)
toString in class org.jboss.util.JBossObjectpublic void toShortString(org.jboss.util.JBossStringBuilder buffer)
toShortString in interface org.jboss.util.JBossInterfacetoShortString in class org.jboss.util.JBossObjectpublic int getHashCode()
getHashCode in class org.jboss.util.JBossObjectpublic Object get(Object bean) throws Throwable
PropertyInfoget in interface PropertyInfobean - the beanThrowable - for any errorpublic MethodInfo getGetter()
PropertyInfogetGetter in interface PropertyInfopublic void setGetter(MethodInfo getter)
PropertyInfosetGetter in interface PropertyInfogetter - the getterpublic MethodInfo getSetter()
PropertyInfogetSetter in interface PropertyInfopublic void setSetter(MethodInfo setter)
PropertyInfosetSetter in interface PropertyInfosetter - the setterpublic boolean isReadable()
PropertyInfoisReadable in interface PropertyInfopublic boolean isWritable()
PropertyInfoisWritable in interface PropertyInfopublic FieldInfo getFieldInfo()
PropertyInfogetFieldInfo in interface PropertyInfopublic AnnotationValue[] getAnnotations()
AnnotatedInfogetAnnotations in interface AnnotatedInfopublic AnnotationValue getAnnotation(String annotationName)
AnnotatedInfogetAnnotation in interface AnnotatedInfoannotationName - the namepublic boolean isAnnotationPresent(String annotationName)
AnnotatedInfoisAnnotationPresent in interface AnnotatedInfoannotationName - the namepublic Annotation[] getUnderlyingAnnotations()
AnnotatedInfogetUnderlyingAnnotations in interface AnnotatedInfopublic <T extends Annotation> T getUnderlyingAnnotation(Class<T> annotationType)
AnnotatedInfogetUnderlyingAnnotation in interface AnnotatedInfoT - the annotation typeannotationType - the annotationTypepublic boolean isAnnotationPresent(Class<? extends Annotation> annotationType)
AnnotatedInfoisAnnotationPresent in interface AnnotatedInfoCopyright © 2013 JBoss, a division of Red Hat, Inc.. All Rights Reserved.