public final class DataItem extends Object
FloatingData if the data set is a BAR data set and uses floating bars data.| Constructor and Description |
|---|
DataItem(Object object)
Creates the object with object which represents the value.
|
| Modifier and Type | Method and Description |
|---|---|
DataType |
getDataType()
Returns the data type of value.
|
double |
getValue()
Returns the value for the data set if it is or
Undefined.DOUBLE. |
DataPoint |
getValueAsDataPoint()
Returns the value for the data set as
DataPoint if it is or null. |
FloatingData |
getValueAsFloatingData()
Returns the value for the data set as
FloatingData if it is or null. |
String |
getValueAsString()
Returns the value for the data set as string if it is or
Undefined.STRING. |
public DataItem(Object object)
object - object which represents the value.public DataType getDataType()
public double getValue()
Undefined.DOUBLE.Undefined.DOUBLEpublic FloatingData getValueAsFloatingData()
FloatingData if it is or null.FloatingData if it is or nullpublic String getValueAsString()
Undefined.STRING.Undefined.STRING.