net.finmath.smartcontract.product.xml.CalculationPeriod 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 java.math.BigDecimal;
import java.math.BigInteger;
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.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 in the calculation of a fixed or
* floating rate calculation period amount. This type forms part of cashflows representation of a swap
* stream.
*
*
* Java class for CalculationPeriod complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="CalculationPeriod">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="unadjustedStartDate" type="{http://www.w3.org/2001/XMLSchema}date" minOccurs="0"/>
* <element name="unadjustedEndDate" type="{http://www.w3.org/2001/XMLSchema}date" minOccurs="0"/>
* <element name="adjustedStartDate" type="{http://www.w3.org/2001/XMLSchema}date" minOccurs="0"/>
* <element name="adjustedEndDate" type="{http://www.w3.org/2001/XMLSchema}date" minOccurs="0"/>
* <element name="calculationPeriodNumberOfDays" type="{http://www.w3.org/2001/XMLSchema}positiveInteger" minOccurs="0"/>
* <choice>
* <element name="notionalAmount" type="{http://www.w3.org/2001/XMLSchema}decimal"/>
* <element name="fxLinkedNotionalAmount" type="{http://www.fpml.org/FpML-5/confirmation}FxLinkedNotionalAmount"/>
* </choice>
* <choice>
* <element name="floatingRateDefinition" type="{http://www.fpml.org/FpML-5/confirmation}FloatingRateDefinition"/>
* <element name="fixedRate" type="{http://www.w3.org/2001/XMLSchema}decimal"/>
* </choice>
* <element name="dayCountYearFraction" type="{http://www.w3.org/2001/XMLSchema}decimal" minOccurs="0"/>
* <element name="forecastAmount" type="{http://www.fpml.org/FpML-5/confirmation}Money" minOccurs="0"/>
* <element name="forecastRate" type="{http://www.w3.org/2001/XMLSchema}decimal" minOccurs="0"/>
* </sequence>
* <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}ID" />
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "CalculationPeriod", propOrder = {
"unadjustedStartDate",
"unadjustedEndDate",
"adjustedStartDate",
"adjustedEndDate",
"calculationPeriodNumberOfDays",
"notionalAmount",
"fxLinkedNotionalAmount",
"floatingRateDefinition",
"fixedRate",
"dayCountYearFraction",
"forecastAmount",
"forecastRate"
})
public class CalculationPeriod {
@XmlSchemaType(name = "date")
protected XMLGregorianCalendar unadjustedStartDate;
@XmlSchemaType(name = "date")
protected XMLGregorianCalendar unadjustedEndDate;
@XmlSchemaType(name = "date")
protected XMLGregorianCalendar adjustedStartDate;
@XmlSchemaType(name = "date")
protected XMLGregorianCalendar adjustedEndDate;
@XmlSchemaType(name = "positiveInteger")
protected BigInteger calculationPeriodNumberOfDays;
protected BigDecimal notionalAmount;
protected FxLinkedNotionalAmount fxLinkedNotionalAmount;
protected FloatingRateDefinition floatingRateDefinition;
protected BigDecimal fixedRate;
protected BigDecimal dayCountYearFraction;
protected Money forecastAmount;
protected BigDecimal forecastRate;
@XmlAttribute(name = "id")
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
@XmlID
@XmlSchemaType(name = "ID")
protected String id;
/**
* Gets the value of the unadjustedStartDate property.
*
* @return
* possible object is
* {@link XMLGregorianCalendar }
*
*/
public XMLGregorianCalendar getUnadjustedStartDate() {
return unadjustedStartDate;
}
/**
* Sets the value of the unadjustedStartDate property.
*
* @param value
* allowed object is
* {@link XMLGregorianCalendar }
*
*/
public void setUnadjustedStartDate(XMLGregorianCalendar value) {
this.unadjustedStartDate = value;
}
/**
* Gets the value of the unadjustedEndDate property.
*
* @return
* possible object is
* {@link XMLGregorianCalendar }
*
*/
public XMLGregorianCalendar getUnadjustedEndDate() {
return unadjustedEndDate;
}
/**
* Sets the value of the unadjustedEndDate property.
*
* @param value
* allowed object is
* {@link XMLGregorianCalendar }
*
*/
public void setUnadjustedEndDate(XMLGregorianCalendar value) {
this.unadjustedEndDate = value;
}
/**
* Gets the value of the adjustedStartDate property.
*
* @return
* possible object is
* {@link XMLGregorianCalendar }
*
*/
public XMLGregorianCalendar getAdjustedStartDate() {
return adjustedStartDate;
}
/**
* Sets the value of the adjustedStartDate property.
*
* @param value
* allowed object is
* {@link XMLGregorianCalendar }
*
*/
public void setAdjustedStartDate(XMLGregorianCalendar value) {
this.adjustedStartDate = value;
}
/**
* Gets the value of the adjustedEndDate property.
*
* @return
* possible object is
* {@link XMLGregorianCalendar }
*
*/
public XMLGregorianCalendar getAdjustedEndDate() {
return adjustedEndDate;
}
/**
* Sets the value of the adjustedEndDate property.
*
* @param value
* allowed object is
* {@link XMLGregorianCalendar }
*
*/
public void setAdjustedEndDate(XMLGregorianCalendar value) {
this.adjustedEndDate = value;
}
/**
* Gets the value of the calculationPeriodNumberOfDays property.
*
* @return
* possible object is
* {@link BigInteger }
*
*/
public BigInteger getCalculationPeriodNumberOfDays() {
return calculationPeriodNumberOfDays;
}
/**
* Sets the value of the calculationPeriodNumberOfDays property.
*
* @param value
* allowed object is
* {@link BigInteger }
*
*/
public void setCalculationPeriodNumberOfDays(BigInteger value) {
this.calculationPeriodNumberOfDays = value;
}
/**
* Gets the value of the notionalAmount property.
*
* @return
* possible object is
* {@link BigDecimal }
*
*/
public BigDecimal getNotionalAmount() {
return notionalAmount;
}
/**
* Sets the value of the notionalAmount property.
*
* @param value
* allowed object is
* {@link BigDecimal }
*
*/
public void setNotionalAmount(BigDecimal value) {
this.notionalAmount = value;
}
/**
* Gets the value of the fxLinkedNotionalAmount property.
*
* @return
* possible object is
* {@link FxLinkedNotionalAmount }
*
*/
public FxLinkedNotionalAmount getFxLinkedNotionalAmount() {
return fxLinkedNotionalAmount;
}
/**
* Sets the value of the fxLinkedNotionalAmount property.
*
* @param value
* allowed object is
* {@link FxLinkedNotionalAmount }
*
*/
public void setFxLinkedNotionalAmount(FxLinkedNotionalAmount value) {
this.fxLinkedNotionalAmount = value;
}
/**
* Gets the value of the floatingRateDefinition property.
*
* @return
* possible object is
* {@link FloatingRateDefinition }
*
*/
public FloatingRateDefinition getFloatingRateDefinition() {
return floatingRateDefinition;
}
/**
* Sets the value of the floatingRateDefinition property.
*
* @param value
* allowed object is
* {@link FloatingRateDefinition }
*
*/
public void setFloatingRateDefinition(FloatingRateDefinition value) {
this.floatingRateDefinition = value;
}
/**
* Gets the value of the fixedRate property.
*
* @return
* possible object is
* {@link BigDecimal }
*
*/
public BigDecimal getFixedRate() {
return fixedRate;
}
/**
* Sets the value of the fixedRate property.
*
* @param value
* allowed object is
* {@link BigDecimal }
*
*/
public void setFixedRate(BigDecimal value) {
this.fixedRate = value;
}
/**
* Gets the value of the dayCountYearFraction property.
*
* @return
* possible object is
* {@link BigDecimal }
*
*/
public BigDecimal getDayCountYearFraction() {
return dayCountYearFraction;
}
/**
* Sets the value of the dayCountYearFraction property.
*
* @param value
* allowed object is
* {@link BigDecimal }
*
*/
public void setDayCountYearFraction(BigDecimal value) {
this.dayCountYearFraction = value;
}
/**
* Gets the value of the forecastAmount property.
*
* @return
* possible object is
* {@link Money }
*
*/
public Money getForecastAmount() {
return forecastAmount;
}
/**
* Sets the value of the forecastAmount property.
*
* @param value
* allowed object is
* {@link Money }
*
*/
public void setForecastAmount(Money value) {
this.forecastAmount = value;
}
/**
* Gets the value of the forecastRate property.
*
* @return
* possible object is
* {@link BigDecimal }
*
*/
public BigDecimal getForecastRate() {
return forecastRate;
}
/**
* Sets the value of the forecastRate property.
*
* @param value
* allowed object is
* {@link BigDecimal }
*
*/
public void setForecastRate(BigDecimal value) {
this.forecastRate = 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