Class TradeLegPriceChange
java.lang.Object
net.finmath.smartcontract.product.xml.TradeLegPriceChange
A structure describing a change to the size of a single leg or stream of a
trade.
Java class for TradeLegPriceChange complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="TradeLegPriceChange"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <choice> <element name="priceReference" type="{http://www.fpml.org/FpML-5/confirmation}Reference"/> <element name="instrumentId" type="{http://www.fpml.org/FpML-5/confirmation}InstrumentId" maxOccurs="unbounded" minOccurs="0"/> </choice> <element name="priceChangeAmount" type="{http://www.w3.org/2001/XMLSchema}decimal"/> <element name="newPrice" type="{http://www.w3.org/2001/XMLSchema}decimal"/> </sequence> </restriction> </complexContent> </complexType>
-
Field Summary
Modifier and TypeFieldDescriptionprotected List
<InstrumentId> protected BigDecimal
protected BigDecimal
protected Reference
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGets the value of the instrumentId property.Gets the value of the newPrice property.Gets the value of the priceChangeAmount property.Gets the value of the priceReference property.void
setNewPrice
(BigDecimal value) Sets the value of the newPrice property.void
setPriceChangeAmount
(BigDecimal value) Sets the value of the priceChangeAmount property.void
setPriceReference
(Reference value) Sets the value of the priceReference property.
-
Field Details
-
priceReference
-
instrumentId
-
priceChangeAmount
-
newPrice
-
-
Constructor Details
-
TradeLegPriceChange
public TradeLegPriceChange()
-
-
Method Details
-
getPriceReference
-
setPriceReference
-
getInstrumentId
Gets the value of the instrumentId 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 instrumentId property.For example, to add a new item, do as follows:
getInstrumentId().add(newItem);
Objects of the following type(s) are allowed in the list
InstrumentId
-
getPriceChangeAmount
Gets the value of the priceChangeAmount property.- Returns:
- possible object is
BigDecimal
-
setPriceChangeAmount
Sets the value of the priceChangeAmount property.- Parameters:
value
- allowed object isBigDecimal
-
getNewPrice
Gets the value of the newPrice property.- Returns:
- possible object is
BigDecimal
-
setNewPrice
Sets the value of the newPrice property.- Parameters:
value
- allowed object isBigDecimal
-