java.lang.Object | |
↳ | org.apache.commons.betwixt.expression.TypedUpdater |
Known Direct Subclasses |
Abstracts common features for strongly typed Updater
's.
Strongly type Updater
's perform conversions based on this
the expected type before the bean update is invoked.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Gets the type expected.
| |||||||||||
Sets the type expected.
| |||||||||||
Updates the current bean context with the given String value
|
Protected Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Updates the bean with the given value.
| |||||||||||
Strategy method to allow derivations to handle exceptions differently.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
From interface
org.apache.commons.betwixt.expression.Updater
|
Gets the type expected.
The value passed into update(Context, Object)
will be converted on the basis of this type
before being passed to executeUpdate(Context, Object, Object)
.
Class
giving expected type, not null
Sets the type expected.
The value passed into update(Context, Object)
will be converted on the basis of this type
before being passed to executeUpdate(Context, Object, Object)
.
valueType | Class giving expected type, not null
|
---|
Updates the current bean context with the given String value
context | the Context to be updated |
---|---|
newValue | the update to this new value |
Updates the bean with the given value.
value | value after type conversion |
---|
Exception |
---|
Strategy method to allow derivations to handle exceptions differently.
context | the Context being updated when this exception occured |
---|---|
e | the Exception that occured during the update |