Class TradeChangeContent
java.lang.Object
net.finmath.smartcontract.product.xml.TradeChangeContent
A structure describing a non-negotiated trade resulting from a market
event.
Java class for TradeChangeContent complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="TradeChangeContent">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<choice minOccurs="0">
<element name="oldTradeIdentifier" type="{http://www.fpml.org/FpML-5/confirmation}PartyTradeIdentifier"/>
<element name="oldTrade" type="{http://www.fpml.org/FpML-5/confirmation}Trade"/>
</choice>
<element name="trade" type="{http://www.fpml.org/FpML-5/confirmation}Trade"/>
<element name="effectiveDate" type="{http://www.w3.org/2001/XMLSchema}date"/>
<element ref="{http://www.fpml.org/FpML-5/confirmation}changeEvent"/>
<element name="payment" type="{http://www.fpml.org/FpML-5/confirmation}Payment" minOccurs="0"/>
</sequence>
</restriction>
</complexContent>
</complexType>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected jakarta.xml.bind.JAXBElement<? extends ChangeEvent>protected XMLGregorianCalendarprotected Tradeprotected PartyTradeIdentifierprotected Paymentprotected Trade -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionjakarta.xml.bind.JAXBElement<? extends ChangeEvent>Substitution point for types of changeGets the value of the effectiveDate property.Gets the value of the oldTrade property.Gets the value of the oldTradeIdentifier property.Gets the value of the payment property.getTrade()Gets the value of the trade property.voidsetChangeEvent(jakarta.xml.bind.JAXBElement<? extends ChangeEvent> value)Sets the value of the changeEvent property.voidsetEffectiveDate(XMLGregorianCalendar value)Sets the value of the effectiveDate property.voidsetOldTrade(Trade value)Sets the value of the oldTrade property.voidSets the value of the oldTradeIdentifier property.voidsetPayment(Payment value)Sets the value of the payment property.voidSets the value of the trade property.
-
Field Details
-
oldTradeIdentifier
-
oldTrade
-
trade
-
effectiveDate
-
changeEvent
-
payment
-
-
Constructor Details
-
TradeChangeContent
public TradeChangeContent()
-
-
Method Details
-
getOldTradeIdentifier
Gets the value of the oldTradeIdentifier property.- Returns:
- possible object is
PartyTradeIdentifier
-
setOldTradeIdentifier
Sets the value of the oldTradeIdentifier property.- Parameters:
value- allowed object isPartyTradeIdentifier
-
getOldTrade
Gets the value of the oldTrade property.- Returns:
- possible object is
Trade
-
setOldTrade
Sets the value of the oldTrade property.- Parameters:
value- allowed object isTrade
-
getTrade
Gets the value of the trade property.- Returns:
- possible object is
Trade
-
setTrade
Sets the value of the trade property.- Parameters:
value- allowed object isTrade
-
getEffectiveDate
Gets the value of the effectiveDate property.- Returns:
- possible object is
XMLGregorianCalendar
-
setEffectiveDate
Sets the value of the effectiveDate property.- Parameters:
value- allowed object isXMLGregorianCalendar
-
getChangeEvent
Substitution point for types of change- Returns:
- possible object is
JAXBElement<BasketChangeEvent>JAXBElement<CorporateActionEvent>JAXBElement<IndexChange>JAXBElement<ChangeEvent>
-
setChangeEvent
Sets the value of the changeEvent property.- Parameters:
value- allowed object isJAXBElement<BasketChangeEvent>JAXBElement<CorporateActionEvent>JAXBElement<IndexChange>JAXBElement<ChangeEvent>
-
getPayment
Gets the value of the payment property.- Returns:
- possible object is
Payment
-
setPayment
Sets the value of the payment property.- Parameters:
value- allowed object isPayment
-