public abstract class AbstractValueChangeEvent extends Object implements ChangeDataHolderEvent.ValueChange
ChangeDataHolderEvent.ValueChange
Modifier and Type | Field and Description |
---|---|
protected DataTransactionResult |
endResult |
protected DataTransactionResult |
originalChanges |
Constructor and Description |
---|
AbstractValueChangeEvent() |
Modifier and Type | Method and Description |
---|---|
protected void |
init() |
ChangeDataHolderEvent.ValueChange |
proposeChanges(DataTransactionResult result)
Submits a new
DataTransactionResult as a proposal of various
Value s to be successfully offered/changed on the original
DataHolder . |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getEndResult, getOriginalChanges
getTargetHolder
getCause, getContext, getSource
isCancelled, setCancelled
protected DataTransactionResult originalChanges
protected DataTransactionResult endResult
protected void init()
public ChangeDataHolderEvent.ValueChange proposeChanges(DataTransactionResult result)
ChangeDataHolderEvent.ValueChange
DataTransactionResult
as a proposal of various
Value
s to be successfully offered/changed on the original
DataHolder
.
If the proposed DataTransactionResult
provides additional
values that were not changed in the ChangeDataHolderEvent.ValueChange.getOriginalChanges()
,
the provided changes suggested to be successfully offered will be
re-offered
proposeChanges
in interface ChangeDataHolderEvent.ValueChange
result
- The resulting offer