Class InstrumentTradePricing
java.lang.Object
net.finmath.smartcontract.product.xml.InstrumentTradePricing
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>
-
Field Summary
Modifier and TypeFieldDescriptionprotected XMLGregorianCalendar
protected XMLGregorianCalendar
protected List
<BasicQuotation> protected Boolean
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGets the value of the couponStartDate property.Gets the value of the exDividendDate property.getQuote()
Gets the value of the quote property.Gets the value of the tradedFlatOfAccrued property.void
Sets the value of the couponStartDate property.void
Sets the value of the exDividendDate property.void
setTradedFlatOfAccrued
(Boolean value) Sets the value of the tradedFlatOfAccrued property.
-
Field Details
-
quote
-
couponStartDate
-
exDividendDate
-
tradedFlatOfAccrued
-
-
Constructor Details
-
InstrumentTradePricing
public InstrumentTradePricing()
-
-
Method Details
-
getQuote
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
BasicQuotation
-
getCouponStartDate
Gets the value of the couponStartDate property.- Returns:
- possible object is
XMLGregorianCalendar
-
setCouponStartDate
Sets the value of the couponStartDate property.- Parameters:
value
- allowed object isXMLGregorianCalendar
-
getExDividendDate
Gets the value of the exDividendDate property.- Returns:
- possible object is
XMLGregorianCalendar
-
setExDividendDate
Sets the value of the exDividendDate property.- Parameters:
value
- allowed object isXMLGregorianCalendar
-
isTradedFlatOfAccrued
-
setTradedFlatOfAccrued
-