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, setupAnnotations
getUnderlyingAnnotation, getUnderlyingAnnotations, isAnnotationPresent
cacheGetHashCode, cacheToString, clone, equals, flushJBossObjectCache, getClassShortName, hashCode, list, notEqual, toShortString, toString, toStringImplementation
finalize, getClass, notify, notifyAll, wait, wait, wait
get, getGetter, getSetter, isReadable, isWritable, set, setGetter, setSetter
getAnnotation, getAnnotations, getUnderlyingAnnotation, getUnderlyingAnnotations, isAnnotationPresent, isAnnotationPresent
public 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()
PropertyInfo
getBeanInfo
in interface PropertyInfo
public String getName()
PropertyInfo
getName
in interface PropertyInfo
public String getUpperName()
PropertyInfo
getUpperName
in interface PropertyInfo
public TypeInfo getType()
PropertyInfo
getType
in interface PropertyInfo
public void setType(TypeInfo type)
public FieldInfo getFieldInfo()
PropertyInfo
getFieldInfo
in interface PropertyInfo
public void toString(org.jboss.util.JBossStringBuilder buffer)
toString
in class org.jboss.util.JBossObject
public void toShortString(org.jboss.util.JBossStringBuilder buffer)
toShortString
in interface org.jboss.util.JBossInterface
toShortString
in class org.jboss.util.JBossObject
public int getHashCode()
getHashCode
in class org.jboss.util.JBossObject
Copyright © 2017 JBoss by Red Hat. All rights reserved.