weka.core.pmml.jaxbbindings.TimeSeries Maven / Gradle / Ivy
Show all versions of weka-dev Show documentation
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.0-b52-fcs
// See http://java.sun.com/xml/jaxb
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2013.12.20 at 12:48:21 PM GMT
//
package weka.core.pmml.jaxbbindings;
import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
/**
* Java 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>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"timeAnchor",
"timeValue"
})
@XmlRootElement(name = "TimeSeries")
public class TimeSeries {
@XmlElement(name = "TimeAnchor", namespace = "http://www.dmg.org/PMML-4_1")
protected TimeAnchor timeAnchor;
@XmlElement(name = "TimeValue", namespace = "http://www.dmg.org/PMML-4_1", required = true)
protected List timeValue;
@XmlAttribute
protected Double endTime;
@XmlAttribute
protected INTERPOLATIONMETHOD interpolationMethod;
@XmlAttribute
protected Double startTime;
@XmlAttribute
protected TIMESERIESUSAGE usage;
/**
* Gets the value of the timeAnchor property.
*
* @return
* possible object is
* {@link TimeAnchor }
*
*/
public TimeAnchor getTimeAnchor() {
return timeAnchor;
}
/**
* Sets the value of the timeAnchor property.
*
* @param value
* allowed object is
* {@link TimeAnchor }
*
*/
public void setTimeAnchor(TimeAnchor value) {
this.timeAnchor = value;
}
/**
* 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 set
method 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
* {@link TimeValue }
*
*
*/
public List getTimeValue() {
if (timeValue == null) {
timeValue = new ArrayList();
}
return this.timeValue;
}
/**
* Gets the value of the endTime property.
*
* @return
* possible object is
* {@link Double }
*
*/
public Double getEndTime() {
return endTime;
}
/**
* Sets the value of the endTime property.
*
* @param value
* allowed object is
* {@link Double }
*
*/
public void setEndTime(Double value) {
this.endTime = value;
}
/**
* Gets the value of the interpolationMethod property.
*
* @return
* possible object is
* {@link INTERPOLATIONMETHOD }
*
*/
public INTERPOLATIONMETHOD getInterpolationMethod() {
if (interpolationMethod == null) {
return INTERPOLATIONMETHOD.NONE;
} else {
return interpolationMethod;
}
}
/**
* Sets the value of the interpolationMethod property.
*
* @param value
* allowed object is
* {@link INTERPOLATIONMETHOD }
*
*/
public void setInterpolationMethod(INTERPOLATIONMETHOD value) {
this.interpolationMethod = value;
}
/**
* Gets the value of the startTime property.
*
* @return
* possible object is
* {@link Double }
*
*/
public Double getStartTime() {
return startTime;
}
/**
* Sets the value of the startTime property.
*
* @param value
* allowed object is
* {@link Double }
*
*/
public void setStartTime(Double value) {
this.startTime = value;
}
/**
* Gets the value of the usage property.
*
* @return
* possible object is
* {@link TIMESERIESUSAGE }
*
*/
public TIMESERIESUSAGE getUsage() {
if (usage == null) {
return TIMESERIESUSAGE.ORIGINAL;
} else {
return usage;
}
}
/**
* Sets the value of the usage property.
*
* @param value
* allowed object is
* {@link TIMESERIESUSAGE }
*
*/
public void setUsage(TIMESERIESUSAGE value) {
this.usage = value;
}
}