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, warnBadValue
getMetadata, getName, getParams, getProxyEntity, getThisLogger, tearDown
public 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 Content
decode
in class AbstractContent
pointValue
- 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 Content
denormalize
in class AbstractContent
normalizedValue
- The point value associated with the value to be
denormalized.public Content getInstance(Point point)
getInstance
in interface Content
getInstance
in class AbstractContent
point
- The point.public Serializable normalize(PointValue pointValue)
Converts from an external unit to an internal unit.
normalize
in interface Content
normalize
in class AbstractContent
pointValue
- The point value associated with the value to be
normalized.public boolean setUp(Metadata metadata, ProxyEntity proxyEntity)
setUp
in interface Proxied
setUp
in class Proxied.Abstract
metadata
- The metadata available to the current process.proxyEntity
- The proxy entity refering to the proxied.Copyright © 2003-2019 Serge Brisson. All Rights Reserved.