
org.fpml.fpml_5.confirmation.PaymentCalculationPeriod 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.04.04 at 04:56:21 PM UTC
//
package org.fpml.fpml_5.confirmation;
import java.math.BigDecimal;
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.XmlAttribute;
import javax.xml.bind.annotation.XmlID;
import javax.xml.bind.annotation.XmlIDREF;
import javax.xml.bind.annotation.XmlSchemaType;
import javax.xml.bind.annotation.XmlType;
import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
import javax.xml.datatype.XMLGregorianCalendar;
/**
* A type defining the adjusted payment date and associated calculation period parameters required to calculate the actual or projected payment amount. This type forms part of the cashflow representation of a swap stream.
*
* Java class for PaymentCalculationPeriod complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="PaymentCalculationPeriod">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="unadjustedPaymentDate" type="{http://www.w3.org/2001/XMLSchema}date" minOccurs="0"/>
* <element name="adjustedPaymentDate" type="{http://www.w3.org/2001/XMLSchema}date" minOccurs="0"/>
* <choice>
* <element name="calculationPeriod" type="{http://www.fpml.org/FpML-5/confirmation}CalculationPeriod" maxOccurs="unbounded"/>
* <element name="fixedPaymentAmount" type="{http://www.w3.org/2001/XMLSchema}decimal"/>
* </choice>
* <element name="discountFactor" type="{http://www.w3.org/2001/XMLSchema}decimal" minOccurs="0"/>
* <element name="forecastPaymentAmount" type="{http://www.fpml.org/FpML-5/confirmation}Money" minOccurs="0"/>
* <element name="presentValueAmount" type="{http://www.fpml.org/FpML-5/confirmation}Money" minOccurs="0"/>
* </sequence>
* <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}ID" />
* <attribute name="href" type="{http://www.w3.org/2001/XMLSchema}IDREF" />
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "PaymentCalculationPeriod", propOrder = {
"unadjustedPaymentDate",
"adjustedPaymentDate",
"calculationPeriod",
"fixedPaymentAmount",
"discountFactor",
"forecastPaymentAmount",
"presentValueAmount"
})
public class PaymentCalculationPeriod {
@XmlSchemaType(name = "date")
protected XMLGregorianCalendar unadjustedPaymentDate;
@XmlSchemaType(name = "date")
protected XMLGregorianCalendar adjustedPaymentDate;
protected List calculationPeriod;
protected BigDecimal fixedPaymentAmount;
protected BigDecimal discountFactor;
protected Money forecastPaymentAmount;
protected Money presentValueAmount;
@XmlAttribute(name = "id")
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
@XmlID
@XmlSchemaType(name = "ID")
protected String id;
@XmlAttribute(name = "href")
@XmlIDREF
@XmlSchemaType(name = "IDREF")
protected Object href;
/**
* Gets the value of the unadjustedPaymentDate property.
*
* @return
* possible object is
* {@link XMLGregorianCalendar }
*
*/
public XMLGregorianCalendar getUnadjustedPaymentDate() {
return unadjustedPaymentDate;
}
/**
* Sets the value of the unadjustedPaymentDate property.
*
* @param value
* allowed object is
* {@link XMLGregorianCalendar }
*
*/
public void setUnadjustedPaymentDate(XMLGregorianCalendar value) {
this.unadjustedPaymentDate = value;
}
/**
* Gets the value of the adjustedPaymentDate property.
*
* @return
* possible object is
* {@link XMLGregorianCalendar }
*
*/
public XMLGregorianCalendar getAdjustedPaymentDate() {
return adjustedPaymentDate;
}
/**
* Sets the value of the adjustedPaymentDate property.
*
* @param value
* allowed object is
* {@link XMLGregorianCalendar }
*
*/
public void setAdjustedPaymentDate(XMLGregorianCalendar value) {
this.adjustedPaymentDate = value;
}
/**
* Gets the value of the calculationPeriod 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 calculationPeriod property.
*
*
* For example, to add a new item, do as follows:
*
* getCalculationPeriod().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link CalculationPeriod }
*
*
*/
public List getCalculationPeriod() {
if (calculationPeriod == null) {
calculationPeriod = new ArrayList();
}
return this.calculationPeriod;
}
/**
* Gets the value of the fixedPaymentAmount property.
*
* @return
* possible object is
* {@link BigDecimal }
*
*/
public BigDecimal getFixedPaymentAmount() {
return fixedPaymentAmount;
}
/**
* Sets the value of the fixedPaymentAmount property.
*
* @param value
* allowed object is
* {@link BigDecimal }
*
*/
public void setFixedPaymentAmount(BigDecimal value) {
this.fixedPaymentAmount = value;
}
/**
* Gets the value of the discountFactor property.
*
* @return
* possible object is
* {@link BigDecimal }
*
*/
public BigDecimal getDiscountFactor() {
return discountFactor;
}
/**
* Sets the value of the discountFactor property.
*
* @param value
* allowed object is
* {@link BigDecimal }
*
*/
public void setDiscountFactor(BigDecimal value) {
this.discountFactor = value;
}
/**
* Gets the value of the forecastPaymentAmount property.
*
* @return
* possible object is
* {@link Money }
*
*/
public Money getForecastPaymentAmount() {
return forecastPaymentAmount;
}
/**
* Sets the value of the forecastPaymentAmount property.
*
* @param value
* allowed object is
* {@link Money }
*
*/
public void setForecastPaymentAmount(Money value) {
this.forecastPaymentAmount = value;
}
/**
* Gets the value of the presentValueAmount property.
*
* @return
* possible object is
* {@link Money }
*
*/
public Money getPresentValueAmount() {
return presentValueAmount;
}
/**
* Sets the value of the presentValueAmount property.
*
* @param value
* allowed object is
* {@link Money }
*
*/
public void setPresentValueAmount(Money value) {
this.presentValueAmount = 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;
}
/**
* Gets the value of the href property.
*
* @return
* possible object is
* {@link Object }
*
*/
public Object getHref() {
return href;
}
/**
* Sets the value of the href property.
*
* @param value
* allowed object is
* {@link Object }
*
*/
public void setHref(Object value) {
this.href = value;
}
}