public abstract class AbstractPropertyInfo extends AnnotationHolder implements PropertyInfo, Serializable
annotationMap, annotationsArray| Constructor and Description |
|---|
AbstractPropertyInfo()
Create a new property info
|
AbstractPropertyInfo(String name)
Create a new property info
|
AbstractPropertyInfo(String name,
String upperName,
TypeInfo type)
Create a new property info
|
AbstractPropertyInfo(String name,
String upperName,
TypeInfo type,
AnnotationValue[] annotations)
Create a new property info
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object object) |
BeanInfo |
getBeanInfo()
Get the BeanInfo
|
FieldInfo |
getFieldInfo()
Get the field info
in case impl uses field to
handle property ops.
|
int |
getHashCode() |
String |
getName()
Get the property name
|
TypeInfo |
getType()
Get the type
|
String |
getUpperName()
Get the uppercase version of the property name
|
protected void |
init(String name,
String upperName,
TypeInfo type)
Initialize fields.
|
void |
setType(TypeInfo type) |
void |
toShortString(org.jboss.util.JBossStringBuilder buffer) |
void |
toString(org.jboss.util.JBossStringBuilder buffer) |
getAnnotation, getAnnotations, isAnnotationPresent, setupAnnotationsgetUnderlyingAnnotation, getUnderlyingAnnotations, isAnnotationPresentcacheGetHashCode, cacheToString, clone, equals, flushJBossObjectCache, getClassShortName, hashCode, list, notEqual, toShortString, toString, toStringImplementationfinalize, getClass, notify, notifyAll, wait, wait, waitget, getGetter, getSetter, isReadable, isWritable, set, setGetter, setSettergetAnnotation, getAnnotations, getUnderlyingAnnotation, getUnderlyingAnnotations, isAnnotationPresent, isAnnotationPresentpublic AbstractPropertyInfo()
public AbstractPropertyInfo(String name)
name - the namepublic AbstractPropertyInfo(String name, String upperName, TypeInfo type)
name - the nameupperName - the upper case version of the nametype - the typepublic AbstractPropertyInfo(String name, String upperName, TypeInfo type, AnnotationValue[] annotations)
name - the nameupperName - the upper case version of the nametype - the typeannotations - the annotationsprotected void init(String name, String upperName, TypeInfo type)
name - the nameupperName - the upper nametype - the typepublic BeanInfo getBeanInfo()
PropertyInfogetBeanInfo in interface PropertyInfopublic String getName()
PropertyInfogetName in interface PropertyInfopublic String getUpperName()
PropertyInfogetUpperName in interface PropertyInfopublic TypeInfo getType()
PropertyInfogetType in interface PropertyInfopublic void setType(TypeInfo type)
public FieldInfo getFieldInfo()
PropertyInfogetFieldInfo in interface PropertyInfopublic 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.JBossObjectCopyright © 2016 JBoss by Red Hat. All rights reserved.