public final class LongContent extends NumberContent
This content is used to hold whole numbers between -9223372036854775808l and 9223372036854775807l. It will accept any number (may involve rounding or truncation) and will try to decode a string (in decimal, hexadecimal or octal representation, according to Java conventions).
Proxied.Abstract| Constructor and Description |
|---|
LongContent() |
| Modifier and Type | Method and Description |
|---|---|
Long |
decode(PointValue pointValue)
Decodes the value of a point value.
|
Long |
denormalize(NormalizedValue normalizedValue)
Denormalizes the value of a point value.
|
Long |
normalize(PointValue pointValue)
Normalizes the value of a point value.
|
encode, getInstance, warnBadValuegetMetadata, getName, getParams, getProxyEntity, getThisLogger, setUp, tearDownpublic Long 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 Long 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 Long 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.Copyright © 2003-2019 Serge Brisson. All Rights Reserved.