|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.util.JBossObject
org.jboss.reflect.plugins.AbstractAnnotatedInfo
org.jboss.reflect.plugins.AnnotationHolder
org.jboss.beans.info.plugins.AbstractPropertyInfo
public abstract class AbstractPropertyInfo
Property info.
| Field Summary |
|---|
| Fields inherited from class org.jboss.reflect.plugins.AnnotationHolder |
|---|
annotationMap, annotationsArray |
| Fields inherited from class org.jboss.util.JBossObject |
|---|
hashCode, log, toString |
| Constructor Summary | |
|---|---|
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 |
|
| Method Summary | |
|---|---|
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)
|
| Methods inherited from class org.jboss.reflect.plugins.AnnotationHolder |
|---|
getAnnotation, getAnnotations, isAnnotationPresent, setupAnnotations |
| Methods inherited from class org.jboss.reflect.plugins.AbstractAnnotatedInfo |
|---|
getUnderlyingAnnotation, getUnderlyingAnnotations, isAnnotationPresent |
| Methods inherited from class org.jboss.util.JBossObject |
|---|
cacheGetHashCode, cacheToString, clone, equals, flushJBossObjectCache, getClassShortName, hashCode, list, notEqual, toShortString, toString, toStringImplementation |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.jboss.beans.info.spi.PropertyInfo |
|---|
get, getGetter, getSetter, isReadable, isWritable, set, setGetter, setSetter |
| 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 |
| Constructor Detail |
|---|
public AbstractPropertyInfo()
public AbstractPropertyInfo(String name)
name - the name
public AbstractPropertyInfo(String name,
String upperName,
TypeInfo type)
name - the nameupperName - the upper case version of the nametype - the type
public AbstractPropertyInfo(String name,
String upperName,
TypeInfo type,
AnnotationValue[] annotations)
name - the nameupperName - the upper case version of the nametype - the typeannotations - the annotations| Method Detail |
|---|
protected void init(String name,
String upperName,
TypeInfo type)
name - the nameupperName - the upper nametype - the typepublic BeanInfo getBeanInfo()
PropertyInfo
getBeanInfo in interface PropertyInfopublic String getName()
PropertyInfo
getName in interface PropertyInfopublic String getUpperName()
PropertyInfo
getUpperName in interface PropertyInfopublic TypeInfo getType()
PropertyInfo
getType in interface PropertyInfopublic void setType(TypeInfo type)
public FieldInfo getFieldInfo()
PropertyInfo
getFieldInfo in interface PropertyInfopublic boolean equals(Object object)
equals in class Objectpublic 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.JBossObject
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||