P - type of the persistent object.T - type of the transport object.public interface UpdateStrategy<P,T>
UpdateStrategy provides the ability to the applications to implement
their own update strategies. This strategy is used for row/column update
operations.
The validateUpdate(Object, Object) validates
an update operation.
The validateConversion(Object, Object) validates
the conversion of the persistent object is converted to a transport object.
| Modifier and Type | Method and Description |
|---|---|
void |
validateConversion(P source,
T target)
This method is called when a persistent object is converted to a
transport object.
|
void |
validateUpdate(P target,
T source)
Validates an update.
|
Copyright © 2014. All Rights Reserved.