public class DefaultTimeSerials extends Object implements TimeSeries
Constructor and Description |
---|
DefaultTimeSerials()
Constructor vacio.
|
Modifier and Type | Method and Description |
---|---|
void |
addSerialInfo(SerialInfo ser)
Adds a SerialInfo to the list
|
void |
clearSerialInfoList()
Clears the list of SerialInfo
|
void |
createNewTime(Time time)
Creates the serial time using a Time object from org.gvsig.timesupport
|
void |
createNewTimeInterval(double a,
double b)
Creates a pair of values for the time.
|
void |
createNewTimeInterval(String dateA,
String dateB)
Creates a pair of values for the time.
|
void |
createNewTimeValue(double value)
Creates a new single value for the time.
|
void |
createNewTimeValue(String value)
Creates a new single value for the time
|
String |
getDescription()
Gets the description
|
String |
getName()
Gets the serial name
|
int |
getNumberOfSerials()
Counts the number of serials
|
DefaultSerialInfo |
getSerial(int pos)
Gets the serial with then name selected
|
DefaultSerialInfo |
getSerial(String name)
Gets the serial with then name selected
|
ArrayList<?> |
getTimeList()
Gets the list of times.
|
void |
removeIntervals()
Removes all date intervals
|
void |
selectSerial(int pos)
Selects the serial
|
void |
selectSerial(String name)
Selects the serial
|
void |
setDescription(String description)
Sets the description
|
void |
setName(String name)
Sets the serial name
|
void |
setSerial(ArrayList<DefaultSerialInfo> serial)
Sets the serial information
|
public void addSerialInfo(SerialInfo ser)
ser
- public void clearSerialInfoList()
public void selectSerial(String name)
TimeSeries
selectSerial
in interface TimeSeries
public void selectSerial(int pos)
TimeSeries
selectSerial
in interface TimeSeries
public int getNumberOfSerials()
TimeSeries
getNumberOfSerials
in interface TimeSeries
public DefaultSerialInfo getSerial(String name)
name
- public DefaultSerialInfo getSerial(int pos)
uri
- public void setSerial(ArrayList<DefaultSerialInfo> serial)
serial
- public void setDescription(String description)
TimeSeries
setDescription
in interface TimeSeries
public String getDescription()
TimeSeries
getDescription
in interface TimeSeries
public String getName()
TimeSeries
getName
in interface TimeSeries
public void setName(String name)
TimeSeries
setName
in interface TimeSeries
public void removeIntervals()
TimeSeries
removeIntervals
in interface TimeSeries
public void createNewTimeInterval(String dateA, String dateB) throws ParseException
TimeSeries
createNewTimeInterval
in interface TimeSeries
ParseException
public void createNewTimeValue(String value) throws ParseException
TimeSeries
createNewTimeValue
in interface TimeSeries
ParseException
public void createNewTimeInterval(double a, double b) throws ParseException
TimeSeries
createNewTimeInterval
in interface TimeSeries
ParseException
public void createNewTimeValue(double value) throws ParseException
TimeSeries
createNewTimeValue
in interface TimeSeries
ParseException
public void createNewTime(Time time) throws ParseException
TimeSeries
createNewTime
in interface TimeSeries
ParseException
public ArrayList<?> getTimeList()
TimeSeries
getTimeList
in interface TimeSeries