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_2}TimeAnchor" minOccurs="0"/>
<element ref="{http://www.dmg.org/PMML-4_2}TimeException" maxOccurs="2" minOccurs="0"/>
<element ref="{http://www.dmg.org/PMML-4_2}TimeValue" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
<attribute name="usage" type="{http://www.dmg.org/PMML-4_2}TIMESERIES-USAGE" default="original" />
<attribute name="startTime" type="{http://www.dmg.org/PMML-4_2}REAL-NUMBER" />
<attribute name="endTime" type="{http://www.dmg.org/PMML-4_2}REAL-NUMBER" />
<attribute name="interpolationMethod" type="{http://www.dmg.org/PMML-4_2}INTERPOLATION-METHOD" default="none" />
</restriction>
</complexContent>
</complexType>
| 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.
|
InterpolationMethodType |
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.
|
TimeSeriesUsageType |
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(InterpolationMethodType 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(TimeSeriesUsageType usage)
Sets the value of the usage property.
|
getLocator, setLocatorpublic TimeSeriesUsageType getUsage()
TimeSeriesUsageTypepublic TimeSeries setUsage(TimeSeriesUsageType usage)
usage - allowed object is
TimeSeriesUsageTypepublic Double getStartTime()
Doublepublic TimeSeries setStartTime(Double startTime)
startTime - allowed object is
Doublepublic Double getEndTime()
Doublepublic TimeSeries setEndTime(Double endTime)
endTime - allowed object is
Doublepublic InterpolationMethodType getInterpolationMethod()
InterpolationMethodTypepublic TimeSeries setInterpolationMethod(InterpolationMethodType interpolationMethod)
interpolationMethod - allowed object is
InterpolationMethodTypepublic 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 © 2015 University of Tartu. All Rights Reserved.