net.finmath.smartcontract.product.xml.AccruingFeePayment 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.XmlElement;
import jakarta.xml.bind.annotation.XmlSchemaType;
import jakarta.xml.bind.annotation.XmlType;
/**
* An event describing an accruing fee payment made at the facility level.
*
*
* Java class for AccruingFeePayment complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="AccruingFeePayment">
* <complexContent>
* <extension base="{http://www.fpml.org/FpML-5/confirmation}FacilityEvent">
* <sequence>
* <element name="id" type="{http://www.fpml.org/FpML-5/confirmation}AccrualTypeId"/>
* <group ref="{http://www.fpml.org/FpML-5/confirmation}Period.model"/>
* <sequence>
* <element name="amount" type="{http://www.fpml.org/FpML-5/confirmation}MoneyWithParticipantShare"/>
* <sequence minOccurs="0">
* <element name="accrualSchedule" type="{http://www.fpml.org/FpML-5/confirmation}AccrualPeriod" maxOccurs="unbounded" minOccurs="0"/>
* <element name="projection" type="{http://www.fpml.org/FpML-5/confirmation}PaymentProjection" minOccurs="0"/>
* </sequence>
* </sequence>
* </sequence>
* </extension>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "AccruingFeePayment", propOrder = {
"id",
"startDate",
"endDate",
"amount",
"accrualSchedule",
"projection"
})
public class AccruingFeePayment
extends FacilityEvent
{
@XmlElement(required = true)
protected AccrualTypeId id;
@XmlElement(required = true)
@XmlSchemaType(name = "date")
protected XMLGregorianCalendar startDate;
@XmlElement(required = true)
@XmlSchemaType(name = "date")
protected XMLGregorianCalendar endDate;
@XmlElement(required = true)
protected MoneyWithParticipantShare amount;
protected List accrualSchedule;
protected PaymentProjection projection;
/**
* Gets the value of the id property.
*
* @return
* possible object is
* {@link AccrualTypeId }
*
*/
public AccrualTypeId getId() {
return id;
}
/**
* Sets the value of the id property.
*
* @param value
* allowed object is
* {@link AccrualTypeId }
*
*/
public void setId(AccrualTypeId value) {
this.id = value;
}
/**
* Gets the value of the startDate property.
*
* @return
* possible object is
* {@link XMLGregorianCalendar }
*
*/
public XMLGregorianCalendar getStartDate() {
return startDate;
}
/**
* Sets the value of the startDate property.
*
* @param value
* allowed object is
* {@link XMLGregorianCalendar }
*
*/
public void setStartDate(XMLGregorianCalendar value) {
this.startDate = value;
}
/**
* Gets the value of the endDate property.
*
* @return
* possible object is
* {@link XMLGregorianCalendar }
*
*/
public XMLGregorianCalendar getEndDate() {
return endDate;
}
/**
* Sets the value of the endDate property.
*
* @param value
* allowed object is
* {@link XMLGregorianCalendar }
*
*/
public void setEndDate(XMLGregorianCalendar value) {
this.endDate = value;
}
/**
* Gets the value of the amount property.
*
* @return
* possible object is
* {@link MoneyWithParticipantShare }
*
*/
public MoneyWithParticipantShare getAmount() {
return amount;
}
/**
* Sets the value of the amount property.
*
* @param value
* allowed object is
* {@link MoneyWithParticipantShare }
*
*/
public void setAmount(MoneyWithParticipantShare value) {
this.amount = value;
}
/**
* Gets the value of the accrualSchedule 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 accrualSchedule property.
*
*
* For example, to add a new item, do as follows:
*
* getAccrualSchedule().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link AccrualPeriod }
*
*
*/
public List getAccrualSchedule() {
if (accrualSchedule == null) {
accrualSchedule = new ArrayList();
}
return this.accrualSchedule;
}
/**
* Gets the value of the projection property.
*
* @return
* possible object is
* {@link PaymentProjection }
*
*/
public PaymentProjection getProjection() {
return projection;
}
/**
* Sets the value of the projection property.
*
* @param value
* allowed object is
* {@link PaymentProjection }
*
*/
public void setProjection(PaymentProjection value) {
this.projection = value;
}
}