|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.directwebremoting.extend.PropertyDescriptorProperty
public class PropertyDescriptorProperty
An implementation of Property that proxies to a PropertyDescriptor
| Constructor Summary | |
|---|---|
PropertyDescriptorProperty(java.beans.PropertyDescriptor descriptor)
|
|
| Method Summary | |
|---|---|
Property |
createChild(int newParameterNumber)
Properties may have children where we have nested generic type info. |
boolean |
equals(java.lang.Object obj)
|
java.lang.String |
getName()
Gets the name of this property |
java.lang.Class<?> |
getPropertyType()
What type does this property |
java.lang.Object |
getValue(java.lang.Object bean)
Get the value of this property of the passed in java bean |
int |
hashCode()
|
void |
setValue(java.lang.Object bean,
java.lang.Object value)
Set the value of this property of the passed in java bean |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public PropertyDescriptorProperty(java.beans.PropertyDescriptor descriptor)
descriptor - The PropertyDescriptor that we are proxying to| Method Detail |
|---|
public java.lang.String getName()
Property
getName in interface Propertypublic java.lang.Class<?> getPropertyType()
Property
getPropertyType in interface PropertyProperty.getValue(Object)
public java.lang.Object getValue(java.lang.Object bean)
throws ConversionException
Property
getValue in interface Propertybean - The bean to introspect
ConversionException - If the reflection access fails
public void setValue(java.lang.Object bean,
java.lang.Object value)
throws ConversionException
Property
setValue in interface Propertybean - The bean to introspectvalue - The value assigned to this property of the passed in bean
ConversionException - If the reflection access fails
public Property createChild(int newParameterNumber)
throws ConversionException
PropertysetFoo(List<Map<String, Class<?>> x) we can
find type information about the nested bits of generic data.
If calling this method then you almost certainly want to check for an
overridden property as defined by the ConverterManager by calling
ConverterManager.checkOverride(Property)
createChild in interface PropertynewParameterNumber - Generally the parameter offset.
ConversionExceptionpublic int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Object
|
Copyright ยจ 2008 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||