com.farao_community.farao.cse.data.xsd.ntc2.Period Maven / Gradle / Ivy
Show all versions of gridcapa-cse-data Show documentation
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.3.0
// See https://javaee.github.io/jaxb-v2/
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2024.03.12 at 10:04:13 AM UTC
//
package com.farao_community.farao.cse.data.xsd.ntc2;
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.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
/**
* 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="{}TimeInterval"/>
* <element ref="{}Resolution"/>
* <element ref="{}Interval" maxOccurs="unbounded"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"timeInterval",
"resolution",
"interval"
})
@XmlRootElement(name = "Period")
public class Period {
@XmlElement(name = "TimeInterval", required = true)
protected TimeInterval timeInterval;
@XmlElement(name = "Resolution", required = true)
protected Resolution resolution;
@XmlElement(name = "Interval", required = true)
protected List interval;
/**
* Gets the value of the timeInterval property.
*
* @return
* possible object is
* {@link TimeInterval }
*
*/
public TimeInterval getTimeInterval() {
return timeInterval;
}
/**
* Sets the value of the timeInterval property.
*
* @param value
* allowed object is
* {@link TimeInterval }
*
*/
public void setTimeInterval(TimeInterval value) {
this.timeInterval = value;
}
/**
* Gets the value of the resolution property.
*
* @return
* possible object is
* {@link Resolution }
*
*/
public Resolution getResolution() {
return resolution;
}
/**
* Sets the value of the resolution property.
*
* @param value
* allowed object is
* {@link Resolution }
*
*/
public void setResolution(Resolution value) {
this.resolution = value;
}
/**
* Gets the value of the interval 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 interval property.
*
*
* For example, to add a new item, do as follows:
*
* getInterval().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link Interval }
*
*
*/
public List getInterval() {
if (interval == null) {
interval = new ArrayList();
}
return this.interval;
}
}