net.finmath.smartcontract.product.xml.InstrumentTradePricing 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;
/**
* A structure describing the price paid for the instrument.
*
*
* Java class for InstrumentTradePricing complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="InstrumentTradePricing">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="quote" type="{http://www.fpml.org/FpML-5/confirmation}BasicQuotation" maxOccurs="unbounded"/>
* <element name="couponStartDate" type="{http://www.w3.org/2001/XMLSchema}date" minOccurs="0"/>
* <element name="exDividendDate" type="{http://www.w3.org/2001/XMLSchema}date" minOccurs="0"/>
* <element name="tradedFlatOfAccrued" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "InstrumentTradePricing", propOrder = {
"quote",
"couponStartDate",
"exDividendDate",
"tradedFlatOfAccrued"
})
public class InstrumentTradePricing {
@XmlElement(required = true)
protected List quote;
@XmlSchemaType(name = "date")
protected XMLGregorianCalendar couponStartDate;
@XmlSchemaType(name = "date")
protected XMLGregorianCalendar exDividendDate;
protected Boolean tradedFlatOfAccrued;
/**
* Gets the value of the quote 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 quote property.
*
*
* For example, to add a new item, do as follows:
*
* getQuote().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link BasicQuotation }
*
*
*/
public List getQuote() {
if (quote == null) {
quote = new ArrayList();
}
return this.quote;
}
/**
* Gets the value of the couponStartDate property.
*
* @return
* possible object is
* {@link XMLGregorianCalendar }
*
*/
public XMLGregorianCalendar getCouponStartDate() {
return couponStartDate;
}
/**
* Sets the value of the couponStartDate property.
*
* @param value
* allowed object is
* {@link XMLGregorianCalendar }
*
*/
public void setCouponStartDate(XMLGregorianCalendar value) {
this.couponStartDate = value;
}
/**
* Gets the value of the exDividendDate property.
*
* @return
* possible object is
* {@link XMLGregorianCalendar }
*
*/
public XMLGregorianCalendar getExDividendDate() {
return exDividendDate;
}
/**
* Sets the value of the exDividendDate property.
*
* @param value
* allowed object is
* {@link XMLGregorianCalendar }
*
*/
public void setExDividendDate(XMLGregorianCalendar value) {
this.exDividendDate = value;
}
/**
* Gets the value of the tradedFlatOfAccrued property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public Boolean isTradedFlatOfAccrued() {
return tradedFlatOfAccrued;
}
/**
* Sets the value of the tradedFlatOfAccrued property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public void setTradedFlatOfAccrued(Boolean value) {
this.tradedFlatOfAccrued = value;
}
}