public class TimeSeries extends Object implements Serializable
timeSeriesValues should
contain of a list value
accordingly to the specified PeriodType for the
timeSeriesDateRange. The order of
the values in this list should be sorted by its chronological
order.| Constructor and Description |
|---|
TimeSeries() |
TimeSeries(DateRange timeSeriesDateRange,
long[] timeSeriesValues,
PeriodType valuePeriodType) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
static org.apache.axis.encoding.Deserializer |
getDeserializer(String mechType,
Class _javaType,
QName _xmlType)
Get Custom Deserializer
|
static org.apache.axis.encoding.Serializer |
getSerializer(String mechType,
Class _javaType,
QName _xmlType)
Get Custom Serializer
|
DateRange |
getTimeSeriesDateRange()
Gets the timeSeriesDateRange value for this TimeSeries.
|
long[] |
getTimeSeriesValues()
Gets the timeSeriesValues value for this TimeSeries.
|
long |
getTimeSeriesValues(int i) |
static org.apache.axis.description.TypeDesc |
getTypeDesc()
Return type metadata object
|
PeriodType |
getValuePeriodType()
Gets the valuePeriodType value for this TimeSeries.
|
int |
hashCode() |
void |
setTimeSeriesDateRange(DateRange timeSeriesDateRange)
Sets the timeSeriesDateRange value for this TimeSeries.
|
void |
setTimeSeriesValues(int i,
long _value) |
void |
setTimeSeriesValues(long[] timeSeriesValues)
Sets the timeSeriesValues value for this TimeSeries.
|
void |
setValuePeriodType(PeriodType valuePeriodType)
Sets the valuePeriodType value for this TimeSeries.
|
String |
toString() |
public TimeSeries()
public TimeSeries(DateRange timeSeriesDateRange, long[] timeSeriesValues, PeriodType valuePeriodType)
public DateRange getTimeSeriesDateRange()
public void setTimeSeriesDateRange(DateRange timeSeriesDateRange)
timeSeriesDateRange - * The date range of the time series.public long[] getTimeSeriesValues()
timeSeriesDateRange.
The list will contain a single value if valuePeriodType is PeriodType.CUSTOM, and will contain a value for each
day in timeSeriesDateRange if
valuePeriodType is PeriodType.DAILY.
public void setTimeSeriesValues(long[] timeSeriesValues)
timeSeriesValues - * The traffic volume values for the timeSeriesDateRange.
The list will contain a single value if valuePeriodType is PeriodType.CUSTOM, and will contain a value for each
day in timeSeriesDateRange if
valuePeriodType is PeriodType.DAILY.
public long getTimeSeriesValues(int i)
public void setTimeSeriesValues(int i,
long _value)
public PeriodType getValuePeriodType()
public void setValuePeriodType(PeriodType valuePeriodType)
valuePeriodType - * The period of each time series value (e.g. daily or custom).public static org.apache.axis.description.TypeDesc getTypeDesc()
public static org.apache.axis.encoding.Serializer getSerializer(String mechType, Class _javaType, QName _xmlType)
Copyright © 2019. All rights reserved.