public class TimeSeries
extends java.lang.Object
Java class for TimeSeries element declaration.
The following schema fragment specifies the expected content contained within this class.
<element name="TimeSeries">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element ref="{http://www.dmg.org/PMML-4_1}TimeAnchor" minOccurs="0"/>
<element ref="{http://www.dmg.org/PMML-4_1}TimeValue" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
<attribute name="endTime" type="{http://www.dmg.org/PMML-4_1}REAL-NUMBER" />
<attribute name="interpolationMethod" type="{http://www.dmg.org/PMML-4_1}INTERPOLATION-METHOD" default="none" />
<attribute name="startTime" type="{http://www.dmg.org/PMML-4_1}REAL-NUMBER" />
<attribute name="usage" type="{http://www.dmg.org/PMML-4_1}TIMESERIES-USAGE" default="original" />
</restriction>
</complexContent>
</complexType>
</element>
| Constructor and Description |
|---|
TimeSeries() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Double |
getEndTime()
Gets the value of the endTime property.
|
INTERPOLATIONMETHOD |
getInterpolationMethod()
Gets the value of the interpolationMethod property.
|
java.lang.Double |
getStartTime()
Gets the value of the startTime property.
|
TimeAnchor |
getTimeAnchor()
Gets the value of the timeAnchor property.
|
java.util.List<TimeValue> |
getTimeValue()
Gets the value of the timeValue property.
|
TIMESERIESUSAGE |
getUsage()
Gets the value of the usage property.
|
void |
setEndTime(java.lang.Double value)
Sets the value of the endTime property.
|
void |
setInterpolationMethod(INTERPOLATIONMETHOD value)
Sets the value of the interpolationMethod property.
|
void |
setStartTime(java.lang.Double value)
Sets the value of the startTime property.
|
void |
setTimeAnchor(TimeAnchor value)
Sets the value of the timeAnchor property.
|
void |
setUsage(TIMESERIESUSAGE value)
Sets the value of the usage property.
|
public TimeAnchor getTimeAnchor()
TimeAnchorpublic void setTimeAnchor(TimeAnchor value)
value - allowed object is
TimeAnchorpublic java.util.List<TimeValue> getTimeValue()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set method for the timeValue property.
For example, to add a new item, do as follows:
getTimeValue().add(newItem);
Objects of the following type(s) are allowed in the list
TimeValue
public java.lang.Double getEndTime()
Doublepublic void setEndTime(java.lang.Double value)
value - allowed object is
Doublepublic INTERPOLATIONMETHOD getInterpolationMethod()
INTERPOLATIONMETHODpublic void setInterpolationMethod(INTERPOLATIONMETHOD value)
value - allowed object is
INTERPOLATIONMETHODpublic java.lang.Double getStartTime()
Doublepublic void setStartTime(java.lang.Double value)
value - allowed object is
Doublepublic TIMESERIESUSAGE getUsage()
TIMESERIESUSAGEpublic void setUsage(TIMESERIESUSAGE value)
value - allowed object is
TIMESERIESUSAGE