public class DataPoint
extends Object
implements Serializable
Modifier and Type | Class and Description |
---|---|
static class |
DataPoint.TypeEnum
Gets or Sets type
|
Constructor and Description |
---|
DataPoint() |
Modifier and Type | Method and Description |
---|---|
DataPoint |
customData(Object customData) |
DataPoint |
description(String description) |
boolean |
equals(Object o) |
Object |
getCustomData()
A custom object of user-defined attributes.
|
String |
getDescription()
Get description
|
String |
getId()
Identifier of this data point.
|
String |
getName()
Get name
|
DataPoint.TypeEnum |
getType()
Get type
|
String |
getUnit()
Unit of data point.
|
int |
hashCode() |
DataPoint |
id(String id) |
DataPoint |
name(String name) |
void |
setCustomData(Object customData) |
void |
setDescription(String description) |
void |
setId(String id) |
void |
setName(String name) |
void |
setType(DataPoint.TypeEnum type) |
void |
setUnit(String unit) |
String |
toString() |
DataPoint |
type(DataPoint.TypeEnum type) |
DataPoint |
unit(String unit) |
public DataPoint id(String id)
public String getId()
public void setId(String id)
public DataPoint name(String name)
public String getName()
public void setName(String name)
public DataPoint description(String description)
public String getDescription()
public void setDescription(String description)
public DataPoint type(DataPoint.TypeEnum type)
public DataPoint.TypeEnum getType()
public void setType(DataPoint.TypeEnum type)
public DataPoint unit(String unit)
public String getUnit()
public void setUnit(String unit)
public DataPoint customData(Object customData)
public Object getCustomData()
public void setCustomData(Object customData)
public boolean equals(Object o)
equals
in class Object
public int hashCode()
hashCode
in class Object
public String toString()
toString
in class Object