Class Int64UValue
- java.lang.Object
-
- com.smartgridready.communicator.common.api.values.Value
-
- com.smartgridready.communicator.common.api.values.Int64UValue
-
public class Int64UValue extends Value
-
-
Field Summary
-
Fields inherited from class com.smartgridready.communicator.common.api.values.Value
UNSIGNED_LONG_MASK
-
-
Constructor Summary
Constructors Constructor Description Int64UValue(java.math.BigInteger value)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
absValue()
Int64UValue[]
asArray()
java.util.Map<java.lang.String,java.lang.Boolean>
getBitmap()
boolean
getBoolean()
java.time.Instant
getDateTime()
EnumRecord
getEnum()
float
getFloat32()
double
getFloat64()
short
getInt16()
int
getInt16U()
int
getInt32()
long
getInt32U()
long
getInt64()
java.math.BigInteger
getInt64U()
byte
getInt8()
short
getInt8U()
com.fasterxml.jackson.databind.JsonNode
getJson()
java.lang.String
getString()
static Int64UValue
of(java.math.BigInteger value)
void
roundToInt()
NumberValue<java.lang.Double>
scaleDown(int mul, int powOf10)
NumberValue<java.lang.Double>
scaleUp(int mul, int powOf10)
-
Methods inherited from class com.smartgridready.communicator.common.api.values.Value
enumToOrdinalValue, fromDiscreteInput, fromModbusRegister, fromString, getJson, toModbusDiscreteVal, toModbusRegister
-
-
-
-
Method Detail
-
getFloat32
public float getFloat32()
- Specified by:
getFloat32
in classValue
-
getFloat64
public double getFloat64()
- Specified by:
getFloat64
in classValue
-
getBoolean
public boolean getBoolean()
- Specified by:
getBoolean
in classValue
-
getEnum
public EnumRecord getEnum()
-
getBitmap
public java.util.Map<java.lang.String,java.lang.Boolean> getBitmap()
-
getDateTime
public java.time.Instant getDateTime()
- Specified by:
getDateTime
in classValue
-
getJson
public com.fasterxml.jackson.databind.JsonNode getJson()
-
asArray
public Int64UValue[] asArray()
-
scaleDown
public NumberValue<java.lang.Double> scaleDown(int mul, int powOf10)
-
scaleUp
public NumberValue<java.lang.Double> scaleUp(int mul, int powOf10)
-
roundToInt
public void roundToInt()
- Specified by:
roundToInt
in classValue
-
of
public static Int64UValue of(java.math.BigInteger value)
-
-