public abstract class AbstractDerivative extends AbstractConversion implements PhysicalDerivative
PhysicalDerivative instances.
To allow the definition of the diverse decimal format retrieval methods in
PhysicalDerivative interface, all relevant keys and default
definitions are present already in this class definition and stored in
reserved fields. This class needs no own create method because its
parental class method may also be used to construct these instances.
To allow the conversion to be transported with the event object, this class also implements the Serializable interface. To keep the serialized version slender, the keys and defaults used are defined transient and are used only during the construction phase to spark the existance of private copies of the required instances.
| Modifier and Type | Field and Description |
|---|---|
private static DecimalFormat |
DEFVALUEDERIVATIVE
The default format string for the derivative values.
|
static String |
KEY_VALUEDERIVATIVE
The key to the derivative-value-format string.
|
private static long |
serialVersionUID |
KEY_UNIT, KEY_VALUEFORMAT, KEY_VALUESIGMAKEY_LISTSEPARATOR, KEY_MAPKEYVALUECHAR, KEY_MAPSEPARATORCONFIG, KEY_CLASS| Modifier | Constructor and Description |
|---|---|
protected |
AbstractDerivative(Map<String,String> prop)
Constructs a new command renderer.
|
| Modifier and Type | Method and Description |
|---|---|
NumberFormat |
getDerivativeValueFormat()
Returns the decimal format of the sigma of the raw value.
|
createConversion, getSigmaValueFormat, getUnit, getValueFormataugment, augment, augment, augment, augment, clone, defaultBoolean, defaultChar, defaultDouble, defaultFloat, defaultInt, defaultLong, defaultObject, defaultObject, defaultProperties, defaultProperty, getAsBoolean, getAsChar, getAsDouble, getAsEnums, getAsFloat, getAsInt, getAsList, getAsLong, getAsMap, getAsMap, getAsObject, getAsObject, getProperties, getProperty, has, initProperties, isNew, parseObject, parseObject, reload, reload, removeProperty, requires, rescanned, setObject, setProperties, setProperty, stringProperties, toStringequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetPhysicalDerivative, getRawDerivativegetDeviation, getPhysical, getRaw, getSigmaValueFormat, getUnit, getValueFormatprivate static final long serialVersionUID
public static final transient String KEY_VALUEDERIVATIVE
private static final transient DecimalFormat DEFVALUEDERIVATIVE
public NumberFormat getDerivativeValueFormat()
PhysicalDerivative.getDerivativeValueFormat in interface PhysicalDerivative