public class PointValueTime extends java.lang.Object implements java.io.Serializable, IValueTime, com.serotonin.json.JsonSerializable
AnnotatedPointValueTime,
Serialized Form| Modifier and Type | Field and Description |
|---|---|
private static long |
serialVersionUID |
private long |
time |
private MangoValue |
value |
| Constructor and Description |
|---|
PointValueTime(boolean value,
long time) |
PointValueTime(double value,
long time) |
PointValueTime(int value,
long time) |
PointValueTime(MangoValue value,
long time) |
PointValueTime(java.lang.String value,
long time) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object o) |
static boolean |
equalValues(PointValueTime pvt1,
PointValueTime pvt2) |
boolean |
getBooleanValue() |
double |
getDoubleValue() |
int |
getIntegerValue() |
java.lang.String |
getStringValue() |
long |
getTime() |
MangoValue |
getValue() |
static MangoValue |
getValue(PointValueTime pvt) |
boolean |
isAnnotated() |
void |
jsonDeserialize(com.serotonin.json.JsonReader arg0,
com.serotonin.json.JsonObject arg1) |
void |
jsonSerialize(java.util.Map<java.lang.String,java.lang.Object> arg0) |
java.lang.String |
toString() |
private static final long serialVersionUID
private final MangoValue value
private final long time
public PointValueTime(MangoValue value, long time)
public PointValueTime(boolean value,
long time)
public PointValueTime(int value,
long time)
public PointValueTime(double value,
long time)
public PointValueTime(java.lang.String value,
long time)
public static boolean equalValues(PointValueTime pvt1, PointValueTime pvt2)
public static MangoValue getValue(PointValueTime pvt)
public long getTime()
getTime in interface IValueTimepublic MangoValue getValue()
getValue in interface IValueTimepublic boolean isAnnotated()
public double getDoubleValue()
public java.lang.String getStringValue()
public int getIntegerValue()
public boolean getBooleanValue()
public boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Objectpublic void jsonDeserialize(com.serotonin.json.JsonReader arg0,
com.serotonin.json.JsonObject arg1)
throws com.serotonin.json.JsonException
jsonDeserialize in interface com.serotonin.json.JsonSerializablecom.serotonin.json.JsonExceptionpublic void jsonSerialize(java.util.Map<java.lang.String,java.lang.Object> arg0)
jsonSerialize in interface com.serotonin.json.JsonSerializable