Class TradeMaturity
java.lang.Object
net.finmath.smartcontract.product.xml.TradeMaturity
A structure describing a trade maturing.
Java class for TradeMaturity complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="TradeMaturity"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="tradeIdentifier" type="{http://www.fpml.org/FpML-5/confirmation}PartyTradeIdentifier" maxOccurs="unbounded"/> <element name="date" type="{http://www.w3.org/2001/XMLSchema}date"/> </sequence> </restriction> </complexContent> </complexType>
-
Field Summary
Modifier and TypeFieldDescriptionprotected XMLGregorianCalendar
protected List
<PartyTradeIdentifier> -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetDate()
Gets the value of the date property.Gets the value of the tradeIdentifier property.void
setDate
(XMLGregorianCalendar value) Sets the value of the date property.
-
Field Details
-
tradeIdentifier
-
date
-
-
Constructor Details
-
TradeMaturity
public TradeMaturity()
-
-
Method Details
-
getTradeIdentifier
Gets the value of the tradeIdentifier 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 tradeIdentifier property.For example, to add a new item, do as follows:
getTradeIdentifier().add(newItem);
Objects of the following type(s) are allowed in the list
PartyTradeIdentifier
-
getDate
Gets the value of the date property.- Returns:
- possible object is
XMLGregorianCalendar
-
setDate
Sets the value of the date property.- Parameters:
value
- allowed object isXMLGregorianCalendar
-