Class BondOption
java.lang.Object
net.finmath.smartcontract.product.xml.Product
net.finmath.smartcontract.product.xml.Option
net.finmath.smartcontract.product.xml.OptionBase
net.finmath.smartcontract.product.xml.OptionBaseExtended
net.finmath.smartcontract.product.xml.BondOption
A Bond Option
Java class for BondOption complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="BondOption">
<complexContent>
<extension base="{http://www.fpml.org/FpML-5/confirmation}OptionBaseExtended">
<sequence>
<element name="strike" type="{http://www.fpml.org/FpML-5/confirmation}BondOptionStrike"/>
<group ref="{http://www.fpml.org/FpML-5/confirmation}BondChoice.model"/>
</sequence>
</extension>
</complexContent>
</complexType>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Bondprotected ConvertibleBondprotected BondOptionStrikeFields inherited from class net.finmath.smartcontract.product.xml.OptionBaseExtended
entitlementCurrency, exercise, exerciseProcedure, feature, notionalAmount, notionalReference, numberOfOptions, optionEntitlement, premium, settlementAmount, settlementCurrency, settlementDate, settlementTypeFields inherited from class net.finmath.smartcontract.product.xml.OptionBase
optionTypeFields inherited from class net.finmath.smartcontract.product.xml.Option
buyerAccountReference, buyerPartyReference, sellerAccountReference, sellerPartyReferenceFields inherited from class net.finmath.smartcontract.product.xml.Product
assetClass, id, primaryAssetClass, productId, productType, secondaryAssetClass -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetBond()A bond instrument referenced by a contractA convertible bond instrument referenced by a contract.Gets the value of the strike property.voidSets the value of the bond property.voidsetConvertibleBond(ConvertibleBond value)Sets the value of the convertibleBond property.voidsetStrike(BondOptionStrike value)Sets the value of the strike property.Methods inherited from class net.finmath.smartcontract.product.xml.OptionBaseExtended
getEntitlementCurrency, getExercise, getExerciseProcedure, getFeature, getNotionalAmount, getNotionalReference, getNumberOfOptions, getOptionEntitlement, getPremium, getSettlementAmount, getSettlementCurrency, getSettlementDate, getSettlementType, setEntitlementCurrency, setExercise, setExerciseProcedure, setFeature, setNotionalAmount, setNotionalReference, setNumberOfOptions, setOptionEntitlement, setPremium, setSettlementAmount, setSettlementCurrency, setSettlementDate, setSettlementTypeMethods inherited from class net.finmath.smartcontract.product.xml.OptionBase
getOptionType, setOptionTypeMethods inherited from class net.finmath.smartcontract.product.xml.Option
getBuyerAccountReference, getBuyerPartyReference, getSellerAccountReference, getSellerPartyReference, setBuyerAccountReference, setBuyerPartyReference, setSellerAccountReference, setSellerPartyReferenceMethods inherited from class net.finmath.smartcontract.product.xml.Product
getAssetClass, getId, getPrimaryAssetClass, getProductId, getProductType, getSecondaryAssetClass, setId, setPrimaryAssetClass
-
Field Details
-
strike
-
bond
-
convertibleBond
-
-
Constructor Details
-
BondOption
public BondOption()
-
-
Method Details
-
getStrike
Gets the value of the strike property.- Returns:
- possible object is
BondOptionStrike
-
setStrike
Sets the value of the strike property.- Parameters:
value- allowed object isBondOptionStrike
-
getBond
A bond instrument referenced by a contract- Returns:
- possible object is
Bond
-
setBond
Sets the value of the bond property.- Parameters:
value- allowed object isBond
-
getConvertibleBond
A convertible bond instrument referenced by a contract.- Returns:
- possible object is
ConvertibleBond
-
setConvertibleBond
Sets the value of the convertibleBond property.- Parameters:
value- allowed object isConvertibleBond
-