public class

DynaBeanUpdater

extends TypedUpdater
java.lang.Object
   ↳ org.apache.commons.betwixt.expression.TypedUpdater
     ↳ org.apache.commons.betwixt.expression.DynaBeanUpdater

Class Overview

Updates DynaBean's.

Summary

Public Constructors
DynaBeanUpdater(DynaProperty dynaProperty)
Constructs a DynaBeanUpdater for given DynaProperty.
DynaBeanUpdater(String propertyName, Class type)
Constructs a DynaBeanUpdater for the given type and property name.
Public Methods
String toString()
Outputs something suitable for logging.
Protected Methods
void executeUpdate(Context context, Object bean, Object value)
Executes the update on the given code>DynaBean
[Expand]
Inherited Methods
From class org.apache.commons.betwixt.expression.TypedUpdater
From class java.lang.Object
From interface org.apache.commons.betwixt.expression.Updater

Public Constructors

public DynaBeanUpdater (DynaProperty dynaProperty)

Constructs a DynaBeanUpdater for given DynaProperty.

Parameters
dynaProperty DyanProperty, not null

public DynaBeanUpdater (String propertyName, Class type)

Constructs a DynaBeanUpdater for the given type and property name.

Parameters
propertyName name of the dyan property
type type of the dyna property

Public Methods

public String toString ()

Outputs something suitable for logging.

Protected Methods

protected void executeUpdate (Context context, Object bean, Object value)

Executes the update on the given code>DynaBean

Parameters
value value after type conversion
Throws
Exception