public class DynaBeanUpdater extends TypedUpdater
DynaBean
's.Constructor and Description |
---|
DynaBeanUpdater(org.apache.commons.beanutils.DynaProperty dynaProperty)
Constructs a
DynaBeanUpdater
for given DynaProperty . |
DynaBeanUpdater(String propertyName,
Class type)
Constructs a
DynaBeanUpdater
for the given type and property name. |
Modifier and Type | Method and Description |
---|---|
protected void |
executeUpdate(Context context,
Object bean,
Object value)
Executes the update on the given code>DynaBean
|
String |
toString()
Outputs something suitable for logging.
|
getValueType, handleException, setValueType, update
public DynaBeanUpdater(org.apache.commons.beanutils.DynaProperty dynaProperty)
DynaBeanUpdater
for given DynaProperty
.dynaProperty
- DyanProperty
, not nullprotected void executeUpdate(Context context, Object bean, Object value) throws Exception
executeUpdate
in class TypedUpdater
value
- value after type conversionException
TypedUpdater.executeUpdate(Context, java.lang.Object, java.lang.Object)
Copyright © 2002-2013 Apache Software Foundation. All Rights Reserved.