org.apache.commons.betwixt.expression
Class DynaBeanUpdater
java.lang.Object
|
+--org.apache.commons.betwixt.expression.TypedUpdater
|
+--org.apache.commons.betwixt.expression.DynaBeanUpdater
- All Implemented Interfaces:
- Updater
- public class DynaBeanUpdater
- extends TypedUpdater
Updates DynaBean
's.
- Since:
- 0.7
- Author:
- Jakarta Commons Team, Apache Software Foundation
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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
DynaBeanUpdater
public DynaBeanUpdater(org.apache.commons.beanutils.DynaProperty dynaProperty)
- Constructs a
DynaBeanUpdater
for given DynaProperty
.
- Parameters:
dynaProperty
- DyanProperty
, not null
DynaBeanUpdater
public DynaBeanUpdater(java.lang.String propertyName,
java.lang.Class type)
- Constructs a
DynaBeanUpdater
for the given type and property name.
- Parameters:
propertyName
- name of the dyan propertytype
- type of the dyna property
executeUpdate
protected void executeUpdate(Context context,
java.lang.Object bean,
java.lang.Object value)
throws java.lang.Exception
- Executes the update on the given code>DynaBean
- Overrides:
executeUpdate
in class TypedUpdater
- See Also:
TypedUpdater.executeUpdate(Context, java.lang.Object, java.lang.Object)
toString
public java.lang.String toString()
- Outputs something suitable for logging.
- Overrides:
toString
in class java.lang.Object
Copyright © 2002-2005 The Apache Software Foundation. All Rights Reserved.