Class Int32Value
- java.lang.Object
-
- com.smartgridready.communicator.common.api.values.Value
-
- com.smartgridready.communicator.common.api.values.NumberValue<java.lang.Integer>
-
- com.smartgridready.communicator.common.api.values.Int32Value
-
public class Int32Value extends NumberValue<java.lang.Integer>
-
-
Field Summary
-
Fields inherited from class com.smartgridready.communicator.common.api.values.NumberValue
value
-
Fields inherited from class com.smartgridready.communicator.common.api.values.Value
UNSIGNED_LONG_MASK
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
absValue()
Int32Value[]
asArray()
static Int32Value
of(int value)
void
roundToInt()
protected void
setValue(double value)
-
Methods inherited from class com.smartgridready.communicator.common.api.values.NumberValue
equals, getBitmap, getBoolean, getDateTime, getEnum, getFloat32, getFloat64, getInt16, getInt16U, getInt32, getInt32U, getInt64, getInt64U, getInt8, getInt8U, getJson, getString, hashCode, scaleDown, scaleUp, toString
-
Methods inherited from class com.smartgridready.communicator.common.api.values.Value
enumToOrdinalValue, fromDiscreteInput, fromModbusRegister, fromString, getJson, toModbusDiscreteVal, toModbusRegister
-
-
-
-
Method Detail
-
setValue
protected void setValue(double value)
- Specified by:
setValue
in classNumberValue<java.lang.Integer>
-
asArray
public Int32Value[] asArray()
-
roundToInt
public void roundToInt()
- Specified by:
roundToInt
in classValue
-
of
public static Int32Value of(int value)
-
-