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(java.lang.String value)
Adds a new time value in the array.
|
int |
getDataType()
Gets the data type
|
java.lang.String |
getDescription()
Gets the description
|
java.lang.String |
getSerialName()
Gets the serial name
|
java.util.ArrayList<?> |
getTime()
Gets the list of dates
|
java.lang.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(java.lang.String description)
Sets the description
|
void |
setSerialName(java.lang.String serialName)
Sets the serial name
|
void |
setTime(java.util.ArrayList<?> time)
Sets the list of dates
|
void |
setTimeType(int timeType)
Sets the time type
|
void |
setTimeType(java.lang.String timeType)
Sets the time type
|
static final int NUMERIC
static final int DATE
static final int SINGLE_VALUES
static final int RANGES
java.lang.String getSerialName()
void setSerialName(java.lang.String serialName)
serialName - java.util.ArrayList<?> getTime()
void setTime(java.util.ArrayList<?> time)
int getTimeType()
void setTimeType(int timeType)
timeType - void setTimeType(java.lang.String timeType)
timeType - int getDataType()
void setDataType(int dataType)
timeType - void addValue(java.lang.String value)
throws java.text.ParseException
value - java.text.ParseExceptionvoid addValue(double value)
value - java.text.ParseExceptionjava.lang.String getTimeInfo(int pos)
pos - java.lang.String getDescription()
description - void setDescription(java.lang.String description)
boolean isInRange(SerialInfo tInfo)
tInfo -