public class DefaultPropertyInfo extends AbstractPropertyInfo
annotationMap, annotationsArray| Constructor and Description |
|---|
DefaultPropertyInfo()
Create a new property info
|
DefaultPropertyInfo(String name)
Create a new property info
|
DefaultPropertyInfo(String name,
String upperName,
TypeInfo type,
MethodInfo getter,
MethodInfo setter)
Create a new property info
|
DefaultPropertyInfo(String name,
String upperName,
TypeInfo type,
MethodInfo getter,
MethodInfo setter,
AnnotationValue[] annotations)
Create a new property info
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object object) |
Object |
get(Object bean)
Get the property value
|
MethodInfo |
getGetter()
Get the getter
|
MethodInfo |
getSetter()
Get the setter
|
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 |
toString(org.jboss.util.JBossStringBuilder buffer) |
getBeanInfo, getFieldInfo, getHashCode, getName, getType, getUpperName, init, setType, toShortStringgetAnnotation, getAnnotations, isAnnotationPresent, setupAnnotationsgetUnderlyingAnnotation, getUnderlyingAnnotations, isAnnotationPresentcacheGetHashCode, cacheToString, clone, equals, flushJBossObjectCache, getClassShortName, hashCode, list, notEqual, toShortString, toString, toStringImplementationfinalize, getClass, notify, notifyAll, wait, wait, waitgetAnnotation, getAnnotations, getUnderlyingAnnotation, getUnderlyingAnnotations, isAnnotationPresent, isAnnotationPresentpublic DefaultPropertyInfo()
public DefaultPropertyInfo(String name)
name - the namepublic DefaultPropertyInfo(String name, String upperName, TypeInfo type, MethodInfo getter, MethodInfo setter)
name - the nameupperName - the upper case version of the nametype - the typegetter - the gettersetter - the setterpublic DefaultPropertyInfo(String name, String upperName, TypeInfo type, MethodInfo getter, MethodInfo setter, AnnotationValue[] annotations)
name - the nameupperName - the upper case version of the nametype - the typegetter - the gettersetter - the setterannotations - the annotationspublic MethodInfo getGetter()
PropertyInfopublic void setGetter(MethodInfo getter)
PropertyInfogetter - the getterpublic MethodInfo getSetter()
PropertyInfopublic void setSetter(MethodInfo setter)
PropertyInfosetter - the setterpublic boolean isReadable()
PropertyInfopublic boolean isWritable()
PropertyInfopublic Object get(Object bean) throws Throwable
PropertyInfobean - the beanThrowable - for any errorpublic void set(Object bean, Object value) throws Throwable
PropertyInfobean - the beanvalue - the property valueThrowable - for any errorpublic boolean equals(Object object)
equals in class AbstractPropertyInfopublic void toString(org.jboss.util.JBossStringBuilder buffer)
toString in class AbstractPropertyInfoCopyright © 2013 JBoss, a division of Red Hat, Inc.. All rights reserved.