net.finmath.smartcontract.product.xml.CalculationPeriodDates Maven / Gradle / Ivy
//
// 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 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;
/**
* A type defining the parameters used to generate the calculation period
* dates schedule, including the specification of any initial or final stub calculation periods. A
* calculation perod schedule consists of an optional initial stub calculation period, one or more regular
* calculation periods and an optional final stub calculation period. In the absence of any initial or
* final stub calculation periods, the regular part of the calculation period schedule is assumed to be
* between the effective date and the termination date. No implicit stubs are allowed, i.e. stubs must be
* explicitly specified using an appropriate combination of firstPeriodStateDate,
* firstRegularPeriodStartDate and lastRegularPeriodEndDate.
*
*
* Java class for CalculationPeriodDates complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="CalculationPeriodDates">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <choice>
* <element name="effectiveDate" type="{http://www.fpml.org/FpML-5/confirmation}AdjustableDate"/>
* <element name="relativeEffectiveDate" type="{http://www.fpml.org/FpML-5/confirmation}AdjustedRelativeDateOffset"/>
* </choice>
* <choice>
* <element name="terminationDate" type="{http://www.fpml.org/FpML-5/confirmation}AdjustableDate"/>
* <element name="relativeTerminationDate" type="{http://www.fpml.org/FpML-5/confirmation}RelativeDateOffset"/>
* </choice>
* <element name="calculationPeriodDatesAdjustments" type="{http://www.fpml.org/FpML-5/confirmation}BusinessDayAdjustments"/>
* <element name="firstPeriodStartDate" type="{http://www.fpml.org/FpML-5/confirmation}AdjustableDate" minOccurs="0"/>
* <element name="firstRegularPeriodStartDate" type="{http://www.w3.org/2001/XMLSchema}date" minOccurs="0"/>
* <element name="firstCompoundingPeriodEndDate" type="{http://www.w3.org/2001/XMLSchema}date" minOccurs="0"/>
* <element name="lastRegularPeriodEndDate" type="{http://www.w3.org/2001/XMLSchema}date" minOccurs="0"/>
* <element name="stubPeriodType" type="{http://www.fpml.org/FpML-5/confirmation}StubPeriodTypeEnum" minOccurs="0"/>
* <element name="calculationPeriodFrequency" type="{http://www.fpml.org/FpML-5/confirmation}CalculationPeriodFrequency"/>
* </sequence>
* <attribute name="id" use="required" type="{http://www.w3.org/2001/XMLSchema}ID" />
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "CalculationPeriodDates", propOrder = {
"effectiveDate",
"relativeEffectiveDate",
"terminationDate",
"relativeTerminationDate",
"calculationPeriodDatesAdjustments",
"firstPeriodStartDate",
"firstRegularPeriodStartDate",
"firstCompoundingPeriodEndDate",
"lastRegularPeriodEndDate",
"stubPeriodType",
"calculationPeriodFrequency"
})
public class CalculationPeriodDates {
protected AdjustableDate effectiveDate;
protected AdjustedRelativeDateOffset relativeEffectiveDate;
protected AdjustableDate terminationDate;
protected RelativeDateOffset relativeTerminationDate;
@XmlElement(required = true)
protected BusinessDayAdjustments calculationPeriodDatesAdjustments;
protected AdjustableDate firstPeriodStartDate;
@XmlSchemaType(name = "date")
protected XMLGregorianCalendar firstRegularPeriodStartDate;
@XmlSchemaType(name = "date")
protected XMLGregorianCalendar firstCompoundingPeriodEndDate;
@XmlSchemaType(name = "date")
protected XMLGregorianCalendar lastRegularPeriodEndDate;
@XmlSchemaType(name = "token")
protected StubPeriodTypeEnum stubPeriodType;
@XmlElement(required = true)
protected CalculationPeriodFrequency calculationPeriodFrequency;
@XmlAttribute(name = "id", required = true)
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
@XmlID
@XmlSchemaType(name = "ID")
protected String id;
/**
* Gets the value of the effectiveDate property.
*
* @return
* possible object is
* {@link AdjustableDate }
*
*/
public AdjustableDate getEffectiveDate() {
return effectiveDate;
}
/**
* Sets the value of the effectiveDate property.
*
* @param value
* allowed object is
* {@link AdjustableDate }
*
*/
public void setEffectiveDate(AdjustableDate value) {
this.effectiveDate = value;
}
/**
* Gets the value of the relativeEffectiveDate property.
*
* @return
* possible object is
* {@link AdjustedRelativeDateOffset }
*
*/
public AdjustedRelativeDateOffset getRelativeEffectiveDate() {
return relativeEffectiveDate;
}
/**
* Sets the value of the relativeEffectiveDate property.
*
* @param value
* allowed object is
* {@link AdjustedRelativeDateOffset }
*
*/
public void setRelativeEffectiveDate(AdjustedRelativeDateOffset value) {
this.relativeEffectiveDate = value;
}
/**
* Gets the value of the terminationDate property.
*
* @return
* possible object is
* {@link AdjustableDate }
*
*/
public AdjustableDate getTerminationDate() {
return terminationDate;
}
/**
* Sets the value of the terminationDate property.
*
* @param value
* allowed object is
* {@link AdjustableDate }
*
*/
public void setTerminationDate(AdjustableDate value) {
this.terminationDate = value;
}
/**
* Gets the value of the relativeTerminationDate property.
*
* @return
* possible object is
* {@link RelativeDateOffset }
*
*/
public RelativeDateOffset getRelativeTerminationDate() {
return relativeTerminationDate;
}
/**
* Sets the value of the relativeTerminationDate property.
*
* @param value
* allowed object is
* {@link RelativeDateOffset }
*
*/
public void setRelativeTerminationDate(RelativeDateOffset value) {
this.relativeTerminationDate = value;
}
/**
* Gets the value of the calculationPeriodDatesAdjustments property.
*
* @return
* possible object is
* {@link BusinessDayAdjustments }
*
*/
public BusinessDayAdjustments getCalculationPeriodDatesAdjustments() {
return calculationPeriodDatesAdjustments;
}
/**
* Sets the value of the calculationPeriodDatesAdjustments property.
*
* @param value
* allowed object is
* {@link BusinessDayAdjustments }
*
*/
public void setCalculationPeriodDatesAdjustments(BusinessDayAdjustments value) {
this.calculationPeriodDatesAdjustments = value;
}
/**
* Gets the value of the firstPeriodStartDate property.
*
* @return
* possible object is
* {@link AdjustableDate }
*
*/
public AdjustableDate getFirstPeriodStartDate() {
return firstPeriodStartDate;
}
/**
* Sets the value of the firstPeriodStartDate property.
*
* @param value
* allowed object is
* {@link AdjustableDate }
*
*/
public void setFirstPeriodStartDate(AdjustableDate value) {
this.firstPeriodStartDate = value;
}
/**
* Gets the value of the firstRegularPeriodStartDate property.
*
* @return
* possible object is
* {@link XMLGregorianCalendar }
*
*/
public XMLGregorianCalendar getFirstRegularPeriodStartDate() {
return firstRegularPeriodStartDate;
}
/**
* Sets the value of the firstRegularPeriodStartDate property.
*
* @param value
* allowed object is
* {@link XMLGregorianCalendar }
*
*/
public void setFirstRegularPeriodStartDate(XMLGregorianCalendar value) {
this.firstRegularPeriodStartDate = value;
}
/**
* Gets the value of the firstCompoundingPeriodEndDate property.
*
* @return
* possible object is
* {@link XMLGregorianCalendar }
*
*/
public XMLGregorianCalendar getFirstCompoundingPeriodEndDate() {
return firstCompoundingPeriodEndDate;
}
/**
* Sets the value of the firstCompoundingPeriodEndDate property.
*
* @param value
* allowed object is
* {@link XMLGregorianCalendar }
*
*/
public void setFirstCompoundingPeriodEndDate(XMLGregorianCalendar value) {
this.firstCompoundingPeriodEndDate = value;
}
/**
* Gets the value of the lastRegularPeriodEndDate property.
*
* @return
* possible object is
* {@link XMLGregorianCalendar }
*
*/
public XMLGregorianCalendar getLastRegularPeriodEndDate() {
return lastRegularPeriodEndDate;
}
/**
* Sets the value of the lastRegularPeriodEndDate property.
*
* @param value
* allowed object is
* {@link XMLGregorianCalendar }
*
*/
public void setLastRegularPeriodEndDate(XMLGregorianCalendar value) {
this.lastRegularPeriodEndDate = value;
}
/**
* Gets the value of the stubPeriodType property.
*
* @return
* possible object is
* {@link StubPeriodTypeEnum }
*
*/
public StubPeriodTypeEnum getStubPeriodType() {
return stubPeriodType;
}
/**
* Sets the value of the stubPeriodType property.
*
* @param value
* allowed object is
* {@link StubPeriodTypeEnum }
*
*/
public void setStubPeriodType(StubPeriodTypeEnum value) {
this.stubPeriodType = value;
}
/**
* Gets the value of the calculationPeriodFrequency property.
*
* @return
* possible object is
* {@link CalculationPeriodFrequency }
*
*/
public CalculationPeriodFrequency getCalculationPeriodFrequency() {
return calculationPeriodFrequency;
}
/**
* Sets the value of the calculationPeriodFrequency property.
*
* @param value
* allowed object is
* {@link CalculationPeriodFrequency }
*
*/
public void setCalculationPeriodFrequency(CalculationPeriodFrequency value) {
this.calculationPeriodFrequency = 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;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy