|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.directwebremoting.extend.PlainProperty
public class PlainProperty
An implementation of Property that simply uses stored values.
| Constructor Summary | |
|---|---|
PlainProperty(java.lang.String name,
java.lang.Object value)
|
|
| 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 PlainProperty(java.lang.String name,
java.lang.Object value)
name - The property namevalue - The property value irrespective of the object that we read it on| 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 newParameterNumber)
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.
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 | |||||||||