Class CreditOptionStrike
java.lang.Object
net.finmath.smartcontract.product.xml.CreditOptionStrike
A complex type to specify the strike of a credit swaption or a credit
default swap option.
Java class for CreditOptionStrike complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="CreditOptionStrike"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <choice> <element name="spread" type="{http://www.w3.org/2001/XMLSchema}decimal"/> <element name="price" type="{http://www.w3.org/2001/XMLSchema}decimal"/> <element name="strikeReference" type="{http://www.fpml.org/FpML-5/confirmation}FixedRateReference"/> </choice> </restriction> </complexContent> </complexType>
-
Field Summary
Modifier and TypeFieldDescriptionprotected BigDecimal
protected BigDecimal
protected FixedRateReference
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetPrice()
Gets the value of the price property.Gets the value of the spread property.Gets the value of the strikeReference property.void
setPrice
(BigDecimal value) Sets the value of the price property.void
setSpread
(BigDecimal value) Sets the value of the spread property.void
Sets the value of the strikeReference property.
-
Field Details
-
spread
-
price
-
strikeReference
-
-
Constructor Details
-
CreditOptionStrike
public CreditOptionStrike()
-
-
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
-
getPrice
Gets the value of the price property.- Returns:
- possible object is
BigDecimal
-
setPrice
Sets the value of the price property.- Parameters:
value
- allowed object isBigDecimal
-
getStrikeReference
Gets the value of the strikeReference property.- Returns:
- possible object is
FixedRateReference
-
setStrikeReference
Sets the value of the strikeReference property.- Parameters:
value
- allowed object isFixedRateReference
-