public class DefaultTimeSerials extends java.lang.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(java.lang.String dateA,
java.lang.String dateB)
Creates a pair of values for the time.
|
void |
createNewTimeValue(double value)
Creates a new single value for the time.
|
void |
createNewTimeValue(java.lang.String value)
Creates a new single value for the time
|
java.lang.String |
getDescription()
Gets the description
|
java.lang.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(java.lang.String name)
Gets the serial with then name selected
|
java.util.ArrayList<?> |
getTimeList()
Gets the list of times.
|
void |
removeIntervals()
Removes all date intervals
|
void |
selectSerial(int pos)
Selects the serial
|
void |
selectSerial(java.lang.String name)
Selects the serial
|
void |
setDescription(java.lang.String description)
Sets the description
|
void |
setName(java.lang.String name)
Sets the serial name
|
void |
setSerial(java.util.ArrayList<DefaultSerialInfo> serial)
Sets the serial information
|
public void addSerialInfo(SerialInfo ser)
ser
- public void clearSerialInfoList()
public void selectSerial(java.lang.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(java.lang.String name)
name
- public DefaultSerialInfo getSerial(int pos)
uri
- public void setSerial(java.util.ArrayList<DefaultSerialInfo> serial)
serial
- public void setDescription(java.lang.String description)
TimeSeries
setDescription
in interface TimeSeries
public java.lang.String getDescription()
TimeSeries
getDescription
in interface TimeSeries
public java.lang.String getName()
TimeSeries
getName
in interface TimeSeries
public void setName(java.lang.String name)
TimeSeries
setName
in interface TimeSeries
public void removeIntervals()
TimeSeries
removeIntervals
in interface TimeSeries
public void createNewTimeInterval(java.lang.String dateA, java.lang.String dateB) throws java.text.ParseException
TimeSeries
createNewTimeInterval
in interface TimeSeries
java.text.ParseException
public void createNewTimeValue(java.lang.String value) throws java.text.ParseException
TimeSeries
createNewTimeValue
in interface TimeSeries
java.text.ParseException
public void createNewTimeInterval(double a, double b) throws java.text.ParseException
TimeSeries
createNewTimeInterval
in interface TimeSeries
java.text.ParseException
public void createNewTimeValue(double value) throws java.text.ParseException
TimeSeries
createNewTimeValue
in interface TimeSeries
java.text.ParseException
public void createNewTime(Time time) throws java.text.ParseException
TimeSeries
createNewTime
in interface TimeSeries
java.text.ParseException
public java.util.ArrayList<?> getTimeList()
TimeSeries
getTimeList
in interface TimeSeries