|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.directwebremoting.extend.ConstructorProperty
public class ConstructorProperty
| Constructor Summary | |
|---|---|
ConstructorProperty(java.lang.reflect.Constructor<?> constructor,
java.lang.String parameterName,
int parameterNumber)
|
|
| Method Summary | |
|---|---|
Property |
createChild(int nextNewParameterNumber)
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 ConstructorProperty(java.lang.reflect.Constructor<?> constructor,
java.lang.String parameterName,
int parameterNumber)
constructor - parameterName - 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 Property createChild(int nextNewParameterNumber)
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 PropertynextNewParameterNumber - Generally the parameter offset.
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 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 | |||||||||