net.finmath.smartcontract.product.xml.SettlementPeriods Maven / Gradle / Ivy
Show all versions of finmath-smart-derivative-contract 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: 2024.12.05 at 10:53:57 AM CET
//
package net.finmath.smartcontract.product.xml;
import java.util.ArrayList;
import java.util.List;
import javax.xml.datatype.XMLGregorianCalendar;
import jakarta.xml.bind.annotation.XmlAccessType;
import jakarta.xml.bind.annotation.XmlAccessorType;
import jakarta.xml.bind.annotation.XmlAttribute;
import jakarta.xml.bind.annotation.XmlElement;
import jakarta.xml.bind.annotation.XmlID;
import jakarta.xml.bind.annotation.XmlSchemaType;
import jakarta.xml.bind.annotation.XmlType;
import jakarta.xml.bind.annotation.adapters.CollapsedStringAdapter;
import jakarta.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
/**
* Specifies a set of Settlement Periods associated with an Electricity
* Transaction for delivery on an Applicable Day or for a series of Applicable Days.
*
*
* Java class for SettlementPeriods complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="SettlementPeriods">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="duration" type="{http://www.fpml.org/FpML-5/confirmation}SettlementPeriodDurationEnum"/>
* <element name="applicableDay" type="{http://www.fpml.org/FpML-5/confirmation}DayOfWeekExtEnum" maxOccurs="7" minOccurs="0"/>
* <sequence>
* <element name="startTime" type="{http://www.fpml.org/FpML-5/confirmation}OffsetPrevailingTime"/>
* <element name="endTime" type="{http://www.fpml.org/FpML-5/confirmation}OffsetPrevailingTime"/>
* <element name="timeDuration" type="{http://www.w3.org/2001/XMLSchema}time" minOccurs="0"/>
* </sequence>
* <choice minOccurs="0">
* <element name="excludeHolidays" type="{http://www.fpml.org/FpML-5/confirmation}CommodityBusinessCalendar"/>
* <element name="includeHolidays" type="{http://www.fpml.org/FpML-5/confirmation}CommodityBusinessCalendar"/>
* </choice>
* </sequence>
* <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}ID" />
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "SettlementPeriods", propOrder = {
"duration",
"applicableDay",
"startTime",
"endTime",
"timeDuration",
"excludeHolidays",
"includeHolidays"
})
public class SettlementPeriods {
@XmlElement(required = true)
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
@XmlSchemaType(name = "token")
protected String duration;
protected List applicableDay;
@XmlElement(required = true)
protected OffsetPrevailingTime startTime;
@XmlElement(required = true)
protected OffsetPrevailingTime endTime;
@XmlSchemaType(name = "time")
protected XMLGregorianCalendar timeDuration;
protected CommodityBusinessCalendar excludeHolidays;
protected CommodityBusinessCalendar includeHolidays;
@XmlAttribute(name = "id")
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
@XmlID
@XmlSchemaType(name = "ID")
protected String id;
/**
* Gets the value of the duration property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getDuration() {
return duration;
}
/**
* Sets the value of the duration property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setDuration(String value) {
this.duration = value;
}
/**
* Gets the value of the applicableDay 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 applicableDay property.
*
*
* For example, to add a new item, do as follows:
*
* getApplicableDay().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link String }
*
*
*/
public List getApplicableDay() {
if (applicableDay == null) {
applicableDay = new ArrayList();
}
return this.applicableDay;
}
/**
* Gets the value of the startTime property.
*
* @return
* possible object is
* {@link OffsetPrevailingTime }
*
*/
public OffsetPrevailingTime getStartTime() {
return startTime;
}
/**
* Sets the value of the startTime property.
*
* @param value
* allowed object is
* {@link OffsetPrevailingTime }
*
*/
public void setStartTime(OffsetPrevailingTime value) {
this.startTime = value;
}
/**
* Gets the value of the endTime property.
*
* @return
* possible object is
* {@link OffsetPrevailingTime }
*
*/
public OffsetPrevailingTime getEndTime() {
return endTime;
}
/**
* Sets the value of the endTime property.
*
* @param value
* allowed object is
* {@link OffsetPrevailingTime }
*
*/
public void setEndTime(OffsetPrevailingTime value) {
this.endTime = value;
}
/**
* Gets the value of the timeDuration property.
*
* @return
* possible object is
* {@link XMLGregorianCalendar }
*
*/
public XMLGregorianCalendar getTimeDuration() {
return timeDuration;
}
/**
* Sets the value of the timeDuration property.
*
* @param value
* allowed object is
* {@link XMLGregorianCalendar }
*
*/
public void setTimeDuration(XMLGregorianCalendar value) {
this.timeDuration = value;
}
/**
* Gets the value of the excludeHolidays property.
*
* @return
* possible object is
* {@link CommodityBusinessCalendar }
*
*/
public CommodityBusinessCalendar getExcludeHolidays() {
return excludeHolidays;
}
/**
* Sets the value of the excludeHolidays property.
*
* @param value
* allowed object is
* {@link CommodityBusinessCalendar }
*
*/
public void setExcludeHolidays(CommodityBusinessCalendar value) {
this.excludeHolidays = value;
}
/**
* Gets the value of the includeHolidays property.
*
* @return
* possible object is
* {@link CommodityBusinessCalendar }
*
*/
public CommodityBusinessCalendar getIncludeHolidays() {
return includeHolidays;
}
/**
* Sets the value of the includeHolidays property.
*
* @param value
* allowed object is
* {@link CommodityBusinessCalendar }
*
*/
public void setIncludeHolidays(CommodityBusinessCalendar value) {
this.includeHolidays = value;
}
/**
* Gets the value of the id property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getId() {
return id;
}
/**
* Sets the value of the id property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setId(String value) {
this.id = value;
}
}