Class StrikeSpread
java.lang.Object
net.finmath.smartcontract.product.xml.StrikeSpread
A type for defining a strike spread feature.
Java class for StrikeSpread complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="StrikeSpread">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="upperStrike" type="{http://www.fpml.org/FpML-5/confirmation}OptionStrike"/>
<element name="upperStrikeNumberOfOptions" type="{http://www.fpml.org/FpML-5/confirmation}PositiveDecimal"/>
</sequence>
</restriction>
</complexContent>
</complexType>
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the value of the upperStrike property.Gets the value of the upperStrikeNumberOfOptions property.voidsetUpperStrike(OptionStrike value)Sets the value of the upperStrike property.voidSets the value of the upperStrikeNumberOfOptions property.
-
Field Details
-
upperStrike
-
upperStrikeNumberOfOptions
-
-
Constructor Details
-
StrikeSpread
public StrikeSpread()
-
-
Method Details
-
getUpperStrike
Gets the value of the upperStrike property.- Returns:
- possible object is
OptionStrike
-
setUpperStrike
Sets the value of the upperStrike property.- Parameters:
value- allowed object isOptionStrike
-
getUpperStrikeNumberOfOptions
Gets the value of the upperStrikeNumberOfOptions property.- Returns:
- possible object is
BigDecimal
-
setUpperStrikeNumberOfOptions
Sets the value of the upperStrikeNumberOfOptions property.- Parameters:
value- allowed object isBigDecimal
-