|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.commons.betwixt.expression.TypedUpdater org.apache.commons.betwixt.expression.DynaBeanUpdater
public class DynaBeanUpdater
Updates DynaBean
's.
Constructor Summary | |
---|---|
DynaBeanUpdater(org.apache.commons.beanutils.DynaProperty dynaProperty)
Constructs a DynaBeanUpdater
for given DynaProperty . |
|
DynaBeanUpdater(java.lang.String propertyName,
java.lang.Class type)
Constructs a DynaBeanUpdater
for the given type and property name. |
Method Summary | |
---|---|
protected void |
executeUpdate(Context context,
java.lang.Object bean,
java.lang.Object value)
Executes the update on the given code>DynaBean |
java.lang.String |
toString()
Outputs something suitable for logging. |
Methods inherited from class org.apache.commons.betwixt.expression.TypedUpdater |
---|
getValueType, handleException, setValueType, update |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public DynaBeanUpdater(org.apache.commons.beanutils.DynaProperty dynaProperty)
DynaBeanUpdater
for given DynaProperty
.
dynaProperty
- DyanProperty
, not nullpublic DynaBeanUpdater(java.lang.String propertyName, java.lang.Class type)
DynaBeanUpdater
for the given type and property name.
propertyName
- name of the dyan propertytype
- type of the dyna propertyMethod Detail |
---|
protected void executeUpdate(Context context, java.lang.Object bean, java.lang.Object value) throws java.lang.Exception
executeUpdate
in class TypedUpdater
value
- value after type conversion
java.lang.Exception
TypedUpdater.executeUpdate(Context, java.lang.Object, java.lang.Object)
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |