public class TimeSeries extends PMMLObject
Java class for anonymous complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element ref="{http://www.dmg.org/PMML-4_3}TimeAnchor" minOccurs="0"/>
<element ref="{http://www.dmg.org/PMML-4_3}TimeException" maxOccurs="2" minOccurs="0"/>
<element ref="{http://www.dmg.org/PMML-4_3}TimeValue" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
<attribute name="usage" default="original">
<simpleType>
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="original"/>
<enumeration value="logical"/>
<enumeration value="prediction"/>
</restriction>
</simpleType>
</attribute>
<attribute name="startTime" type="{http://www.dmg.org/PMML-4_3}REAL-NUMBER" />
<attribute name="endTime" type="{http://www.dmg.org/PMML-4_3}REAL-NUMBER" />
<attribute name="interpolationMethod" default="none">
<simpleType>
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="none"/>
<enumeration value="linear"/>
<enumeration value="exponentialSpline"/>
<enumeration value="cubicSpline"/>
</restriction>
</simpleType>
</attribute>
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Class and Description |
|---|---|
static class |
TimeSeries.InterpolationMethod
Java class for null.
|
static class |
TimeSeries.Usage
Java class for null.
|
| Constructor and Description |
|---|
TimeSeries() |
| Modifier and Type | Method and Description |
|---|---|
VisitorAction |
accept(Visitor visitor) |
TimeSeries |
addTimeExceptions(TimeException... timeExceptions) |
TimeSeries |
addTimeValues(TimeValue... timeValues) |
Double |
getEndTime()
Gets the value of the endTime property.
|
TimeSeries.InterpolationMethod |
getInterpolationMethod()
Gets the value of the interpolationMethod property.
|
Double |
getStartTime()
Gets the value of the startTime property.
|
TimeAnchor |
getTimeAnchor()
Gets the value of the timeAnchor property.
|
List<TimeException> |
getTimeExceptions()
Gets the value of the timeExceptions property.
|
List<TimeValue> |
getTimeValues()
Gets the value of the timeValues property.
|
TimeSeries.Usage |
getUsage()
Gets the value of the usage property.
|
boolean |
hasTimeExceptions() |
boolean |
hasTimeValues() |
TimeSeries |
setEndTime(Double endTime)
Sets the value of the endTime property.
|
TimeSeries |
setInterpolationMethod(TimeSeries.InterpolationMethod interpolationMethod)
Sets the value of the interpolationMethod property.
|
TimeSeries |
setStartTime(Double startTime)
Sets the value of the startTime property.
|
TimeSeries |
setTimeAnchor(TimeAnchor timeAnchor)
Sets the value of the timeAnchor property.
|
TimeSeries |
setUsage(TimeSeries.Usage usage)
Sets the value of the usage property.
|
getLocator, setLocator, traverse, traverse, traverse, traverse, traverseMixedpublic TimeSeries.Usage getUsage()
TimeSeries.Usagepublic TimeSeries setUsage(TimeSeries.Usage usage)
usage - allowed object is
TimeSeries.Usagepublic Double getStartTime()
Doublepublic TimeSeries setStartTime(Double startTime)
startTime - allowed object is
Doublepublic Double getEndTime()
Doublepublic TimeSeries setEndTime(Double endTime)
endTime - allowed object is
Doublepublic TimeSeries.InterpolationMethod getInterpolationMethod()
TimeSeries.InterpolationMethodpublic TimeSeries setInterpolationMethod(TimeSeries.InterpolationMethod interpolationMethod)
interpolationMethod - allowed object is
TimeSeries.InterpolationMethodpublic TimeAnchor getTimeAnchor()
TimeAnchorpublic TimeSeries setTimeAnchor(TimeAnchor timeAnchor)
timeAnchor - allowed object is
TimeAnchorpublic List<TimeException> getTimeExceptions()
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 timeExceptions property.
For example, to add a new item, do as follows:
getTimeExceptions().add(newItem);
Objects of the following type(s) are allowed in the list
TimeException
public List<TimeValue> getTimeValues()
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 timeValues property.
For example, to add a new item, do as follows:
getTimeValues().add(newItem);
Objects of the following type(s) are allowed in the list
TimeValue
public boolean hasTimeExceptions()
public TimeSeries addTimeExceptions(TimeException... timeExceptions)
public boolean hasTimeValues()
public TimeSeries addTimeValues(TimeValue... timeValues)
public VisitorAction accept(Visitor visitor)
Copyright © 2016 University of Tartu. All rights reserved.