public interface SerialInfo
| Modifier and Type | Field and Description |
|---|---|
static int |
DATE |
static int |
NUMERIC |
static int |
RANGES |
static int |
SINGLE_VALUES |
| Modifier and Type | Method and Description |
|---|---|
void |
addValue(double value)
Adds a new time value in the array.
|
void |
addValue(String value)
Adds a new time value in the array.
|
int |
getDataType()
Gets the data type
|
String |
getDescription()
Gets the description
|
String |
getSerialName()
Gets the serial name
|
ArrayList<?> |
getTime()
Gets the list of dates
|
String |
getTimeInfo(int pos)
Gets a string which represents a time information for that position.
|
int |
getTimeType()
Gets the time type
|
boolean |
isInRange(SerialInfo tInfo)
Returns true if the range selected in the parameters is
inside the current.
|
void |
setDataType(int dataType)
Sets the data type
|
void |
setDescription(String description)
Sets the description
|
void |
setSerialName(String serialName)
Sets the serial name
|
void |
setTime(ArrayList<?> time)
Sets the list of dates
|
void |
setTimeType(int timeType)
Sets the time type
|
void |
setTimeType(String timeType)
Sets the time type
|
static final int NUMERIC
static final int DATE
static final int SINGLE_VALUES
static final int RANGES
String getSerialName()
void setSerialName(String serialName)
serialName - ArrayList<?> getTime()
void setTime(ArrayList<?> time)
int getTimeType()
void setTimeType(int timeType)
timeType - void setTimeType(String timeType)
timeType - int getDataType()
void setDataType(int dataType)
timeType - void addValue(String value) throws ParseException
value - ParseExceptionvoid addValue(double value)
value - ParseExceptionString getTimeInfo(int pos)
pos - String getDescription()
description - void setDescription(String description)
boolean isInRange(SerialInfo tInfo)
tInfo -