|
||||||||||
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
org.jboss.beans.info.plugins.FieldPropertyInfo
public class FieldPropertyInfo
Field 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 | |
---|---|
|
FieldPropertyInfo(FieldInfo field)
|
protected |
FieldPropertyInfo(FieldInfo field,
boolean setAnnotations)
|
Method Summary | |
---|---|
boolean |
equals(Object object)
|
Object |
get(Object bean)
Get the property value |
FieldInfo |
getFieldInfo()
Get the field info in case impl uses field to handle property ops. |
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)
|
Methods inherited from class org.jboss.beans.info.plugins.AbstractPropertyInfo |
---|
getBeanInfo, getHashCode, getName, getType, getUpperName, init, setType, toShortString |
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.reflect.spi.AnnotatedInfo |
---|
getAnnotation, getAnnotations, getUnderlyingAnnotation, getUnderlyingAnnotations, isAnnotationPresent, isAnnotationPresent |
Methods inherited from interface org.jboss.util.JBossInterface |
---|
clone, toShortString |
Constructor Detail |
---|
public FieldPropertyInfo(FieldInfo field)
protected FieldPropertyInfo(FieldInfo field, boolean setAnnotations)
Method Detail |
---|
public MethodInfo getGetter()
PropertyInfo
public void setGetter(MethodInfo getter)
PropertyInfo
getter
- the getterpublic MethodInfo getSetter()
PropertyInfo
public void setSetter(MethodInfo setter)
PropertyInfo
setter
- the setterpublic boolean isReadable()
PropertyInfo
public boolean isWritable()
PropertyInfo
public Object get(Object bean) throws Throwable
PropertyInfo
bean
- the bean
Throwable
- for any errorpublic void set(Object bean, Object value) throws Throwable
PropertyInfo
bean
- the beanvalue
- the property value
Throwable
- for any errorpublic FieldInfo getFieldInfo()
PropertyInfo
getFieldInfo
in interface PropertyInfo
getFieldInfo
in class AbstractPropertyInfo
public boolean equals(Object object)
equals
in class AbstractPropertyInfo
public void toString(org.jboss.util.JBossStringBuilder buffer)
toString
in class AbstractPropertyInfo
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |