energyml.common2_1.TimeSeries Maven / Gradle / Ivy
Show all versions of energyml-prodml20 Show documentation
//
// This file was generated by the Eclipse Implementation of JAXB, v3.0.0
// See https://eclipse-ee4j.github.io/jaxb-ri
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2022.10.13 at 08:02:05 PM UTC
//
package energyml.common2_1;
import java.util.ArrayList;
import java.util.List;
import jakarta.xml.bind.annotation.XmlAccessType;
import jakarta.xml.bind.annotation.XmlAccessorType;
import jakarta.xml.bind.annotation.XmlElement;
import jakarta.xml.bind.annotation.XmlType;
/**
* Stores an ordered list of times, for example, for time-dependent properties, geometries, or representations. It is used in conjunction with the time index to specify times for RESQML.
*
* Java class for TimeSeries complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="TimeSeries">
* <complexContent>
* <extension base="{http://www.energistics.org/energyml/data/commonv2}AbstractObject">
* <sequence>
* <element name="Time" type="energyml.common2_1.GeologicTime" maxOccurs="unbounded"/>
* <element name="TimeSeriesParentage" type="energyml.common2_1.TimeSeriesParentage" minOccurs="0"/>
* </sequence>
* </extension>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "TimeSeries", propOrder = {
"time",
"timeSeriesParentage"
})
public class TimeSeries
extends AbstractObject
{
@XmlElement(name = "Time", required = true)
protected List time;
@XmlElement(name = "TimeSeriesParentage")
protected TimeSeriesParentage timeSeriesParentage;
/**
* Gets the value of the time 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 Jakarta XML Binding object.
* This is why there is not a set
method for the time property.
*
*
* For example, to add a new item, do as follows:
*
* getTime().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link GeologicTime }
*
*
*/
public List getTime() {
if (time == null) {
time = new ArrayList();
}
return this.time;
}
/**
* Gets the value of the timeSeriesParentage property.
*
* @return
* possible object is
* {@link TimeSeriesParentage }
*
*/
public TimeSeriesParentage getTimeSeriesParentage() {
return timeSeriesParentage;
}
/**
* Sets the value of the timeSeriesParentage property.
*
* @param value
* allowed object is
* {@link TimeSeriesParentage }
*
*/
public void setTimeSeriesParentage(TimeSeriesParentage value) {
this.timeSeriesParentage = value;
}
}