Package io.inugami.commons.data.model
Class Record
- java.lang.Object
-
- io.inugami.commons.data.model.Record
-
- All Implemented Interfaces:
ClonableObject<JsonObject>
,JsonObject
,JsonObjectToJson
,Serializable
public class Record extends Object implements JsonObject
Record- Since:
- 10 oct. 2017
- See Also:
- Serialized Form
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description JsonObject
cloneObj()
long
getTime()
String
getUnit()
double
getValue()
String
toString()
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface io.inugami.api.models.data.basic.JsonObject
convertToObject
-
Methods inherited from interface io.inugami.api.models.data.JsonObjectToJson
buildJsonError, convertToJson, extractStack
-
-
-
-
Constructor Detail
-
Record
public Record(long time, double value, String unit)
-
-
Method Detail
-
cloneObj
public JsonObject cloneObj()
- Specified by:
cloneObj
in interfaceClonableObject<JsonObject>
- Specified by:
cloneObj
in interfaceJsonObject
-
getTime
public long getTime()
-
getValue
public double getValue()
-
getUnit
public String getUnit()
-
-