net.finmath.smartcontract.product.xml.PeriodicPayment 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.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.XmlSchemaType;
import jakarta.xml.bind.annotation.XmlType;
import jakarta.xml.bind.annotation.adapters.CollapsedStringAdapter;
import jakarta.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
/**
* Java class for PeriodicPayment complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="PeriodicPayment">
* <complexContent>
* <extension base="{http://www.fpml.org/FpML-5/confirmation}PaymentBase">
* <sequence>
* <element name="paymentFrequency" type="{http://www.fpml.org/FpML-5/confirmation}Period" minOccurs="0"/>
* <element name="firstPeriodStartDate" type="{http://www.w3.org/2001/XMLSchema}date" minOccurs="0"/>
* <element name="firstPaymentDate" type="{http://www.w3.org/2001/XMLSchema}date" minOccurs="0"/>
* <element name="lastRegularPaymentDate" type="{http://www.w3.org/2001/XMLSchema}date" minOccurs="0"/>
* <element name="rollConvention" type="{http://www.fpml.org/FpML-5/confirmation}RollConventionEnum" minOccurs="0"/>
* <choice>
* <element name="fixedAmount" type="{http://www.fpml.org/FpML-5/confirmation}Money"/>
* <element name="fixedAmountCalculation" type="{http://www.fpml.org/FpML-5/confirmation}FixedAmountCalculation"/>
* <element name="floatingAmountCalculation" type="{http://www.fpml.org/FpML-5/confirmation}FloatingAmountCalculation"/>
* </choice>
* <element name="adjustedPaymentDates" type="{http://www.fpml.org/FpML-5/confirmation}AdjustedPaymentDates" maxOccurs="unbounded" minOccurs="0"/>
* </sequence>
* </extension>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "PeriodicPayment", propOrder = {
"paymentFrequency",
"firstPeriodStartDate",
"firstPaymentDate",
"lastRegularPaymentDate",
"rollConvention",
"fixedAmount",
"fixedAmountCalculation",
"floatingAmountCalculation",
"adjustedPaymentDates"
})
public class PeriodicPayment
extends PaymentBase
{
protected Period paymentFrequency;
@XmlSchemaType(name = "date")
protected XMLGregorianCalendar firstPeriodStartDate;
@XmlSchemaType(name = "date")
protected XMLGregorianCalendar firstPaymentDate;
@XmlSchemaType(name = "date")
protected XMLGregorianCalendar lastRegularPaymentDate;
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
@XmlSchemaType(name = "token")
protected String rollConvention;
protected Money fixedAmount;
protected FixedAmountCalculation fixedAmountCalculation;
protected FloatingAmountCalculation floatingAmountCalculation;
protected List adjustedPaymentDates;
/**
* Gets the value of the paymentFrequency property.
*
* @return
* possible object is
* {@link Period }
*
*/
public Period getPaymentFrequency() {
return paymentFrequency;
}
/**
* Sets the value of the paymentFrequency property.
*
* @param value
* allowed object is
* {@link Period }
*
*/
public void setPaymentFrequency(Period value) {
this.paymentFrequency = value;
}
/**
* Gets the value of the firstPeriodStartDate property.
*
* @return
* possible object is
* {@link XMLGregorianCalendar }
*
*/
public XMLGregorianCalendar getFirstPeriodStartDate() {
return firstPeriodStartDate;
}
/**
* Sets the value of the firstPeriodStartDate property.
*
* @param value
* allowed object is
* {@link XMLGregorianCalendar }
*
*/
public void setFirstPeriodStartDate(XMLGregorianCalendar value) {
this.firstPeriodStartDate = value;
}
/**
* Gets the value of the firstPaymentDate property.
*
* @return
* possible object is
* {@link XMLGregorianCalendar }
*
*/
public XMLGregorianCalendar getFirstPaymentDate() {
return firstPaymentDate;
}
/**
* Sets the value of the firstPaymentDate property.
*
* @param value
* allowed object is
* {@link XMLGregorianCalendar }
*
*/
public void setFirstPaymentDate(XMLGregorianCalendar value) {
this.firstPaymentDate = value;
}
/**
* Gets the value of the lastRegularPaymentDate property.
*
* @return
* possible object is
* {@link XMLGregorianCalendar }
*
*/
public XMLGregorianCalendar getLastRegularPaymentDate() {
return lastRegularPaymentDate;
}
/**
* Sets the value of the lastRegularPaymentDate property.
*
* @param value
* allowed object is
* {@link XMLGregorianCalendar }
*
*/
public void setLastRegularPaymentDate(XMLGregorianCalendar value) {
this.lastRegularPaymentDate = value;
}
/**
* Gets the value of the rollConvention property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getRollConvention() {
return rollConvention;
}
/**
* Sets the value of the rollConvention property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setRollConvention(String value) {
this.rollConvention = value;
}
/**
* Gets the value of the fixedAmount property.
*
* @return
* possible object is
* {@link Money }
*
*/
public Money getFixedAmount() {
return fixedAmount;
}
/**
* Sets the value of the fixedAmount property.
*
* @param value
* allowed object is
* {@link Money }
*
*/
public void setFixedAmount(Money value) {
this.fixedAmount = value;
}
/**
* Gets the value of the fixedAmountCalculation property.
*
* @return
* possible object is
* {@link FixedAmountCalculation }
*
*/
public FixedAmountCalculation getFixedAmountCalculation() {
return fixedAmountCalculation;
}
/**
* Sets the value of the fixedAmountCalculation property.
*
* @param value
* allowed object is
* {@link FixedAmountCalculation }
*
*/
public void setFixedAmountCalculation(FixedAmountCalculation value) {
this.fixedAmountCalculation = value;
}
/**
* Gets the value of the floatingAmountCalculation property.
*
* @return
* possible object is
* {@link FloatingAmountCalculation }
*
*/
public FloatingAmountCalculation getFloatingAmountCalculation() {
return floatingAmountCalculation;
}
/**
* Sets the value of the floatingAmountCalculation property.
*
* @param value
* allowed object is
* {@link FloatingAmountCalculation }
*
*/
public void setFloatingAmountCalculation(FloatingAmountCalculation value) {
this.floatingAmountCalculation = value;
}
/**
* Gets the value of the adjustedPaymentDates 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 adjustedPaymentDates property.
*
*
* For example, to add a new item, do as follows:
*
* getAdjustedPaymentDates().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link AdjustedPaymentDates }
*
*
*/
public List getAdjustedPaymentDates() {
if (adjustedPaymentDates == null) {
adjustedPaymentDates = new ArrayList();
}
return this.adjustedPaymentDates;
}
}