public final class FieldChange extends Object
Constructor and Description |
---|
FieldChange(FieldId fieldId,
Object oldValue,
Object newValue)
Creates a new field change with the given old and new value.
|
FieldChange(FieldId fieldId,
Object oldValue,
Object newValue,
Object delta)
Creates a new field change with the given old and new value and the explicit delta value.
|
Modifier and Type | Method and Description |
---|---|
Object |
getDelta() |
FieldId |
getFieldId() |
Object |
getNewValue() |
Object |
getOldValue() |
String |
toString() |
public FieldChange(FieldId fieldId, Object oldValue, Object newValue)
fieldId
- the id of the affected fieldoldValue
- the old valuenewValue
- the new valuepublic FieldChange(FieldId fieldId, Object oldValue, Object newValue, Object delta)
fieldId
- the id of the affected fieldoldValue
- the old valuenewValue
- the new valuedelta
- the delta that leads from the old value to the new valueCopyright © 2010 - 2018 edorasware ag. All Rights Reserved.