Package weka.core.pmml.jaxbbindings
Class TimeSeries
- java.lang.Object
-
- weka.core.pmml.jaxbbindings.TimeSeries
-
public class TimeSeries extends java.lang.ObjectJava class for TimeSeries element declaration.
The following schema fragment specifies the expected content contained within this class.
<element name="TimeSeries"> <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="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" /> <attribute name="startTime" type="{http://www.dmg.org/PMML-4_1}REAL-NUMBER" /> <attribute name="usage" type="{http://www.dmg.org/PMML-4_1}TIMESERIES-USAGE" default="original" /> </restriction> </complexContent> </complexType> </element>
-
-
Constructor Summary
Constructors Constructor Description TimeSeries()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.DoublegetEndTime()Gets the value of the endTime property.INTERPOLATIONMETHODgetInterpolationMethod()Gets the value of the interpolationMethod property.java.lang.DoublegetStartTime()Gets the value of the startTime property.TimeAnchorgetTimeAnchor()Gets the value of the timeAnchor property.java.util.List<TimeValue>getTimeValue()Gets the value of the timeValue property.TIMESERIESUSAGEgetUsage()Gets the value of the usage property.voidsetEndTime(java.lang.Double value)Sets the value of the endTime property.voidsetInterpolationMethod(INTERPOLATIONMETHOD value)Sets the value of the interpolationMethod property.voidsetStartTime(java.lang.Double value)Sets the value of the startTime property.voidsetTimeAnchor(TimeAnchor value)Sets the value of the timeAnchor property.voidsetUsage(TIMESERIESUSAGE value)Sets the value of the usage property.
-
-
-
Method Detail
-
getTimeAnchor
public TimeAnchor getTimeAnchor()
Gets the value of the timeAnchor property.- Returns:
- possible object is
TimeAnchor
-
setTimeAnchor
public void setTimeAnchor(TimeAnchor value)
Sets the value of the timeAnchor property.- Parameters:
value- allowed object isTimeAnchor
-
getTimeValue
public java.util.List<TimeValue> getTimeValue()
Gets the value of the timeValue property.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
setmethod for the timeValue property.For example, to add a new item, do as follows:
getTimeValue().add(newItem);Objects of the following type(s) are allowed in the list
TimeValue
-
getEndTime
public java.lang.Double getEndTime()
Gets the value of the endTime property.- Returns:
- possible object is
Double
-
setEndTime
public void setEndTime(java.lang.Double value)
Sets the value of the endTime property.- Parameters:
value- allowed object isDouble
-
getInterpolationMethod
public INTERPOLATIONMETHOD getInterpolationMethod()
Gets the value of the interpolationMethod property.- Returns:
- possible object is
INTERPOLATIONMETHOD
-
setInterpolationMethod
public void setInterpolationMethod(INTERPOLATIONMETHOD value)
Sets the value of the interpolationMethod property.- Parameters:
value- allowed object isINTERPOLATIONMETHOD
-
getStartTime
public java.lang.Double getStartTime()
Gets the value of the startTime property.- Returns:
- possible object is
Double
-
setStartTime
public void setStartTime(java.lang.Double value)
Sets the value of the startTime property.- Parameters:
value- allowed object isDouble
-
getUsage
public TIMESERIESUSAGE getUsage()
Gets the value of the usage property.- Returns:
- possible object is
TIMESERIESUSAGE
-
setUsage
public void setUsage(TIMESERIESUSAGE value)
Sets the value of the usage property.- Parameters:
value- allowed object isTIMESERIESUSAGE
-
-