public abstract class RT_Calculator
extends java.lang.Object
RT_CalculatorFeature
,
RT_CalculatorFilter
,
RT_CalculatorNetChange
,
RT_CalculatorPercentChange
,
RT_Feature
,
DecimalFormat
Modifier and Type | Method and Description |
---|---|
boolean |
calculate(RT_Message rec,
RT_Message msg,
java.lang.String[] unchangedFids) |
short |
getCalculatedValueFid() |
short |
getCurrentValueFid() |
short |
getReferenceValueFid() |
void |
setDecimalFormat(java.lang.String format) |
public boolean calculate(RT_Message rec, RT_Message msg, java.lang.String[] unchangedFids)
rec
- The cached record message. Contains all of the fields
associated with this record, including all of the values
in the msgmsg
- The streamed message. This is what came in on the feed.unchangedFids
- The list of fields that were in the message, but not
marked as changed. This is required by the protocolpublic void setDecimalFormat(java.lang.String format)
format
- overrides the default decimal format used when generating the
resultpublic short getCurrentValueFid()
public short getReferenceValueFid()
public short getCalculatedValueFid()