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>
| Modifier and Type | Field and Description |
|---|---|
protected java.lang.Double |
endTime |
protected InterpolationMethodType |
interpolationMethod |
protected java.lang.Double |
startTime |
protected TimeAnchor |
timeAnchor |
protected java.util.List<TimeException> |
timeExceptions |
protected java.util.List<TimeValue> |
timeValues |
protected TimeSeriesUsageType |
usage |
| Constructor and Description |
|---|
TimeSeries() |
| Modifier and Type | Method and Description |
|---|---|
VisitorAction |
accept(Visitor visitor) |
java.lang.Double |
getEndTime()
Gets the value of the endTime property.
|
InterpolationMethodType |
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<TimeException> |
getTimeExceptions()
Gets the value of the timeExceptions property.
|
java.util.List<TimeValue> |
getTimeValues()
Gets the value of the timeValues property.
|
TimeSeriesUsageType |
getUsage()
Gets the value of the usage property.
|
boolean |
hasTimeExceptions() |
boolean |
hasTimeValues() |
void |
setEndTime(java.lang.Double value)
Sets the value of the endTime property.
|
void |
setInterpolationMethod(InterpolationMethodType 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(TimeSeriesUsageType value)
Sets the value of the usage property.
|
TimeSeries |
withEndTime(java.lang.Double value) |
TimeSeries |
withInterpolationMethod(InterpolationMethodType value) |
TimeSeries |
withStartTime(java.lang.Double value) |
TimeSeries |
withTimeAnchor(TimeAnchor value) |
TimeSeries |
withTimeExceptions(java.util.Collection<TimeException> values) |
TimeSeries |
withTimeExceptions(TimeException... values) |
TimeSeries |
withTimeValues(java.util.Collection<TimeValue> values) |
TimeSeries |
withTimeValues(TimeValue... values) |
TimeSeries |
withUsage(TimeSeriesUsageType value) |
getLocator, setLocatorprotected TimeSeriesUsageType usage
protected java.lang.Double startTime
protected java.lang.Double endTime
protected InterpolationMethodType interpolationMethod
protected TimeAnchor timeAnchor
protected java.util.List<TimeException> timeExceptions
protected java.util.List<TimeValue> timeValues
public TimeSeriesUsageType getUsage()
TimeSeriesUsageTypepublic void setUsage(TimeSeriesUsageType value)
value - allowed object is
TimeSeriesUsageTypepublic java.lang.Double getStartTime()
Doublepublic void setStartTime(java.lang.Double value)
value - allowed object is
Doublepublic java.lang.Double getEndTime()
Doublepublic void setEndTime(java.lang.Double value)
value - allowed object is
Doublepublic InterpolationMethodType getInterpolationMethod()
InterpolationMethodTypepublic void setInterpolationMethod(InterpolationMethodType value)
value - allowed object is
InterpolationMethodTypepublic TimeAnchor getTimeAnchor()
TimeAnchorpublic void setTimeAnchor(TimeAnchor value)
value - allowed object is
TimeAnchorpublic java.util.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 java.util.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 TimeSeries withUsage(TimeSeriesUsageType value)
public TimeSeries withStartTime(java.lang.Double value)
public TimeSeries withEndTime(java.lang.Double value)
public TimeSeries withInterpolationMethod(InterpolationMethodType value)
public TimeSeries withTimeAnchor(TimeAnchor value)
public TimeSeries withTimeExceptions(TimeException... values)
public TimeSeries withTimeExceptions(java.util.Collection<TimeException> values)
public TimeSeries withTimeValues(TimeValue... values)
public TimeSeries withTimeValues(java.util.Collection<TimeValue> values)
public boolean hasTimeExceptions()
public boolean hasTimeValues()
public VisitorAction accept(Visitor visitor)
Copyright © 2015 University of Tartu. All Rights Reserved.