|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.directwebremoting.extend.ParameterProperty
public class ParameterProperty
An implementation of Property that gets type information from the 'n'th parameter to a method
| Constructor Summary | |
|---|---|
ParameterProperty(MethodDeclaration method,
int parameterNumber)
|
|
| Method Summary | |
|---|---|
Property |
createChild(int aNewParameterNumber)
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 ParameterProperty(MethodDeclaration method,
int parameterNumber)
| 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 failspublic Property createChild(int aNewParameterNumber)
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 PropertyaNewParameterNumber - Generally the parameter offset.
public 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 | |||||||||