energyml.prodml2_0.TimeSeriesData 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.prodml2_0;
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.XmlSchemaType;
import jakarta.xml.bind.annotation.XmlType;
import energyml.common2_1.AbstractObject;
import energyml.common2_1.MeasureClass;
/**
* Defines the time series data being transferred.
*
* Java class for TimeSeriesData complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="TimeSeriesData">
* <complexContent>
* <extension base="{http://www.energistics.org/energyml/data/commonv2}AbstractObject">
* <sequence>
* <element name="Comment" type="energyml.common2_1.String2000" maxOccurs="unbounded" minOccurs="0"/>
* <element name="Key" type="energyml.prodml2_0.KeywordValueStruct" maxOccurs="unbounded" minOccurs="0"/>
* <element name="MeasureClass" type="energyml.common2_1.MeasureClass" maxOccurs="unbounded" minOccurs="0"/>
* <element name="Unit" type="energyml.common2_1.UomEnum" maxOccurs="unbounded" minOccurs="0"/>
* <element name="DataValue" type="energyml.prodml2_0.AbstractValue" maxOccurs="unbounded" minOccurs="0"/>
* </sequence>
* </extension>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "TimeSeriesData", propOrder = {
"comment",
"key",
"measureClass",
"unit",
"dataValue"
})
public class TimeSeriesData
extends AbstractObject
{
@XmlElement(name = "Comment")
protected List comment;
@XmlElement(name = "Key")
protected List key;
@XmlElement(name = "MeasureClass")
@XmlSchemaType(name = "string")
protected List measureClass;
@XmlElement(name = "Unit")
protected List unit;
@XmlElement(name = "DataValue")
protected List dataValue;
/**
* Gets the value of the comment 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 comment property.
*
*
* For example, to add a new item, do as follows:
*
* getComment().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link String }
*
*
*/
public List getComment() {
if (comment == null) {
comment = new ArrayList();
}
return this.comment;
}
/**
* Gets the value of the key 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 key property.
*
*
* For example, to add a new item, do as follows:
*
* getKey().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link KeywordValueStruct }
*
*
*/
public List getKey() {
if (key == null) {
key = new ArrayList();
}
return this.key;
}
/**
* Gets the value of the measureClass 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 measureClass property.
*
*
* For example, to add a new item, do as follows:
*
* getMeasureClass().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link MeasureClass }
*
*
*/
public List getMeasureClass() {
if (measureClass == null) {
measureClass = new ArrayList();
}
return this.measureClass;
}
/**
* Gets the value of the unit 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 unit property.
*
*
* For example, to add a new item, do as follows:
*
* getUnit().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link String }
*
*
*/
public List getUnit() {
if (unit == null) {
unit = new ArrayList();
}
return this.unit;
}
/**
* Gets the value of the dataValue 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 dataValue property.
*
*
* For example, to add a new item, do as follows:
*
* getDataValue().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link AbstractValue }
*
*
*/
public List getDataValue() {
if (dataValue == null) {
dataValue = new ArrayList();
}
return this.dataValue;
}
}