public abstract static class SimpleType.SimpleTypeValueUpdater
extends java.lang.Object
Constructor and Description |
---|
SimpleTypeValueUpdater() |
Modifier and Type | Method and Description |
---|---|
abstract java.lang.Object |
updateAtomicValue(java.lang.Object atomicValue,
java.lang.Object currentValue)
Method to update a live data value with an edited atomic value (such as a string or number).
|
java.lang.Object |
updateAtomicValue(java.lang.Object atomicValue,
java.lang.Object currentValue,
java.lang.String reason)
Method to uodate a live data value with an edited atomic value atomic value (such as a string or number).
|
public abstract java.lang.Object updateAtomicValue(java.lang.Object atomicValue, java.lang.Object currentValue)
atomicValue
- (any) New atomic value. This should match the underlying atomic type
specified by the #inheritsFrom
attribute.currentValue
- Existing data value to be updated.public java.lang.Object updateAtomicValue(java.lang.Object atomicValue, java.lang.Object currentValue, java.lang.String reason)
atomicValue
- (any) New atomic value. This should match the underlying atomic type
specified by the #inheritsFrom
attribute.value
- Raw data value to convert. Typically this would be a field value for some record.reason
- A string passed by the framework to indicate why it is updating the atomic value. See
SimpleType.SimpleTypeValueExtractor.getAtomicValue(java.lang.Object, java.lang.String)
for details of the reason strings used by the framework