public class TimeSeries extends PMMLObject implements com.sun.xml.bind.Locatable
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}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 Double |
endTime |
protected InterpolationMethodType |
interpolationMethod |
protected Locator |
locator |
protected Double |
startTime |
protected TimeAnchor |
timeAnchor |
protected List<TimeValue> |
timeValues |
protected TimeSeriesUsageType |
usage |
| Constructor and Description |
|---|
TimeSeries() |
| Modifier and Type | Method and Description |
|---|---|
VisitorAction |
accept(Visitor visitor) |
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<TimeValue> |
getTimeValues()
Gets the value of the timeValues property.
|
TimeSeriesUsageType |
getUsage()
Gets the value of the usage property.
|
void |
setEndTime(Double value)
Sets the value of the endTime property.
|
void |
setInterpolationMethod(InterpolationMethodType value)
Sets the value of the interpolationMethod property.
|
void |
setSourceLocation(Locator newLocator) |
void |
setStartTime(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.
|
Locator |
sourceLocation() |
TimeSeries |
withEndTime(Double value) |
TimeSeries |
withInterpolationMethod(InterpolationMethodType value) |
TimeSeries |
withStartTime(Double value) |
TimeSeries |
withTimeAnchor(TimeAnchor value) |
TimeSeries |
withTimeValues(Collection<TimeValue> values) |
TimeSeries |
withTimeValues(TimeValue... values) |
TimeSeries |
withUsage(TimeSeriesUsageType value) |
protected TimeAnchor timeAnchor
protected TimeSeriesUsageType usage
protected Double startTime
protected Double endTime
protected InterpolationMethodType interpolationMethod
protected Locator locator
public TimeAnchor getTimeAnchor()
TimeAnchorpublic void setTimeAnchor(TimeAnchor value)
value - allowed object is
TimeAnchorpublic 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 TimeSeriesUsageType getUsage()
TimeSeriesUsageTypepublic void setUsage(TimeSeriesUsageType value)
value - allowed object is
TimeSeriesUsageTypepublic Double getStartTime()
Doublepublic void setStartTime(Double value)
value - allowed object is
Doublepublic Double getEndTime()
Doublepublic void setEndTime(Double value)
value - allowed object is
Doublepublic InterpolationMethodType getInterpolationMethod()
InterpolationMethodTypepublic void setInterpolationMethod(InterpolationMethodType value)
value - allowed object is
InterpolationMethodTypepublic TimeSeries withTimeAnchor(TimeAnchor value)
public TimeSeries withTimeValues(TimeValue... values)
public TimeSeries withTimeValues(Collection<TimeValue> values)
public TimeSeries withUsage(TimeSeriesUsageType value)
public TimeSeries withStartTime(Double value)
public TimeSeries withEndTime(Double value)
public TimeSeries withInterpolationMethod(InterpolationMethodType value)
public Locator sourceLocation()
sourceLocation in interface com.sun.xml.bind.LocatablesourceLocation in class PMMLObjectpublic void setSourceLocation(Locator newLocator)
setSourceLocation in class PMMLObjectpublic VisitorAction accept(Visitor visitor)
Copyright © 2014 University of Tartu. All Rights Reserved.