Class RelativePrice
java.lang.Object
net.finmath.smartcontract.product.xml.RelativePrice
A type which represents Pricing relative to a Benchmark.
Java class for RelativePrice complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="RelativePrice"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="spread" type="{http://www.w3.org/2001/XMLSchema}decimal"/> <group ref="{http://www.fpml.org/FpML-5/confirmation}BondEquity.model" maxOccurs="unbounded"/> </sequence> </restriction> </complexContent> </complexType>
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionThe benchmark being referred to; either a bond or equity product.Gets the value of the spread property.void
setSpread
(BigDecimal value) Sets the value of the spread property.
-
Field Details
-
spread
-
bondEquityModel
-
-
Constructor Details
-
RelativePrice
public RelativePrice()
-
-
Method Details
-
getSpread
Gets the value of the spread property.- Returns:
- possible object is
BigDecimal
-
setSpread
Sets the value of the spread property.- Parameters:
value
- allowed object isBigDecimal
-
getBondEquityModel
The benchmark being referred to; either a bond or equity product. Gets the value of the bondEquityModel 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 bondEquityModel property.For example, to add a new item, do as follows:
getBondEquityModel().add(newItem);
Objects of the following type(s) are allowed in the list
Bond
ConvertibleBond
EquityAsset
-