|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.directwebremoting.extend.OverrideProperty
public class OverrideProperty
A Property for when we've been given override information in a signatures element.
| Constructor Summary | |
|---|---|
OverrideProperty(java.lang.Class<?> propertyType)
All OverrideProperties need a name and the type they are providing |
|
| Method Summary | |
|---|---|
Property |
createChild(int index)
Properties may have children where we have nested generic type info. |
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 |
void |
setValue(java.lang.Object bean,
java.lang.Object value)
Set the value of this property of the passed in java bean |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public OverrideProperty(java.lang.Class<?> propertyType)
| Method Detail |
|---|
public Property createChild(int index)
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 Propertyindex - Generally the parameter offset.
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
|
Copyright ยจ 2008 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||