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_1}TimeAnchor" minOccurs="0"/>
<element ref="{http://www.dmg.org/PMML-4_1}TimeValue" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
<attribute name="usage" type="{http://www.dmg.org/PMML-4_1}TIMESERIES-USAGE" default="original" />
<attribute name="startTime" type="{http://www.dmg.org/PMML-4_1}REAL-NUMBER" />
<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" />
</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 |
|---|---|
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() |
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 Locator sourceLocation()
sourceLocation in interface com.sun.xml.bind.LocatablesourceLocation in class PMMLObjectpublic void setSourceLocation(Locator newLocator)
setSourceLocation in class PMMLObjectCopyright © 2013 University of Tartu. All Rights Reserved.