public final class BigDecimalContent extends NumberContent
Proxied.Abstract| Modifier and Type | Field and Description |
|---|---|
static String |
MULTIPLIER_PARAM
Conversion factor.
|
static String |
SCALE_PARAM
Param specifying the scale.
|
| Constructor and Description |
|---|
BigDecimalContent() |
| Modifier and Type | Method and Description |
|---|---|
Serializable |
decode(PointValue pointValue)
Decodes the value of a point value.
|
Serializable |
denormalize(NormalizedValue normalizedValue)
Denormalizes the value of a point value.
|
Content |
getInstance(Point point)
Gets an appropriate instance of this content for the point.
|
Serializable |
normalize(PointValue pointValue)
Normalizes the value of a point value.
|
boolean |
setUp(Metadata metadata,
ProxyEntity proxyEntity)
Sets up the instance for action.
|
encode, warnBadValuegetMetadata, getName, getParams, getProxyEntity, getThisLogger, tearDownpublic static final String MULTIPLIER_PARAM
public static final String SCALE_PARAM
public Serializable decode(PointValue pointValue)
Converts from an external representation to an internal representation.
decode in interface Contentdecode in class AbstractContentpointValue - The point value associated with the value to decode.public Serializable denormalize(NormalizedValue normalizedValue)
Converts from an internal unit to an external unit.
denormalize in interface Contentdenormalize in class AbstractContentnormalizedValue - The point value associated with the value to be
denormalized.public Content getInstance(Point point)
getInstance in interface ContentgetInstance in class AbstractContentpoint - The point.public Serializable normalize(PointValue pointValue)
Converts from an external unit to an internal unit.
normalize in interface Contentnormalize in class AbstractContentpointValue - The point value associated with the value to be
normalized.public boolean setUp(Metadata metadata, ProxyEntity proxyEntity)
setUp in interface ProxiedsetUp in class Proxied.Abstractmetadata - The metadata available to the current process.proxyEntity - The proxy entity refering to the proxied.Copyright © 2003-2019 Serge Brisson. All Rights Reserved.