org.dmg.pmml.pmml_4_1.descr
Class TimeSeries

java.lang.Object
  extended by org.dmg.pmml.pmml_4_1.descr.TimeSeries
All Implemented Interfaces:
Serializable

public class TimeSeries
extends Object
implements Serializable

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>
 

See Also:
Serialized Form

Field Summary
protected  Double endTime
           
protected  INTERPOLATIONMETHOD interpolationMethod
           
protected  Double startTime
           
protected  TimeAnchor timeAnchor
           
protected  List<TimeValue> timeValues
           
protected  TIMESERIESUSAGE usage
           
 
Constructor Summary
TimeSeries()
           
 
Method Summary
 Double getEndTime()
          Gets the value of the endTime property.
 INTERPOLATIONMETHOD 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.
 TIMESERIESUSAGE getUsage()
          Gets the value of the usage property.
 void setEndTime(Double value)
          Sets the value of the endTime property.
 void setInterpolationMethod(INTERPOLATIONMETHOD value)
          Sets the value of the interpolationMethod property.
 void setStartTime(Double value)
          Sets the value of the startTime property.
 void setTimeAnchor(TimeAnchor value)
          Sets the value of the timeAnchor property.
 void setUsage(TIMESERIESUSAGE value)
          Sets the value of the usage property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

timeAnchor

protected TimeAnchor timeAnchor

timeValues

protected List<TimeValue> timeValues

usage

protected TIMESERIESUSAGE usage

startTime

protected Double startTime

endTime

protected Double endTime

interpolationMethod

protected INTERPOLATIONMETHOD interpolationMethod
Constructor Detail

TimeSeries

public TimeSeries()
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 is TimeAnchor

getTimeValues

public List<TimeValue> getTimeValues()
Gets the value of the timeValues 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 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


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 is TIMESERIESUSAGE

getStartTime

public Double getStartTime()
Gets the value of the startTime property.

Returns:
possible object is Double

setStartTime

public void setStartTime(Double value)
Sets the value of the startTime property.

Parameters:
value - allowed object is Double

getEndTime

public Double getEndTime()
Gets the value of the endTime property.

Returns:
possible object is Double

setEndTime

public void setEndTime(Double value)
Sets the value of the endTime property.

Parameters:
value - allowed object is Double

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 is INTERPOLATIONMETHOD


Copyright © 2001-2012 JBoss by Red Hat. All Rights Reserved.