org.fpml.fpml_5.confirmation.AveragingPeriod Maven / Gradle / Ivy
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.3.2
// See https://javaee.github.io/jaxb-v2/
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2024.05.10 at 03:58:40 PM UTC
//
package org.fpml.fpml_5.confirmation;
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.XmlType;
/**
* Period over which an average value is taken.
*
* Java class for AveragingPeriod complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="AveragingPeriod">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="schedule" type="{http://www.fpml.org/FpML-5/confirmation}AveragingSchedule" maxOccurs="unbounded" minOccurs="0"/>
* <choice minOccurs="0">
* <element name="averagingDateTimes" type="{http://www.fpml.org/FpML-5/confirmation}DateTimeList"/>
* <element name="averagingObservations" type="{http://www.fpml.org/FpML-5/confirmation}AveragingObservationList"/>
* </choice>
* <element name="marketDisruption" type="{http://www.fpml.org/FpML-5/confirmation}MarketDisruption" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "AveragingPeriod", propOrder = {
"schedule",
"averagingDateTimes",
"averagingObservations",
"marketDisruption"
})
public class AveragingPeriod {
protected List schedule;
protected DateTimeList averagingDateTimes;
protected AveragingObservationList averagingObservations;
protected MarketDisruption marketDisruption;
/**
* Gets the value of the schedule 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 schedule property.
*
*
* For example, to add a new item, do as follows:
*
* getSchedule().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link AveragingSchedule }
*
*
*/
public List getSchedule() {
if (schedule == null) {
schedule = new ArrayList();
}
return this.schedule;
}
/**
* Gets the value of the averagingDateTimes property.
*
* @return
* possible object is
* {@link DateTimeList }
*
*/
public DateTimeList getAveragingDateTimes() {
return averagingDateTimes;
}
/**
* Sets the value of the averagingDateTimes property.
*
* @param value
* allowed object is
* {@link DateTimeList }
*
*/
public void setAveragingDateTimes(DateTimeList value) {
this.averagingDateTimes = value;
}
/**
* Gets the value of the averagingObservations property.
*
* @return
* possible object is
* {@link AveragingObservationList }
*
*/
public AveragingObservationList getAveragingObservations() {
return averagingObservations;
}
/**
* Sets the value of the averagingObservations property.
*
* @param value
* allowed object is
* {@link AveragingObservationList }
*
*/
public void setAveragingObservations(AveragingObservationList value) {
this.averagingObservations = value;
}
/**
* Gets the value of the marketDisruption property.
*
* @return
* possible object is
* {@link MarketDisruption }
*
*/
public MarketDisruption getMarketDisruption() {
return marketDisruption;
}
/**
* Sets the value of the marketDisruption property.
*
* @param value
* allowed object is
* {@link MarketDisruption }
*
*/
public void setMarketDisruption(MarketDisruption value) {
this.marketDisruption = value;
}
}