net.finmath.smartcontract.product.xml.FloatingRateOption 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.math.BigInteger;
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;
/**
* Represents the accruing floating rate option associated within a
* facility.
*
*
* Java class for FloatingRateOption complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="FloatingRateOption">
* <complexContent>
* <extension base="{http://www.fpml.org/FpML-5/confirmation}FloatingRateOptionBase">
* <sequence>
* <element name="currency" type="{http://www.fpml.org/FpML-5/confirmation}Currency"/>
* <group ref="{http://www.fpml.org/FpML-5/confirmation}Period.model"/>
* <sequence>
* <element name="baseRateLimits" type="{http://www.fpml.org/FpML-5/confirmation}RateLimits" minOccurs="0"/>
* <element name="allInRateLimits" type="{http://www.fpml.org/FpML-5/confirmation}RateLimits" minOccurs="0"/>
* </sequence>
* <element name="borrowerPartyReference" type="{http://www.fpml.org/FpML-5/confirmation}PartyReference" maxOccurs="unbounded" minOccurs="0"/>
* <sequence>
* <element name="drawdownNoticeDays" type="{http://www.w3.org/2001/XMLSchema}nonNegativeInteger" minOccurs="0"/>
* <element name="fxRateSetNoticeDays" type="{http://www.w3.org/2001/XMLSchema}nonNegativeInteger" minOccurs="0"/>
* <element name="rateSetNoticeDays" type="{http://www.w3.org/2001/XMLSchema}nonNegativeInteger" minOccurs="0"/>
* </sequence>
* </sequence>
* </extension>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "FloatingRateOption", propOrder = {
"currency",
"startDate",
"endDate",
"baseRateLimits",
"allInRateLimits",
"borrowerPartyReference",
"drawdownNoticeDays",
"fxRateSetNoticeDays",
"rateSetNoticeDays"
})
public class FloatingRateOption
extends FloatingRateOptionBase
{
@XmlElement(required = true)
protected Currency currency;
@XmlElement(required = true)
@XmlSchemaType(name = "date")
protected XMLGregorianCalendar startDate;
@XmlElement(required = true)
@XmlSchemaType(name = "date")
protected XMLGregorianCalendar endDate;
protected RateLimits baseRateLimits;
protected RateLimits allInRateLimits;
protected List borrowerPartyReference;
@XmlSchemaType(name = "nonNegativeInteger")
protected BigInteger drawdownNoticeDays;
@XmlSchemaType(name = "nonNegativeInteger")
protected BigInteger fxRateSetNoticeDays;
@XmlSchemaType(name = "nonNegativeInteger")
protected BigInteger rateSetNoticeDays;
/**
* Gets the value of the currency property.
*
* @return
* possible object is
* {@link Currency }
*
*/
public Currency getCurrency() {
return currency;
}
/**
* Sets the value of the currency property.
*
* @param value
* allowed object is
* {@link Currency }
*
*/
public void setCurrency(Currency value) {
this.currency = 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 baseRateLimits property.
*
* @return
* possible object is
* {@link RateLimits }
*
*/
public RateLimits getBaseRateLimits() {
return baseRateLimits;
}
/**
* Sets the value of the baseRateLimits property.
*
* @param value
* allowed object is
* {@link RateLimits }
*
*/
public void setBaseRateLimits(RateLimits value) {
this.baseRateLimits = value;
}
/**
* Gets the value of the allInRateLimits property.
*
* @return
* possible object is
* {@link RateLimits }
*
*/
public RateLimits getAllInRateLimits() {
return allInRateLimits;
}
/**
* Sets the value of the allInRateLimits property.
*
* @param value
* allowed object is
* {@link RateLimits }
*
*/
public void setAllInRateLimits(RateLimits value) {
this.allInRateLimits = value;
}
/**
* Gets the value of the borrowerPartyReference 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 borrowerPartyReference property.
*
*
* For example, to add a new item, do as follows:
*
* getBorrowerPartyReference().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link PartyReference }
*
*
*/
public List getBorrowerPartyReference() {
if (borrowerPartyReference == null) {
borrowerPartyReference = new ArrayList();
}
return this.borrowerPartyReference;
}
/**
* Gets the value of the drawdownNoticeDays property.
*
* @return
* possible object is
* {@link BigInteger }
*
*/
public BigInteger getDrawdownNoticeDays() {
return drawdownNoticeDays;
}
/**
* Sets the value of the drawdownNoticeDays property.
*
* @param value
* allowed object is
* {@link BigInteger }
*
*/
public void setDrawdownNoticeDays(BigInteger value) {
this.drawdownNoticeDays = value;
}
/**
* Gets the value of the fxRateSetNoticeDays property.
*
* @return
* possible object is
* {@link BigInteger }
*
*/
public BigInteger getFxRateSetNoticeDays() {
return fxRateSetNoticeDays;
}
/**
* Sets the value of the fxRateSetNoticeDays property.
*
* @param value
* allowed object is
* {@link BigInteger }
*
*/
public void setFxRateSetNoticeDays(BigInteger value) {
this.fxRateSetNoticeDays = value;
}
/**
* Gets the value of the rateSetNoticeDays property.
*
* @return
* possible object is
* {@link BigInteger }
*
*/
public BigInteger getRateSetNoticeDays() {
return rateSetNoticeDays;
}
/**
* Sets the value of the rateSetNoticeDays property.
*
* @param value
* allowed object is
* {@link BigInteger }
*
*/
public void setRateSetNoticeDays(BigInteger value) {
this.rateSetNoticeDays = value;
}
}